Function: getValuesFromGeoJSON()
getValuesFromGeoJSON(
geojson
,propertyName
):unknown
[]
Defined in: geojson.ts:12
Extracts values for a specific property from a GeoJSON Feature or FeatureCollection
Parameters
geojson
The GeoJSON data (Feature or FeatureCollection)
FeatureCollection
<Geometry
, GeoJsonProperties
> | Feature
<Geometry
, GeoJsonProperties
>
propertyName
string
The name of the property to extract values from
Returns
unknown
[]
Array of values for the specified property