I think you need to create your own vector layer, and then listen to the measure event. In the event handler you can create a feature using the geometry returned and add it to your layer.
Best regards, Bart > Hi all, > using measure control, after I have drawn a line (or polygon) I get the > relative value for length (or area), and then, if I make a new measure > drawing a new line, the previous one disappear. > I would like to have instead a "mesure layer" that allow to make multiple > measures, drawing multiple lines each one with a progressive number as > label. > What is the best way to get this result? > Is it possible to make this layer a real layer (turning it on/of)? > > Thanks > Marco > > > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
