modifying html5 IP Geolocation provider #4933
-
We have developed a WPF - Windows Presentation Foundation Desktop Application for Terriajs We have an internal api just send GET request to {"latitude":41.076711652269488,"longitude":29.002793221387442,"isSuccess":true,"message":null} That I want to geolocation button to work |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @tech-maven-geospatial. That should be the only file you need to modify. Replace |
Beta Was this translation helpful? Give feedback.
Hi @tech-maven-geospatial. That should be the only file you need to modify. Replace
navigator.geolocation
API calls with your own GET requests (terriajs'loadJson
file/function could be convenient).