[OpenLayers-Users] Openlayers and draw a line with LatLon points

Mike Quentel mquentel at rim.com
Thu Aug 7 13:46:28 EDT 2008


This thread about distance measure tool might help:
http://openlayers.org/pipermail/users/2007-May/001682.html

-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of Jone Lura
Sent: Thursday, 07 August 2008 04:23
To: 'users at openlayers.org'
Subject: [OpenLayers-Users] Openlayers and draw a line with LatLon
points

Hi,

 

I need to know the LatLon of the start point and end point when drawing
a line, to be able to calculate the distance for the line.

 

If the line contains several points, it would be nice to know the
location for every click and possible store them in an array.

 

How is this possible?

 

Does anyone have an idea?

 

I think I sent a similar post, but couldn't find it, so I'm reposting
this.

 

 

Best regards

________________________________

JONE LURA
System Developer

Electronic Chart Centre - ECC
www.ecc.as <http://www.ecc.as>
Your maritime digital channel 

 


---------------------------------------------------------------------
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.



More information about the Users mailing list