blazor-devexpress-dot-blazor-dot-dxmap-47cdfe0b.md
Specifies whether the component automatically adjusts the map center and zoom level to display all markers and routes.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(true)]
[Parameter]
public bool AutoAdjust { get; set; }
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to adjust map settings automatically; otherwise, false.
|
The DxMap control automatically adjusts the map center and zoom level on the initial load and when a collection of markers or routes changes. The adjustments include the following:
Set the AutoAdjust property to false to disable this behavior.
<DxMap Zoom="14"
Provider="MapProvider.Azure"
Width="100%"
Height="600px"
AutoAdjust="false" >
<DxMapApiKeys Azure="@MapApiKeyProvider.GetAzureProviderKey()" />
<DxMapCenter GeoPosition="40.7061, -73.9969" />
@* ... *@
</DxMap>
See Also