Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

get current latitude and longitude with mapbox for unity

I'm using mapbox for the first time, I downloaded the SDK for unity and I have to create an application that show the route from the position of the user that use the application (on Android) and a specific point.

So I use the trafficanddirection prefab of mapbox. In the code it ask a specific latitude/longitude value, if I insert my lat/long as a string it show me may position in the map.

for do my application I need tho know my position without insert explicitly it, in the specific my latitude and longitude.

how I can do this?

Comments