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?
Have you seen these examples? http://www.geocodezip.com/geoxml3_test/v3_collection-map2e.html http://www.geocodezip.com/geoxml3_test/votemap_sidebar.html I use a version of Mike Williams' epoly library that I ported to v3. -- Larrry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.