Skip to main content
A newer version of this page is available. .

LayerBase.ViewportChanged Event

Occurs every time the current viewport is changed.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.2.dll

Declaration

public event ViewportChangedEventHandler ViewportChanged

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