Add ray casting on maps