isWrapAroundEnabled property

bool isWrapAroundEnabled

True if continuous panning across the international date line is enabled in the GeoViewController, false otherwise.

By default, a GeoViewController attempts to wrap the ArcGISMap or ArcGISScene 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 an ArcGISMapViewController (or to reenable it), you can set the ArcGISMapViewController.wrapAroundMode to the appropriate value. Wraparound can only be applied to an ArcGISMapViewController if certain conditions are met, as described in WrapAroundMode.enabledWhenSupported.

If wraparound is enabled, geometries returned from ArcGISMapViewController.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 GeometryEngine.normalizeCentralMeridian.

Implementation

bool get isWrapAroundEnabled {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeoView_getIsWrapAroundEnabled(
        _handle, errorHandler);
  });
}