hi Dominic Mapstraction would need some small tweaks to accomplish this. Currently you can register a ''click'' event handler using addEventListener. But the call back function only receives the lat/long of the location clicked -- not a reference to the marker if it exists. The interfaces to each API''s event handling is set up in addAPI. These would need to be modified to pass through a reference to the mapstraction marker. To retrieve the mapstraction marker linked to the proprietary marker, a reference would need to be added in the Marker.setChild method. Mikel ----- Original Message ---- From: dominic depetris <ddepetris1 at yahoo.com> To: mapstraction at openstreetmap.org Sent: Friday, November 2, 2007 12:36:17 PM Subject: [Mapstraction] (no subject) I am trying to figure out how to remove a specific marker on a map. Let?s say there are 10 markers on a map and the user wants to remove one of them by clicking on it. How do I know what marker has been selected? By the way, this program has been extremely helpful. Thanks! Dominic __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Mapstraction mailing list Mapstraction at lists.mapstraction.com http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com