Skip to main content

Basemap.set_view()

Set the centre (longitude, latitude) and/or the MapLibre zoom

Usage

Basemap.set_view(
    center=None,
    zoom=None,
)

(0-22, fractional allowed); None keeps the current value.