Movement limit of user


is it possible to limit movement of the user position (camera) to some area? I mean if we want to limit the user to just one country and not to be able to go to the other side of the globe?

thank you,

Hi Martin,

You can limit the camera movements. For instance, you can set the maximumZoomFactor to clamp the camera position so that the user can’t zoom too far from the country of interest.