> 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.