GeoJSON.js icon indicating copy to clipboard operation
GeoJSON.js copied to clipboard

geojson.parse ignores alt value

Open idokleinman opened this issue 5 years ago • 0 comments

Given let pointObj = {lat: 1.1, lon: 2.2, alt: 3.3, test: 'test'}; let point = geojson.parse(pointObj, { Point: ['lat', 'lon', 'alt'] });

point will equal { type: 'Point', coordinates: [ 2.2, 1.1 ] } alt value has been dropped. Why?

idokleinman avatar Mar 27 '20 04:03 idokleinman