Property WrapAroundMode
WrapAroundMode
Gets or sets whether continuous panning across the international date line is enabled.
Declaration
public WrapAroundMode WrapAroundMode { get; set; }
Property Value
Type | Description |
---|---|
WrapAroundMode | Whether continuous panning across the international date line is enabled. |
Remarks
Note that not all spatial references supports this mode, and setting it to true in those cases, this property will have no effect. You can check the IsWrapAroundEnabled property to determine if this MapView is wrapping.
By default, the MapView attempts to wrap the Map across the international date line for a continuous panning user experience. The eastern and western hemispheres wrap to form a continuous map, giving the impression that the map is endless.
You can apply wraparound to a MapView if certain conditions are met, as described in EnabledWhenSupported. To remove the wraparound behavior set the value to Disabled.
If wraparound is enabled, geometries returned from VisibleArea may have coordinates outside the domain of the spatial reference of the map. Before using such geometries to perform spatial queries, address finding, or as feature geometries in a geodatabase, normalize them to lie within the spatial reference domain using NormalizeCentralMeridian(Geometry).
The default value is EnabledWhenSupported.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.5 |