This document is archived and information here might be outdated. Recommended version. |
Provides access to events that occur when the state of the dynamic display changes.
Name | Description | |
---|---|---|
AfterDynamicDraw | Fired after the specified phase is drawn. | |
BeforeDynamicDraw | Fired before the specified phase is drawn. | |
DynamicMapFinished | Fired when the dynamic map finishes. | |
DynamicMapStarted | Fired when the dynamic map starts. |
Classes | Description |
---|---|
ControlsMapRoamTool (esriControls) | Click the mouse left button to start or finish roaming, move the mouse to change roaming direction and speed. |
DynamicMapEvents (esriCarto) | Map events. Note: this class only provides access to the IDynamicMapEvents outbound interface. |
Map (esriCarto) | A container for the display and manipulation of map data. |
TADynamicDisplayRefreshController (esriTrackingAnalyst) | Manages all dynamic updates to all of ArcMap's maps, both in the map view and the page layout view. |
The Dynamic Map is an active Display, therefore the dynamic Map will get redrawn in events like - dirty dynamic layer, visible bounds change, refresh method call, new tile loaded, etc. In any of these cases, the BeforeDynamicDraw and AfterDynamicDraw events will get fired after all of the Layers (including Graphic Layers) will get drawn.
The difference between the BeforeDynamicDraw\AfterDynamicDraw and the DynamicMapStarted\DynamicMapFinished events, is that the BeforeDynamicDraw\AfterDynamicDraw Events will get fired only when the Display (Dynamic Map) needs to be redrawn, while the DynamicMapStarted\DynamicMapFinished events will get fired on every Dynamic Map heart beat (while the Dynamic Map is Enabled), even when the display is not redrawn.
The BeforeDynamicDraw\AfterDynamicDraw events are getting fired with two different phases (enum esriDynamicMapDrawPhase). Each phase has a different meaning and usage: