搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Geolocation is not working in firefox. When I try to share location it does not work with the map but works well in other browsers.

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 alokstha1

more options

Hi there,

I figured out that google has made map api to work in SSL sites, on https:// sites. Geolocation is working fine in other browsers for https:// sites, but it is not working in firefox. I'm trying google developer map page in firefox https://developers.google.com/maps/documentation/javascript/examples/map-geolocation. This is not working in firefox. it gives me the error saying 'Error: The Geolocation service failed.'.

please have a look in to this issue.

Thanks.

Hi there, I figured out that google has made map api to work in SSL sites, on https:// sites. Geolocation is working fine in other browsers for https:// sites, but it is not working in firefox. I'm trying google developer map page in firefox https://developers.google.com/maps/documentation/javascript/examples/map-geolocation. This is not working in firefox. it gives me the error saying 'Error: The Geolocation service failed.'. please have a look in to this issue. Thanks.

所有回覆 (4)

more options

I tested in Firefox 48 on Windows 7 and it worked normally. Left side of screenshot is the permission prompt -- do you get the prompt? -- and right side is the detection several seconds later.

more options

Thank you for the support. I've been using the older version of firefox. May be this is the reason goelocation not working.

more options
more options

Yes, it is working now. I figured out this. It was browser version. And working fine now.

Thank you