Class MVEvent
MVEvent defines all Oracle Maps client side event types, which should be used when specifying the type of event associated with the event listener function.
For example, the following code attaches the event listener function mouseClick to the MVMapView instance for event MVEvent.MOUSE_CLICK.
var mapview = new MVMapView(document.getElementById("map"), baseURL); var mouseClick = function() { ... } mapview.attachEventListener(MVEvent.MOUSE_CLICK, mouseClick);
Constructor Attributes | Constructor Name and Description |
---|---|
MVEvent()
|
Field Attributes | Field Name and Description |
---|---|
<static> |
MVEvent.AFTER_COLLAPSE
This event is fired when a collapsible map component has been minimized.
|
<static> |
MVEvent.AFTER_REFRESH
This event is fired after a theme based FOI layer has been refreshed.
|
<static> |
MVEvent.AFTER_RESTORE
This event is fired when a collapsible map component has been restored to its
original state.
|
<static> |
MVEvent.BEFORE_REFRESH
This event is fired when a theme based FOI layer is about to be refreshed.
|
<static> |
MVEvent.BEFORE_ZOOM_LEVEL_CHANGE
This event is fired when the map zoom level is about to change.
|
<static> |
MVEvent.BUTTON_DOWN
This event is fired when a built-in tool bar is pressed down.
|
<static> |
MVEvent.BUTTON_UP
This event is fired when a built-in tool bar is released.
|
<static> |
MVEvent.CLEAR
This event is fired when the redline geometry is cleared.
|
<static> |
MVEvent.COLLAPSE
This event is fired when a collapsible map component is about to be minimized.
|
<static> |
MVEvent.DRAG
This event is fired when the map or a map component is dragged by mouse.
|
<static> |
MVEvent.DRAG_END
This event is fired when the user finishes dragging a draggable map component.
|
<static> |
MVEvent.DRAG_START
This event is fired when the user starts dragging a draggable map component.
|
<static> |
MVEvent.FINISH
This event is fired when a built-in tool is deactivated.
|
<static> |
MVEvent.INITIALIZE
This event is fired when the map has been initialized.
|
<static> |
MVEvent.MODIFY
This event is fired when the redline geometry is modified by the user's mouse
actions.
|
<static> |
MVEvent.MOUSE_CLICK
This event is fired when the user clicks mouse left key on the map or a map
component.
|
<static> |
MVEvent.MOUSE_DOUBLE_CLICK
This event is fired when the user double clicks mouse left key on the map.
|
<static> |
MVEvent.MOUSE_MOVE
This event is fired when the mouse moves on the map.
|
<static> |
MVEvent.MOUSE_OUT
This event is fired when the mouse moves out of a map component.
|
<static> |
MVEvent.MOUSE_OVER
This event is fired when the mouse moves over a map component.
|
<static> |
MVEvent.MOUSE_RIGHT_CLICK
This event is fired when the user clicks mouse right key on the map or a map
component.
|
<static> |
MVEvent.NEW_SHAPE_POINT
This event is fired when a shape point is created by clicking the mouse on
the map.
|
<static> |
MVEvent.RECENTER
This event is fired when the map center has changed.
|
<static> |
MVEvent.RESTORE
This event is fired when a collapsible map component is to be restored to its
original state.
|
<static> |
MVEvent.START
This event is fired when a built-in tool is activated.
|
<static> |
MVEvent.ZOOM_LEVEL_CHANGE
This event is fired when the map zoom level has changed.
|
Field Detail
<static>
MVEvent.AFTER_COLLAPSE
This event is fired when a collapsible map component has been minimized.
The following classes support this event: MVMapDecoration.
<static>
MVEvent.AFTER_REFRESH
This event is fired after a theme based FOI layer has been refreshed.
The following classes support this event: MVThemeBasedFOI.
<static>
MVEvent.AFTER_RESTORE
This event is fired when a collapsible map component has been restored to its
original state.
The following classes support this event: MVMapDecoration.
<static>
MVEvent.BEFORE_REFRESH
This event is fired when a theme based FOI layer is about to be refreshed.
The following classes support this event: MVThemeBasedFOI.
<static>
MVEvent.BEFORE_ZOOM_LEVEL_CHANGE
This event is fired when the map zoom level is about to change.
The following classes support this event: MVMapView.
<static>
MVEvent.BUTTON_DOWN
This event is fired when a built-in tool bar is pressed down.
The following classes support this event: MVToolButton.
<static>
MVEvent.BUTTON_UP
This event is fired when a built-in tool bar is released.
The following classes support this event: MVToolButton.
<static>
MVEvent.CLEAR
This event is fired when the redline geometry is cleared.
The following classes support this event: MVRedlineTool.
<static>
MVEvent.COLLAPSE
This event is fired when a collapsible map component is about to be minimized.
The following classes support this event: MVMapDecoration.
<static>
MVEvent.DRAG
This event is fired when the map or a map component is dragged by mouse.
The following classes support this event: MVCircleTool, MVDistanceTool,
MVRectangleTool.
<static>
MVEvent.DRAG_END
This event is fired when the user finishes dragging a draggable map component.
The following classes support this event: MVMapDecoration.
<static>
MVEvent.DRAG_START
This event is fired when the user starts dragging a draggable map component.
The following classes support this event: MVMapDecoration.
<static>
MVEvent.FINISH
This event is fired when a built-in tool is deactivated. The following classes
support this event: MVCircleTool, MVDistanceTool, MVRectangleTool.
<static>
MVEvent.INITIALIZE
This event is fired when the map has been initialized.
The following classes support this event: MVMapView.
<static>
MVEvent.MODIFY
This event is fired when the redline geometry is modified by the user's mouse
actions.
The following classes support this event: MVDistanceTool, MVRedlineTool.
<static>
MVEvent.MOUSE_CLICK
This event is fired when the user clicks mouse left key on the map or a map
component.
The following classes support this event: MVFOI, MVMapDecoration, MVMapView, MVThemeBasedFOI.
<static>
MVEvent.MOUSE_DOUBLE_CLICK
This event is fired when the user double clicks mouse left key on the map.
The following classes support this event: MVMapView.
<static>
MVEvent.MOUSE_MOVE
This event is fired when the mouse moves on the map.
The following classes support this event: MVFOI, MVMapView, MVThemeBasedFOI.
<static>
MVEvent.MOUSE_OUT
This event is fired when the mouse moves out of a map component.
The following classes support this event: MVFOI, MVMapDecoration, MVThemeBasedFOI.
<static>
MVEvent.MOUSE_OVER
This event is fired when the mouse moves over a map component.
The following classes support this event: MVFOI, MVMapDecoration, MVThemeBasedFOI.
<static>
MVEvent.MOUSE_RIGHT_CLICK
This event is fired when the user clicks mouse right key on the map or a map
component.
The following classes support this event: MVFOI, MVMapDecoration, MVMapView, MVThemeBasedFOI.
<static>
MVEvent.NEW_SHAPE_POINT
This event is fired when a shape point is created by clicking the mouse on
the map.
The following classes support this event: MVDistanceTool, MVRedlineTool.
<static>
MVEvent.RECENTER
This event is fired when the map center has changed.
The following classes support this event: MVMapView.
<static>
MVEvent.RESTORE
This event is fired when a collapsible map component is to be restored to its
original state.
The following classes support this event: MVMapDecoration.
<static>
MVEvent.START
This event is fired when a built-in tool is activated. The following classes
support this event: MVCircleTool, MVRectangleTool.
<static>
MVEvent.ZOOM_LEVEL_CHANGE
This event is fired when the map zoom level has changed.
The following classes support this event: MVMapView.