Type of each feature's properties object
Optionalbbox?: BBoxThe bounding box of all features in the collection, including any bounding boxes they have. It is present only if the collection has features.
The polygon or multi-polygon features.
const neighborhoods: PolygonFeatures<{ name: string, area: number }> = {
type: 'FeatureCollection',
features: [
{
type: 'Feature',
geometry: { type: 'Polygon', coordinates: [...] },
properties: { name: 'District 1', area: 500000 }
},
{
type: 'Feature',
geometry: { type: 'Polygon', coordinates: [...] },
properties: { name: 'District 2', area: 750000 }
}
]
};
A GeoJSON FeatureCollection of polygon or multi-polygon features.
It represents multiple polygonal areas, such as: