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

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Sun Aug 9 15:19:06 EDT 2009


Did you check feature.attributes.altitude?

If not, can you provide a sample KML file?

Best regards,
Bart

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 ?
>
> Thanks
>   


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl




More information about the Dev mailing list