I have an app that I wan the Locate Button in.
I have to code there, but when I refresh my screen the Locate Button FLASHES for a second and then dissapears.
Any thoughts?
Jay,
The locate button has a dependency on your app using the https protocol. If you app is not running in https the button will not show.
If the browser is aware of the GPS then yes (this sometimes require third party software).
Dang that was it...thanks....
I have one more question sort of unrelated and might just post in another post...
I have vehicle Laptops that have GPS...Can I tie this into the vehicles GPS...not on a phone?
I have a BasemapToggle, HomeButton and Search written in the same fashion and same location in the HTML, JS, and CSS files...Its just the LocateButton that dissapears
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.