[OpenLayers-Users] Is drawing lines (canvas.drawLine) in Internet Explorer possible?

Nick Whitelegg Nick.Whitelegg at solent.ac.uk
Wed Apr 11 11:47:12 EDT 2007


>Is it possible to get the distance between markers in km? Haven't seen 
that anywhere. 
There is a function called OpenLayers.Util.distVincenty() which takes two 
LonLat objects and calculates the distance in km between them.

var d =  OpenLayers.Util.distVincenty (pos1,pos2);

Nick



More information about the Users mailing list