[OpenLayers-Users] Register click event on OpenLayers.Feature.Vector

JuKiM rifins at gmail.com
Tue Jun 8 12:12:55 EDT 2010


Hi,

I'm defining a line to display in the map in this way:

var linearRing = new OpenLayers.Geometry.LinearRing(pointList);
var polygonFeature = new OpenLayers.Feature.Vector(linearRing, null,
style_poly);

And now, I would like to catch the mousedown event, like I do with markers..

Is there any way to do this?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100608/72b18f08/attachment.html


More information about the Users mailing list