I developed a proedure that reads data from database of addresses and show them on map (geocode addresses). At the end of procedure a use the follwing istructions to center a zoom the map (markers):
GMap.PostRenderScript = GMap.CenterAndZoomToBounds(GMap.Overlays.Bounds.Center, GMap.Overlays.Bounds)
GMap.PostRenderScript += GMap.ZoomOut()
If I put my GoogleMap control (GMap) inside a TabContainer (AJAX ASP.NET control - VS2008), the istructions above don't work, in fact the position shown is incorrect! If I put my GoogleMap control outside TabContainer, it all ok !
Can someone help me ?
Regards
Stefano