On Wed, Mar 19, 2008 at 08:44:42AM +0100, Gérald Quintana wrote: > Hi, > > Once I saw an example of Control to measure the length of a path > (rubber), but I can't find it anymore. Where is it? > > I managed to do my own using the DrawFeature control and the > Curve.getLength() method but I miss the conversion factor to get the > distance in meters or kilometers, how can I do it?
No measurement tool in OpenLayers has ever done this. Hoever, the OpenLayers.Util.distVincenty function might help you. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users