Skip to content

zoom_range

Stable

Shows its content only between a minimum and a maximum zoom level.

Generated from the component's definition in the library, so it always matches the version this demo runs.

Attribute Type Default Description
id required string — Unique identifier for the zoom range component
map_id required string — ID of the map to monitor for zoom changes. The content is shown as rendered until that map is on the page, whether the map is rendered before or after the component
min any nil number
max any nil number
global attributes global — Any other HTML attribute, passed on to the component's element.

Slots

  • inner_block Required.