new MapEvent(type, target)
The class defines events that may be fired by an instance of OM.Map.
It also defines constants representing event types.
Parameters:
Name | Type | Description |
---|---|---|
type |
String | The event type |
target |
Object | The event target |
Returns:
An object of MapEvent
- Type
- OM.event.MapEvent
Extends
Members
-
<static, constant> LAYER_ADDED :String
-
<static, constant> LAYER_DELETED :String
-
<static, constant> LAYER_REORDERED :String
-
<static, constant> MAP_AFTER_REFRESH :String
-
<static, constant> MAP_AFTER_ZOOM :String
-
<static, constant> MAP_BEFORE_REFRESH :String
-
<static, constant> MAP_BEFORE_ZOOM :String
-
<static, constant> MAP_DESTROY :String
-
<static, constant> MAP_INITIALIZED :String
-
<static, constant> MAP_RECENTERED :String
-
<static, constant> MAP_REDRAW :String
-
<static, constant> MAP_RESET_UNIVERSE :String
-
<static, constant> MAP_RESIZED :String
-
affectedLayer :Layer
-
beforeZoomLevel :int
-
evt :Object
-
preMapCenter :Point
-
target :Object
-
type :String