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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |