Type of each feature's properties object
The polygon or multi-polygon features.
const neighborhoods: PolygonFeatures<{ name: string, area: number }> = {
type: 'FeatureCollection',
features: [
{
type: 'Feature',
geometry: { type: 'Polygon', coordinates: [...] },
bbox: [4.88, 52.36, 4.92, 52.38],
properties: { name: 'District 1', area: 500000 }
},
{
type: 'Feature',
geometry: { type: 'Polygon', coordinates: [...] },
bbox: [4.92, 52.36, 4.96, 52.38],
properties: { name: 'District 2', area: 750000 }
}
]
};
A GeoJSON FeatureCollection of polygon or multi-polygon features.
It represents multiple polygonal areas, such as: