Geocoding limit results by area (bounding box)

Restrict the search results of the geocoding control to the specific area (bounding box). Use the bbox options in the control constructor to filter the results specifically within this defined area. The Bounding box is represented as an array, following the format [minX, minY, maxX, maxY]. For a comprehensive list of geocoding control options, refer to the Geocoding control’s reference documentation. To illustrate, let’s consider an example where we limit the search results to the Paris area.



Related examples

An extension of MapLibre GL JS