Topic: Center the map at the user's location
Hello,
Is there a function which I can call to center the 2D map on the current user's location?
Location Services allows me to automatically center map after some period of time, which is not what I need in my case.
Currently, I'm using a custom script for checking user's location and then centering the map using:
OnlineMaps.instance.SetPosition(longitude, latitude);
Is there another way (function) designed by Online Maps for centering the map on the user location?
Or if using SetPosition is a right way, how can I get user's location from Online Maps Location Services (instead of using a custom script for it)?
Thank you!