logo       

Re: Is there an onMapMove event?: msg#03286

GoogleMapsAPI

Subject: Re: Is there an onMapMove event?


On Jul 31, 11:14 pm, CaseyE3100 <casey_eyr...@xxxxxxxxx> wrote:
> Is there an onMapMove or onMapMoved event or anything like that that I
> can use to detect when the user is moving/has moved the map?
>
> I know that I can have a timer constantly checking the map.getbounds()
> for changes, but I was wondering if there was an easier way to do this.

http://code.google.com/apis/maps/documentation/reference.html#GMap2.moveend

Note that the move events fire when the map moves itself too, for
example when an infoWindow is opened.

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

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise