Search
Loading...
Skip to content

Type Alias: ZoomInAction

type ZoomInAction = (options?) => void | Promise<void>;

Action function for zooming in by one step

Parameters#

ParameterTypeDescription
options?{ stepSize?: number; animate?:boolean
options.stepSize?numberCustom step size for zoom in (default uses predefined steps)
options.animate?boolean
options.maxZoom?numberMaximum allowed zoom level (default: 32)

Returns#

void | Promise<void>