Back to Devexpress

DxMapCenter Class

blazor-devexpress-dot-blazor-23d2f6a6.md

latest2.5 KB
Original Source

DxMapCenter Class

Defines location that is displayed at the component’s center.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public class DxMapCenter :
    DxMapLocation<MapLocationModel>

Remarks

Use the DxMapCenter object to specify a location that should be displayed in the center of the DxMap component. This setting is useful when automatic map adjustment is not available, namely in the following cases:

  • Automatic adjustment is disabled (the AutoAdjust property is set to false).
  • The component displays a static Google image (the Provider property is set to GoogleStatic).
  • The map does not contain markers or routes.

Note that the component can change the specified location if the AutoAdjust property is set to true (the default value).

You can specify location settings in two ways:

Run Demo: Map - Overview

Implements

IComponent

IHandleEvent

IHandleAfterRender

IDisposable

Inheritance

Object ComponentBase DxSettingsComponent<DevExpress.Blazor.ClientComponents.Internal.MapLocationModel> DxMapLocation<DevExpress.Blazor.ClientComponents.Internal.MapLocationModel> DxMapCenter

See Also

DxMapCenter Members

DevExpress.Blazor Namespace