On Mar 25, 8:41 pm, "[email protected]" <[email protected]>
wrote:
> On Mar 25, 8:28 pm, Joey <[email protected]> wrote:
>
> > Yes, I've seen Mr. Williams' tutorial. While I have found it to be
> > very useful and interesting, I still can't seem to find out how to do
> > this. Is it possible that I can have the polygons visible on a
> > particular zoom level and when a polygon is clicked on it zooms/
> > centers to its bounds and on that particular zoom level the polygon
> > disappears
>
> Yes (wasn't that what I suggested you do?)
>
> > and the underlying markers are visible for that particular poly?
>
> You might want to load the "underlying markers" on demand or use the
> markermanager depending on how many there are (more thatn about 200
> and some browsers (IE) get sluggish).  You can load them and not
> display them.

Here is an example (reworked from a google marker manager
example:http://www.geocodezip.com/google_northamerica_officesJ.asp

That does something similar to what I think you are trying to do
(without the polygons).

  -- Larry

>
>   -- Larry
>
>
>
> > On Mar 25, 11:11 pm, "[email protected]" <[email protected]>
> > wrote:
>
> > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to