SearchPolygonGeojson class

A helper extension providing methods for accessing the response data in GeoJSON format.

Methods

getFeatures()

Returns a GeoJSON feature collection built from the results. Each feature in the collection is a Polygon or MultiPolygon representing one geometry ID. The properties of each feature match the properties of additionalData, except the geometryData is omitted because it is redundant with the feature itself. The properties of the features in geometryData are kept too.

Method Details

getFeatures()

Returns a GeoJSON feature collection built from the results. Each feature in the collection is a Polygon or MultiPolygon representing one geometry ID. The properties of each feature match the properties of additionalData, except the geometryData is omitted because it is redundant with the feature itself. The properties of the features in geometryData are kept too.

function getFeatures(): FeatureCollection<Polygon | MultiPolygon>

Returns

FeatureCollection<Polygon | MultiPolygon>