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

Christopher Schmidt crschmidt at metacarta.com
Wed Apr 16 10:55:07 EDT 2008


On Wed, Apr 16, 2008 at 10:40:32AM -0400, Mike Quentel wrote:
> marker.events.register("mousedown", marker, mousedown);

This isn't the useful part of the code. The part of the code that
matters is what is *in* the mousedown function. My guess is that it
refers to a variable ('marker') rather than the bound marker object
('this'), but there's no really any way of knowing with the code you've
provided.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list