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 bart...@osgis.nl http://www.osgis.nl _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev