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.
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → 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.
Hello.
OnlineMapsControlBase.ZoomOnPoint
http://infinity-code.com/doxygen/online … da8af72ca4
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.
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
Infinity Code Forum → Online Maps Help → Zoom in on a point
Powered by PunBB, supported by Informer Technologies, Inc.