Interface: ZoomButtonPops
The prop type for a [[ZoomButton
]] component.
Properties
maxZoom
• Optional
maxZoom: number
The maximum zoom level.
Defined in
minZoom
• Optional
minZoom: number
The minimum zoom level.
Defined in
point
• Optional
point: Point
The screen point where the button will be placed.
Defined in
zoomStep
• Optional
zoomStep: number
The amount by which the zoom will be changed on each click.
Defined in
Methods
onChange
▸ onChange(value
): void
A callback with the requested zoom level.
Parameters
Name | Type |
---|---|
value | number |
Returns
void