Map Bounds
Type: map-bounds
Map that syncs viewport bounds to param.
Supports children: No
Interactive Mapbox map that syncs viewport bounds [west, south, east, north] with a canvas parameter. Supports auto-send on pan/zoom or manual send via button.
Example
{
"type": "map-bounds",
"props": {
"param": "viewport",
"centerLng": -74,
"centerLat": 40.7,
"zoom": 12,
"autoSend": true
}
}
Every widget is defined as { "type": "map-bounds", "props": { ... } }. The properties below describe the props object.
Props
Loading ....
Raw schema
Download the full schema file: /widget-schema/map-bounds.json