Skip to main content

Zoom control

The Zoom control places the standard ArcGIS zoom in / out buttons on the map. It is the only control placed by default (top-left corner) on a new map.

What it does

Adds the native arcgis-zoom buttons so viewers can step the view in and out without the mouse wheel. It complements—rather than replaces—mouse-wheel zoom, which is governed separately by the Show feature popup group's Mouse-wheel zoom toggle.

Configuration

FieldTypeDefaultPurpose
controls.zoomControlPlacement | null{ corner: "top-left" }Corner placement, or null to hide.

A ControlPlacement is { corner, inExpand } where corner is one of top-left, top-right, bottom-left, bottom-right and inExpand tucks the control inside that corner's expand container.

In the config panel

Open Appearance → UI controls and drag the Zoom chip onto a map corner. Drop it on the corner's Expand chip first if you want it grouped inside an expand. Drag it back to the tray to hide it.

Behavior

  • Renders directly in its corner, or inside the corner's expand when inExpand is set.
  • Hidden when its placement is null; mouse-wheel zoom still works unless that is separately disabled.