For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
setLayerZoomRangeAwait
Sets the zoom levels at which the layer is visible.
Parameters
layerId
The ID of the layer to update.
minzoom
The minimum zoom level (inclusive).
maxzoom
The maximum zoom level (exclusive).