Attaching a listener to map draggin
Hey,
I'm creating a map to pull locations from my SQL database and display
them to a user searching locations. At the moment I've managed to get
most of it working, however have come across an issue:
I would like to attach an event listener to the map drag function (E.G
dragging the map location by holding in the left mouse button and
dragging), but can't find a way to reference it anywhere. What would
be the best way to do this?
The end result would be updating the search results dynamically
depending on the area onscreen. E.G you drag the map to sit over New
York City, and it shows all the results that would be in that section
of New York City.
The map can be accessed at www.nihil-ad-rem.net/Skeleton/
Click on Map Test
Enter Breaden Dr, Cooloongup (The only current area where my SQL
database has markers) to see how its currently working
The javascript is located in www.nihil-ad-rem.net/Skeleton/scripts/map.js
Thanks for any help
Tom
--
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@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home