[OpenLayers-Dev] fire an mouse down event without clicking?

x_tls_x x_tls_x at die-optimisten.net
Mon Dec 6 10:40:21 EST 2010


Hello list,
Hi friends,

Is it possible to fire an mouse down event without clicking? I need this
because i have modified the OpenLayers.Path.js. I try this:

drawLinks = new OpenLayers.Control.DrawFeature(layer,
OpenLayers.Handler.Path, {
        featureAdded: function(evt){
    	alert("complete");
        //
    },
    mousedown: true, 

but it doenst worked.

Can anyone help me please?

Thanks a lot for any advise,
Marcel
x_tls_x
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/fire-an-mouse-down-event-without-clicking-tp5808283p5808283.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list