[OpenLayers-Users] OL + database
ngreen
n13green at gmail.com
Thu Feb 18 16:51:50 EST 2010
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.
More information about the Users
mailing list