Locate Button Dissapears

951
4
Jump to solution
04-26-2017 09:06 AM
jaykapalczynski
Frequent Contributor

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?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

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.

View solution in original post

4 Replies
jaykapalczynski
Frequent Contributor

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

RobertScheitlin__GISP
MVP Emeritus

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.

jaykapalczynski
Frequent Contributor

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?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Jay,

   If the browser is aware of the GPS then yes (this sometimes require third party software).

0 Kudos