[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Embedded Google Map doesn't load in IE

Posted on 2011-10-05
6
Medium Priority
?
457 Views
Last Modified: 2012-05-12
I have an embedded Google map at www.mauitradewinds.com/location.htm,  and it has stopped loading the indicator showing our location, under IE. It still works under Firefox and Safari.  The map worked under IE until today, when I made some changes unrelated to the map code.  However, once it stopped working, it didn't help to undo those changes.  Please advise how to get it working again under IE.
0
Comment
Question by:ddantes
  • 3
  • 3
6 Comments
 

Author Comment

by:ddantes
ID: 36922736
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)
Timestamp: Thu, 6 Oct 2011 07:07:55 UTC


Message: Unspecified error.
Line: 2093
Char: 1
Code: 0
URI: http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/371b/maps2/%7Bmain,mod_util,mod_act,mod_act_s,mod_actbr,mod_adf,mod_appiw,mod_mg,mod_mssvt,mod_rst,mod_strr%7D.js


Message: Object doesn't support this property or method
Line: 228
Char: 65
Code: 0
URI: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=4320+Une+Place,+Haiku-Pauwela,+HI&aq=0&sll=37.0625,-95.677068&sspn=40.052282,88.769531&vpsrc=6&ie=UTF8&hq=&hnear=4320+Une+Pl,+Hawaii+96708&ll=20.821592,-156.321716&spn=0.616127,0.878906&z=10&iwloc=A&output=embed


Message: Object doesn't support this property or method
Line: 218
Char: 11028
Code: 0
URI: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=4320+Une+Place,+Haiku-Pauwela,+HI&aq=0&sll=37.0625,-95.677068&sspn=40.052282,88.769531&vpsrc=6&ie=UTF8&hq=&hnear=4320+Une+Pl,+Hawaii+96708&ll=20.821592,-156.321716&spn=0.616127,0.878906&z=10&iwloc=A&output=embed

Further details:  Here is the error which IE reports:
Message: Object doesn't support this property or method
Line: 2505
Char: 9
Code: 0
URI: http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/371b/maps2/%7Bmain,mod_util,mod_act,mod_act_s,mod_actbr,mod_adf,mod_appiw,mod_mg,mod_mssvt,mod_rst,mod_strr%7D.js

and: clearing the browsing history stops this from happening -- i.e., the map plugin works -- but only once, and then the error appears again.
0
 
LVL 14

Expert Comment

by:quizwedge
ID: 36922836
http://www.mauitradewinds.com/location.htm is working for me in the following browsers

Chrome 14.0.835.202 (Mac OS X)
Safari 5.1 (Mac OS X)
Firefox 6.0 (Mac OS X)
Internet Explorer 8 (Windows XP)
Safari 5.0 (Windows XP)
Chrome 14.0.835.202 m (Windows XP)
Opera 11.10 (Windows XP)
Firefox 3.6.20 (Windows XP)

You may want to check out http://browsershots.org/ to see how it comes up on other computers.
0
 

Author Comment

by:ddantes
ID: 36922857
Thank you for all your testing!  So I guess the problem is with my browser, and not the web page.  I have to delete my browsing history every time I view the map, or the error occurs.  This happens on a desktop and a laptop.  Any idea how to remedy that?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 14

Expert Comment

by:quizwedge
ID: 36923104
I missed the part about it working once and then not working again. I opened the page up in IE 8 again and got the error. Refreshing the page would sometimes give the error and sometimes not give the error.

So, I did some digging and it sounds like it's a common problem, but most of the people having the problem were posting back around 2009. I did find http://www.codingforums.com/showthread.php?t=151019 which might offer the solution. It's possible that you need to rename something.

This page points to a problem with IE, but I can't imagine that IE still doesn't support the version of JavaScript required http://www.sitepoint.com/forums/showthread.php?560983-Javascript-error-in-IE7-when-embedding-google-maps

If you run the site locally, does it work in IE?
0
 
LVL 14

Accepted Solution

by:
quizwedge earned 1000 total points
ID: 36923150
Doing even more digging, it appears to be an issue with Google and people are waiting on a fix. The second link below offers a solution. I don't know anything about the solution, but it may work for you.

http://www.google.com/support/forum/p/maps/thread?tid=5d5463354c3a1d1e&hl=en
http://www.mykeblack.com/blog/myke/google-services/google_maps_marker_missing_in_ie9
http://www.google.pl/support/forum/p/maps/thread?tid=5d5463354c3a1d1e&hl=en
0
 

Author Comment

by:ddantes
ID: 36926308
Thank you for all your research.  I expect Google will develop a fix for this.  I tried the Aardvark map, and I would probably use that if Google doesn't solve the problem.  With that third-party solution, the text which is supposed to be associated with a custom icon doesn't display under any browser, and the map depends on the Aardvark server.   In the meanwhile, I'm thinking of leaving the existing map code on my page.  Unless a visitor is using IE, and visits the map twice, they are most likely to see a working display.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question