Because if people drag the map around or the map gets off center because of an info window, it would be nice if when they clicked the reset button on the map control, it would go to the initial center location.
Is there a better way to reset the map while using Mike's method to center it automatically based on markers? On Jun 17, 11:38 am, Ralph Ames <[email protected]> wrote: > >If I use this: map.setCenter(new GLatLng(0,0),0); the map recenters to > >lat 0 and lng 0. > > Yes, initially > > >How do I recenter the map on the original center > >point? I'm using the large control type. > > The reason for using this functionality is to allow the API to > calculate the map center automatically based on the coordinates > of the markers. > > Why would you want to recenter to the "original center"? > > Ralph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
