Google Blogoscoped

Forum

Google Maps Embed Causing Javascript Errors

Synergy [PersonRank 0]

Wednesday, January 21, 2009
15 years ago3,441 views

I've been trying to figure out why the code generated from Google Maps is causing IE and Firefox errors. If you go to Google Maps, type an address, click on "Link" and copy the code to paste into a web page such as this:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http:// maps.google.ca/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=1+King+street+west,+Toronto&amp;sll=49.891235,-97.15369&amp;sspn=26.240236,78.75&amp;ie=UTF8&amp;ll=43.657192,-79.373732&amp;spn=0.007173,0.019226&amp;z=14&amp;iwloc=addr&amp;output=embed&amp;s=AARTsJouwTb7Xuq1reVFfkaDh7erFwG28g"></iframe><br /><small><a href="http:// maps.google.ca/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=1+King+street+west,+Toronto&amp;sll=49.891235,-97.15369&amp;sspn=26.240236,78.75&amp;ie=UTF8&amp;ll=43.657192,-79.373732&amp;spn=0.007173,0.019226&amp;z=14&amp;iwloc=addr" style="color:#0000FF;text-align:left">View Larger Map</a></small>

The map does display but causes multiple errors showing in the status bar. Anyone know what's causing the problem? Thanks

[Spaced added to URLs to prevent linking – Tony]

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!