On Jan 30, 9:29 am, "[email protected]" <[email protected]>
wrote:
> Hiya,
>
> I'm having problems displaying a Google map correctly in a modal
> window using ASP.net.
>
> Everything works fine when the map is not in the modal panel.
>
> The xml is being processed correctly and the markers are pushed onto
> the map. However the map isn't displayed correctly in the div element,
> only the bottom right of the map is being displayed in the top right
> corner of the div. Also the map.setCenter(bounds.getCenter()) isn't
> either working. As I mentioned previously everything is alright when
> I'm not using a modal window.

Sounds like a problem with the map object thinking the size of the div
is zero.  Try using size option in the GMap2 constructor or calling
GMap2.checkResize() after the map is displayed.

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

Reply via email to