본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox not displaying Google map (but only sometimes!)

  • 6 답장
  • 4 이 문제를 만남
  • 1 보기
  • 최종 답변자: FredMcD

more options

On my website (remotely hosted) there is a page (https://www.mediterraneangardeningfrance.org/gdVisit.htm) which lists gardens in the South of France that can be visited. At the top of the page is a Google map which shows the location of these gardens. On one of my machines (Win7 Home / 64), the map will not display in Firefox (58.0.2/64bit) but it does display in IE (on the same machine). The page will also display correctly on:

iphone/Safari Android phone/Chrome Win10 laptop/Edge and Firefox Win7 laptop/Firefox

What's weird is that the page will display correctly in Firefox on the problem machine if I use the source version of the page which is kept on the same machine rather than the live one on the website - see the enclosed image (remote site on the left, local version on the right). The two versions are identical as I have done tests after immediately uploading the page.

I'm really scratching my head on this one. Any ideas?

On my website (remotely hosted) there is a page (https://www.mediterraneangardeningfrance.org/gdVisit.htm) which lists gardens in the South of France that can be visited. At the top of the page is a Google map which shows the location of these gardens. On one of my machines (Win7 Home / 64), the map will not display in Firefox (58.0.2/64bit) but it does display in IE (on the same machine). The page will also display correctly on: iphone/Safari Android phone/Chrome Win10 laptop/Edge and Firefox Win7 laptop/Firefox What's weird is that the page will display correctly in Firefox on the problem machine if I use the source version of the page which is kept on the same machine rather than the live one on the website - see the enclosed image (remote site on the left, local version on the right). The two versions are identical as I have done tests after immediately uploading the page. I'm really scratching my head on this one. Any ideas?

선택된 해결법

I have now got this sorted. Calling Google maps requires the following script:

<script src="http://maps.google.com/maps/api/js?sensor=false"></script>

This worked fine until the site became protected by SSL which requires all links on the page to be https. Changing the line calling Google maps to

<script src="https://maps.google.com/maps/api/js?sensor=false"></script>

fixes the problem.

Thanks again to Fred for turning the light on in my brain.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (6)

more options

Sorry, the image didn't get uploaded. Here it is.

more options

Make sure you are not blocking content.

Start Firefox in Safe Mode {web link} by holding down the <Shift> (Mac=Options) key, and then starting Firefox.

A small dialog should appear. Click Start In Safe Mode (not Refresh). Is the problem still there?

more options

Hi Fred,

That seems to have done the trick. I started FF in Safe Mode and the problem went away. I restarted FF in normal mode and it's fine now.

I'd like to understand why the problem arose in the first place. The page in question was re-developed a few weeks ago and in testing there weren't any problems with the map. So, I've done something in the meantime but have no idea what it might be.

more options

Further to my earlier reply, the problem seems to be https. Since the page was redone a few weeks ago, the site has had SSL added to it. If the URL is preceded by https, then the map doesn't display but does display when the prefix is not there.

more options

선택된 해결법

I have now got this sorted. Calling Google maps requires the following script:

<script src="http://maps.google.com/maps/api/js?sensor=false"></script>

This worked fine until the site became protected by SSL which requires all links on the page to be https. Changing the line calling Google maps to

<script src="https://maps.google.com/maps/api/js?sensor=false"></script>

fixes the problem.

Thanks again to Fred for turning the light on in my brain.

more options

That was very good work. Well done. Please flag your last post as Solved Problem so others will know.