Topic: Best way to change lat/lng and zoom by own script
Seems to be a very basic question, but not obviously to me. I want to change the latitude, longitude and zoom via my own script. What is the easiest way to do that?
Thank you!
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → Best way to change lat/lng and zoom by own script
Seems to be a very basic question, but not obviously to me. I want to change the latitude, longitude and zoom via my own script. What is the easiest way to do that?
Thank you!
Hello.
OnlineMaps.SetPosition
OnlineMaps.SetPositionAndZoom
OnlineMaps.position
OnlineMaps.zoom
http://infinity-code.com/doxygen/online … eMaps.html
Perfect, thank you!
Another question: There is a label which is shown at left button in my case. How can I change the position of the label for custom Vector2 position in VR?
Should I change the code from OnlineMaps.cs to show/hide a GameObject?
Hello.
You can intercept the drawing of tooltips, and draw your own tooltips.
For example:
http://infinity-code.com/atlas/online-m … ample.html
http://infinity-code.com/atlas/online-m … ample.html
What GameObjects you want to show / hide?
Please explain this in more detail.
Infinity Code Forum → Online Maps Help → Best way to change lat/lng and zoom by own script
Powered by PunBB, supported by Informer Technologies, Inc.