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.
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to