Type of each feature's properties object
Optionalbbox?: BBoxBounding box that contains all features in the collection, including their bounding boxes, if any.
Array of 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 }
}
]
};
GeoJSON FeatureCollection containing polygon or multi-polygon features.
Represents multiple polygonal areas, useful for: