I've half figured it out. I was reading OpenLayers.Handler.Drag instead of OpenLayers.Control.DragFeature. onComplete is OL and the equivalent property for new points is featureAdded - which works for new points. Hurrah!
But using {featureAdded: onNewLine} for a line causes the linedraw feature to stop after adding the second point, rather than on double-click, and doesn't return the coords. -- View this message in context: http://n2.nabble.com/OL-database-tp4588879p4594612.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users