[Google Maps API v2] Map not centering if div is set to none on first load.
Hi,
I have an issue regarding the map not centering when the div container
of the iframe is initially set to none.
<div id="map" style="display:none;">
<iframe ....</iframe>
</div>
when changing the style to block, the marker is not centered on map.
this is the link..
http://lcmchurches01.cimarketing.biz/about/contact#
click on the "View Map and Directions »" under Holy Trinity Mowbray so
that the div will be visible.
the marker will be located at the top left position.
Thanks,
Kenn
--
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