RouteRangeGeojson class

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

Methods

getFeatures()

Returns a GeoJSON feature collection built from the reachable range. The first feature in the collection is a Polygon representing the boundary of the reachable range. The second feature is a Point representing the center point of the reachable range.

Method Details

getFeatures()

Returns a GeoJSON feature collection built from the reachable range. The first feature in the collection is a Polygon representing the boundary of the reachable range. The second feature is a Point representing the center point of the reachable range.

function getFeatures()

Returns

FeatureCollection<Polygon | Point>