Monday, May 10, 2010

Re: broke the example

> LINK
> Broken:  This is just the map draw portion of phpsqlajax_v3.html.http://www.brooklynbridge.net/downloadUrl2.html

See
http://javascript.about.com/library/blwrite.htm
in particular
"Any document.write statement that runs after the page finishes
loading will create a new page and overwrite all of the content of the
current page."

Your use of document.write in your load() function destroys your page.
There is no longer a div for the map.

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate