dmbfm / unity-ar-gps-location-mapbox-route-sample

Example project showcasing the Navigation feature of the AR+GPS location unity asset, alongside the Mapbox SDK.
MIT License
39 stars 19 forks source link

Use Co-ordinates in place of location name in search box #19

Open Santosh-Goyal opened 8 months ago

Santosh-Goyal commented 8 months ago

Hii... my query is as when we run the project it ask for the location as a query but is their any way to give input in latitude and longitude co-ordinates? like : 65.23947389, 84.3847932??

dmbfm commented 8 months ago

The "Mapbox Routes" component accepts lat/lon coordinats for queries. This sample does not, you will need to modify how it works to use lat/lon coordinates. See: https://docs.unity-ar-gps-location.com/routes/#waypoint

Santosh-Goyal commented 8 months ago

I have already try changing it but its not accepting the lat/lon as input I guess I have to change a lot of things in scripts can you Suggest something that can help me on this and I will not mess the entire thing accidently...