[OpenLayers-Dev] [ol 2.8] Altitude in KML file

Christopher Schmidt crschmidt at metacarta.com
Sun Aug 9 17:41:47 EDT 2009


On Sun, Aug 09, 2009 at 01:43:46PM -0500, Joel Tremblet wrote:
> 
> Hello
> 
> In kml file coordinates element have longitude, latitude and altitude
> I display the track on Openstreet map with openlayers  and I want to display
> altitude of the nearest point when I click on the map
> 
> I found longitude and latitude in feature.geometry.coordinate but altitude
> is nowhere
> 
> Where can I find altitude ?
OpenLayers does not have support for 3d geometries at this time, nor does
it parse KML altitudes in any other way.

Best Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list