Skip to content

Map.BoxZoom

Handler.BoxZoom is used to add shift-drag zoom interaction to the map (zoom to a selected bounding box), enabled by default.

Interaction Options

OptionTypeDefaultDescription
boxZoomBooleantrueWhether the map can be zoomed to a rectangular area specified by