LayerBase.ViewportChanged Event

Occurs every time the current viewport is changed.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.1.dll

Declaration

public event ViewportChangedEventHandler ViewportChanged
Public Event ViewportChanged As ViewportChangedEventHandler

Event Data

The ViewportChanged event's data class is ViewportChangedEventArgs. The following properties provide information specific to this event:

Property Description
BottomRight Gets the bottom right coordinate visible on a map.
IsAnimated Gets whether or not the animation effect is used while the position of the current viewport is changed.
TopLeft Gets the top left coordinate visible on the map.
ZoomLevel Returns the zoom level of the current viewport.
See Also