API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class ZoomBoxHandler

Package | org.openscales.core.handler.zoom
Class | public class ZoomBoxHandler
Inheritance | ZoomBoxHandler Handler

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined by
--- | --- | ---
|  | active : Boolean Getter and setter of the boolean defining the activity of the handler | Handler
|  | map : Map [write-only] | ZoomBoxHandler
|  | toggleHandlerActivity : Function Getter and setter of the callback function used when the handler's activity changes | Handler

Public Methods

| Method | Defined by
--- | --- | ---
|  | ZoomBoxHandler(map:Map = null, active:Boolean = false) | ZoomBoxHandler
|  | activeDrag():void Active paning User can pan the map | ZoomBoxHandler
|  | deactiveDrag():void Deactive paning User can't pan map anymore | ZoomBoxHandler

Protected Methods

| Method | Defined by
--- | --- | ---
|  | registerListeners():void | ZoomBoxHandler
|  | unregisterListeners():void | ZoomBoxHandler

Property detail

map | property

`map:Map` [write-only]Implementation
`public function set map(value:Map):void`
Constructor detail

ZoomBoxHandler | () | constructor

`public function ZoomBoxHandler(map:Map = null, active:Boolean = false)`Parameters

| `map:Map` (default = `null`)``
| `active:Boolean` (default = `false`)``

Method detail

activeDrag | () | method

`public function activeDrag():void`

Active paning User can pan the map

deactiveDrag | () | method |

`public function deactiveDrag():void`

Deactive paning User can't pan map anymore

registerListeners | () | method |

`protected override function registerListeners():void`

unregisterListeners | () | method |

`protected override function unregisterListeners():void`