[OpenLayers-Users] popups for markers dynamically generated from KML

Christopher Schmidt crschmidt at metacarta.com
Wed Apr 16 11:02:56 EDT 2008


On Wed, Apr 16, 2008 at 11:01:58AM -0400, Mike Quentel wrote:
> For now, it looks like this:
> 
> function mousedown(evt) {
>   alert(marker.lonlat);
> }
> 
> Not sure how to pass the specifically bound marker object to the
> function.

Don't use 'marker'. Use 'this'.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list