Type of the feature's properties object
The bounding box of the feature's geometry.
const cityBoundary: PolygonFeature<{ name: string, population: number }> = {
type: 'Feature',
geometry: {
type: 'Polygon',
coordinates: [[
[4.8, 52.3],
[5.0, 52.3],
[5.0, 52.4],
[4.8, 52.4],
[4.8, 52.3]
]]
},
bbox: [4.8, 52.3, 5.0, 52.4],
properties: {
name: 'Amsterdam',
population: 872680
}
};
A GeoJSON Feature with a polygon or multi-polygon geometry.
It represents an area on the map, such as: