On Nov 15, 10:00 am, PhilR8 <
phi...@gmail.com> wrote:
> What I'm looking to do is: if the polygon is clicked, all markers in
> the polygon become visible.
>
> On Nov 12, 6:03 pm, "
geocode...@gmail.com" <
geocode...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > On Nov 12, 12:14 pm, PhilR8 <
phi...@gmail.com> wrote:
>
> > > Attempting to recreate functionality in v3 that I somehow got to work
> > > in my v2 map: basically, clicking on a polygon would show all markers
> > > located within that polygon.
>
> > > I've been using this point-in-polygon code:
>
> > >
https://github.com/tparkin/Google-Maps-Point-in-Polygon
>
> > > and have come up with this map:
>
> > >
http://pages.towson.edu/preese/campusmapv3/test/two_states_click.html
>
> > > Right now, if you click on Alabama, the point for Arkansas will become
> > > visible. If you click on Arkansas, it'll throw up an error. What I
> > > want is when Arkansas is clicked, the Arkansas marker becomes visible,
> > > and when Alabama is clicked, the marker for Alabama becomes visible.
>
> > > The script from github doesn't have an example so I'm fumbling my way
> > > through this. Any thoughts?
>