Topic: How can I get your current location
How can I get your current location
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → How can I get your current location
How can I get your current location
Hello.
Vector2 position = OnlineMaps.instance.position; // X - Longitude, Y - Latitude.
Or if you need high accuracy:
double lng, lat;
OnlineMaps.instance.GetPosition (out lng, out lat);
Examples:
http://infinity-code.com/atlas/online-maps/index.html
API Reference:
http://infinity-code.com/doxygen/online-maps/
OnlineMaps.instance.SetPosition(position.x, position.y)
I used the code but I could not get my location position on the map
I want to get my location from the map I am as a person and not the middle of the screen
Infinity Code Forum → Online Maps Help → How can I get your current location
Powered by PunBB, supported by Informer Technologies, Inc.