Hi You won't be able to do it directly from a SQL database. You need to create a XML file from the database and parse that.... here is an example...
http://www.wiltshire.gov.uk/maps/movemap7.php On Jul 1, 3:48 am, woody2371 <[email protected]> wrote: > 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 atwww.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 inwww.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 [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.
