Here is a link to tips for distance measure tool that might help: http://openlayers.org/pipermail/users/2007-May/001682.html
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Schmidt Sent: Wednesday, 19 March 2008 07:03 To: [email protected] Subject: Re: [OpenLayers-Users] Measuring tool 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 [email protected] http://openlayers.org/mailman/listinfo/users --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
