Topic: Zoom in on a point

Iis there a way to zoom in on a specific point on the map? By default I can only zoom in on the center of the map, so the marker I want to see disappears if it's not centered.

Re: Zoom in on a point

Hello.

OnlineMapsControlBase.ZoomOnPoint
http://infinity-code.com/doxygen/online … da8af72ca4

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Zoom in on a point

Alex Vertax wrote:

Hello.

OnlineMapsControlBase.ZoomOnPoint
http://infinity-code.com/doxygen/online … da8af72ca4

Nice. Is there a way to do this based on a world space point? I'm developing a VR project and the map is in a 3D space.
I tried to get the screen point based on the world point but it doesn't work.

Re: Zoom in on a point

There is no such method.
You need to convert the world position to the screen position (Camera.WorldToScreenPoint).
Video:
https://www.dropbox.com/s/i1dr4axstk3zj … 6.mp4?dl=0

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.