ClosestPointGeojson class
A helper extension providing methods for accessing the response data in GeoJSON format.
Methods
get |
Returns a GeoJSON feature collection built from the results.
The collection will include a Point feature for each |
Method Details
getFeatures()
Returns a GeoJSON feature collection built from the results.
The collection will include a Point feature for each result
.
The properties of the features match the properties of the result, except
the position
property is omitted because it is redundant with the feature's coordinates.
function getFeatures(): FeatureCollection<Point>
Returns
FeatureCollection<Point>