Extract all feature properties from a GeoJSON string as a JSON string.
Returns a JSON array of property objects. Features without properties are represented as null entries.
null
const props = JSON.parse(core.parseGeoJsonProperties(geojsonStr));// props = [{ name: "Beijing", population: 21540000 }, { ... }] Copy
const props = JSON.parse(core.parseGeoJsonProperties(geojsonStr));// props = [{ name: "Beijing", population: 21540000 }, { ... }]
Returns a SpatialErrorDetail if the input is not valid GeoJSON.
SpatialErrorDetail
Extract all feature properties from a GeoJSON string as a JSON string.
Returns a JSON array of property objects. Features without properties are represented as
nullentries.Example
Errors
Returns a
SpatialErrorDetailif the input is not valid GeoJSON.