Topic: How can I get your current location

How can I get your current location

Re: 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/

Kind Regards,
Infinity Code Team.

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

Re: How can I get your current location

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