MetroAreaGeojson 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.
Each feature in the collection is a Polygon representing one area.
The properties of each feature match the properties of the |
Method Details
getFeatures()
Returns a GeoJSON feature collection built from the results.
Each feature in the collection is a Polygon representing one area.
The properties of each feature match the properties of the MetroAreaResult
, except
the geometry
property is omitted because it is redundant with the feature's geometry.
function getFeatures(): FeatureCollection<Polygon>
Returns
FeatureCollection<Polygon>