Show / Hide Table of Contents

Property MaxExtent

MaxExtent

Gets or sets the extent that constrains the display to a specific region.

Declaration
public Envelope MaxExtent { get; set; }
Property Value
Type Description
Envelope

The extent that constrains the display to a specific region.

Remarks

The max extent is initialized when the map loads or when you set it explicitly. This value limits panning in the map view to a specific area of the map.

If the max extent is null when the map loads, or you set it to null, max extent is calculated from the union of the full extent of all basemap layers. If there is no basemap, it is set as the full extent of the map's first operational layer.

If the InitialViewpoint is not set, the max extent is used as the initial viewpoint. If the InitialViewpoint is set, but is outside of the max extent, the max extent takes precedence and the display will initially show the max extent.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.14 - 200.7
.NET100.14 - 200.7
.NET Windows100.14 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.14 - 200.7
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 200.7
In This Article
Back to top Copyright © 2022 Esri.