Home > General Components > MapAutoZoom

MapAutoZoom

@wq/map-gl’s <MapAutoZoom/> component zooms to the extent of any/all Geojson layers when the map finishes loading.

Source

While @wq/map defines a placeholder implementation, @wq/map-gl’s version is more useful as reference:

  • MapAutoZoom.js (@wq/map-gl-web)

There is currently no implementation of this component for @wq/map-gl-native.