Tuesday, April 19, 2011

[Google Maps API v2] Re: Google map outside frame

> Link to the map:http://www.osterlenportalen.se/bo

Your HTML is invalid, like two pages mashed together. You've too many
<html>, <head> and <body> tags

Your script runs inline inside a table, this will cause zero-sized map
as the script runs before the table has finished rendering. Best to
put your map initialising into a function to be called when page load
is complete, or at least move the script to the end of the <body>.

There is a script error relating to an HTML element with id=side_bar
that you haven't got.

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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