On Mar 25, 7:57 pm, Joey <[email protected]> wrote: > The locations will be within the XML file as well, I was just > wondering how I would go about extracting that data and applying it to > the concept above...
Have you seen Mike Williams' tutorial? http://econym.org.uk/gmap/ > > On Mar 25, 10:45 pm, "[email protected]" <[email protected]> > wrote: > > > On Mar 25, 7:30 pm, Joey <[email protected]> wrote: > > > > I'm still stuck on the polys. As you can see, I've figured out how to > > > generate the polygons that I need. Now I need to make it so that: > > > > 1. When a particular county is clicked the polygons are removed, the > > > map zooms and centers on that particular county, and the locations > > > within that county show up as markers on the map. > > > I don't see any code on your page to do that. > > > > 2. When a user wants to view another county they can click a button > > > and it returns them to the original map with all the counties > > > highlighted. > > > > Eventually I'm going to make it so that my XML file is generated by > > > PHP from mySQL, but that is relatively easy as I have done that in the > > > past. > > > > If anyone can help me with this, or even a segment of it, I would be > > > sooooo grateful! Even a hint would help! > > > Why don't you start by doing a map center and zoom on the bounds of > > the polygon and removing it (or them) instead of opening the > > infoWindow? > > > I don't see any data to display when you want "the locations within > > that county show up as markers on the map". You need to determine how > > you are going to load that and do that as well. > > > -- Larry > > > > Here is what I have so far:http://motorizedmedia.com/GOOGLEMAP/ > > > > Thanks, > > > > Joey --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
