I have an application with a GMap and a Sidebar table. Each row links to a particular Lat/Long coordinate on the map. (Very similar to Google Directions)
When I click on a row, another Div is displayed (it was hidden using CSS by default) at Top-Right corner with high zoom level to recenter the map to the respective Lat/Long coordinate. I'm calling the following functions on "onClick" function of the row. map1.setZoom(16); map1.setCenter(point[i]); [Also tried panTo(point[i]);] map1.addOverlay(marker[i]); Problem1: The map is not centered at the given point but nearby some point. Problem2: I notice that the pop-up Div area shows map partially and rest part remains gray. On dragging the map also the map remains partial and gray area remains remains. An observation: Keeping the Div opened, if I open the Firebug plug-in (installed on the firefox), close the plug-in and then click on the sidebar, the Map on the pop-up Div centers very well (as desired). Any pointers to resolve this problem. Thanks, Piyush Gupta www.RouteGuru.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
