On Jan 30, 4:08 am, Shan <[email protected]> wrote: > Hi, > > Here is the example > > http://www.4squareoffers.com/others/a3.php > > I need to get the center or bounds of the map when it is moved from > the Palo Alto to Fermont > > Is it possible?
Yes. Did you read Andrew's post? The code on the example you posted gets the current bounds of the map: var bounds = map.getBounds(); That is a straight copy of one of Google's examples. Where is your map that you are trying to get the center and bounds "when it is moved from the Palo Alto to Fermont" [sic]? -- Larry > > On Jan 30, 3:42 pm, Andrew Leach <[email protected]> > wrote: > > > On Jan 30, 8:30 am, Shan <[email protected]> wrote: > > > > How to get the bounds or center of the map when it moved to > > > left ,right top etc., > > > > Suppose I am looking the map with center (40.1 N,-78.05 ) and when I > > > move the map with center to any location near to it? > > > Have you looked in the > > documentation?http://code.google.com/apis/maps/documentation/reference.html > > > > How to get the center > > > Search that page for getCenter > > > > or bounds > > > Search that page for getBounds > > > > and how to reload the results? > > > No idea how you're getting results at the > > moment.http://groups.google.com/group/google-maps-api/web/why-including-a-li...... -- 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.
