Hi, This is more complicated than just drawing a line, but you could use if for inspiration: http://openlayers.org/dev/examples/rotate-features.html
Andy Andreas Grech wrote: > 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. > _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev