ebidel / geo-location

Web component element for the Geolocation API
https://webcomponents.org/element/ebidel/geo-location
86 stars 25 forks source link

Firefox support #31

Open jifalops opened 6 years ago

jifalops commented 6 years ago

I'm getting the following error at https://www.webcomponents.org/element/ebidel/geo-location and the demo page after I click "share location" in the Firefox permission dialog.

image

ebidel commented 6 years ago

@FluorescentHallucinogen want to look into this?

FluorescentHallucinogen commented 6 years ago

@ebidel I'll take a look.

FluorescentHallucinogen commented 6 years ago

@jifalops What version of Firefox did you use? Just checked on the latest stable and nightly versions of Firefox and could not reproduce this error. Seems the problem is in Firefox, not in <geo-location> web component. On devices that do not have GPS, Firefox gathers information about nearby wireless access points and IP address, and sends this information to the default geolocation service provider, Google Location Services, to get an estimate of location. Was Wi-Fi turned on?

jifalops commented 6 years ago

The above image was from Firefox 51.0.1 on Linux Mint 17. After updating to Firefox 55.0.2 geo-location is still not working, but I'm not sure what the error is. Here is my console output.

image