AiControls

Controls

Zoom and pan controls overlay.

100%

Usage

<AiControls :zoom="zoom" @zoom-in="zoomIn" @zoom-out="zoomOut" @reset="resetView" @fit-view="fitView" />

Props

Prop Type Default Description
zoomnumber
position'top-left' | 'top-right' | 'bottom-left' | 'bottom-right''bottom-left'

Slots

  • default
  • zoom-in
  • zoom-display
  • zoom-out
  • reset
  • fit-view