- Home /
Question by
cristalisation314 · Jan 11, 2021 at 02:14 PM ·
maplocationgps
Mapbox AR : Set map location in code
For my project, I used the Mapbox World-scale AR example, therefore I don't want to use the android device location to set the map location. I have an external GPS which data is read by a script in Unity / C#, but unfortunately I didn't find any way to use those values to set the Mapbox map location from the code.
First thing I tried was to change the values of Input.location.lastData
but I can't set them since there are just getters.
Do someone is an idea of what I can try to achieve this?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613023104im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Need some advices for GPS on an android app 0 Answers
Ask for Location permission at the start of the App 2 Answers
Location Service on iOS 1 Answer
Get Android devices current country location 0 Answers
Length between GPS-locations 1 Answer