Thank you for the hint. I'll look further into it. As i wrote i'm a bit newbie fiddleing with maps, polygons and coordinates
Rgds Roger 2011/10/3 xelawho <xela...@gmail.com> > > Is this possible? If so: Can somebody give me a link on where do dig > > deeper into this. > > definitely possible, and there may be someone who has done it already, > but I haven't seen it. > > but it shouldn't be too hard to put together your own app, by cobbling > together the various bits from the examples: > > http://code.google.com/apis/maps/documentation/javascript/examples/index.html > > here's how I'd start: > > - a click listener that collects clicked points on the map, pushes > them onto an array and then makes a polygon out of them (and then you > have to decide how to "close" the polygon) > > - loop through the markers checking if each one is within the > boundaries of the polygon. this may be slightly trickier because the > only way the API can really do this is with rectangles, but assuming > you want the polygon to be whatever shape the user decides, there are > plenty of other point-in-polygon scripts out there. Searching this > group will lead to various posts on related topics. > > -- > 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-v3@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. > > -- ========================= Roger Waara -- 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-v3@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.