I have seen the examples http://openlayers.org/dev/examples/draw-feature.html here but they only show how to add a path by using the mouse.
I need to find a way to draw the line directly with JavaScript, manually. How can I accomplish this? Thanks, -Dreas. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Drawing-a-line-using-code-tp4978976p4978976.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev