Hi Eric,
Thanks. I added the following within my handler after going through the
DrawFeature code - works fine now :-)
var feature = new OpenLayers.Feature.Vector(lineGeom);
lineLayer.addFeatures([feature]);
Regards
Mifan
http://talksahana.com
http://techmania.wordpress.com
-
Hi. I haven't looked at your code but it's no surprise that the
feature disappears once drawn - the point handler, which the path
handler inherits from, uses a temporary vector layer. It is the
responsibility of your control to actually add drawn features to a
permanent layer, which control users w
Hi All,
I'm trying to get the coordinates from line vectors drawn by users using
Control.storeFeature and store them in the database. I intend to do this
using a solution posted in the lists sometime back by using the "done"
callback of Handler.Path, and doing the required processing within it.