Application and Engine Configuration
Basics Viewport Type Canvas Pointer Multi-touch Touch Wheel Panning View Zoom View
Zoom view related configuration. Changes made during engine runtime will take effect immediately via app.config.zoom.
Note
Under the App structure, settings can only be configured on the App config.
Key Properties
zoom.disabled: boolean
Whether to disable zooming the view. Default is false.
zoom.min: number
Minimum zoom scale of the view. Default is 0.02.
zoom.max: number
Maximum zoom scale of the view. Default is 256.
Example
Control zoom range of the view
ts