Show / Hide Table of Contents

Property IsWrapAroundEnabled

IsWrapAroundEnabled

Gets a value indicating whether the wrap around feature is currently active. For wrap around to be active the WrapAroundMode property must be set to true and the SpatialReference of the MapView control must be a SpatialReference that supports wrapping.

Declaration
public bool IsWrapAroundEnabled { get; }
Property Value
Type Description
Boolean

true if continuous panning across the international date line is enabled in the GeoView, false otherwise.

Remarks

By default, a GeoView attempts to wrap the Map or Scene 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.

Wraparound display is always enabled for a SceneView.

To disable wraparound behavior for a MapView (or to reenable it), you can set the WrapAroundMode to the appropriate value. Wraparound can only be applied to a MapView if certain conditions are met, as described in EnabledWhenSupported.

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, you must normalize them to lie within the spatial reference domain using NormalizeCentralMeridian(Geometry).

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.2
.NET Framework100.0 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.