[OpenLayers-Dev] dragFeature events

Xavier Mamano (jorix) xavier.mamano at gmail.com
Thu May 13 02:12:30 EDT 2010

Is onComplete not OnComplete.

jukimuki wrote:
> Dear Group,
> I'm new to openlayers as well as to javascript. I've searched through the
> examples and for similar problems described by others but can't find any
> matching example. My problem is, that I don't receive any dragFeature
> events. I modified the Drag Feature Example on
> http://www.openlayers.org/dev/examples/drag-feature.html
> in line 39 original:
>                     drag: new OpenLayers.Control.DragFeature(vectors)
> my version:
>                     drag: new OpenLayers.Control.DragFeature(vectors,
> {OnComplete: function(f){alert('abc')}})
> But I don't get an alert after dragging. Can someone tell me what is
> missing?
> Thanks.

View this message in context: http://osgeo-org.1803224.n2.nabble.com/dragFeature-events-tp5043633p5044880.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.

More information about the Dev mailing list