@@ -18,31 +19,41 @@ export class ZoomBehavior extends GistBehavior {
privatezoomConstant:number=1.15;
privatezoomMethod:ZoomMethod;
privatehasWarned:boolean=false;
/**
*Creates an instance of ZoomBehavior.
* @param {number} [zoomConstant=1.15] controls how strong the zoom step is
* @param {ZoomMethod} [zoomMethod='multiplication'] multiplication zoom steps are based on the current zoom level resulting in a smoother movement. addition will jump by steps
* @param {number} [waitTime=50] how long in milliseconds to throttle the event
* The debug logger. To enable debugger, the isEnabled property must be set to true. It is also advised to set logPrefix to distinguish between different debuggers
* The debug logger. To enable debugger, the isEnabled property must be set to true. It is also advised to set logPrefix to distinguish between different debuggers