New to Telerik UI for BlazorStart a free 30-day trial

Container component for map control elements like zoom, navigation, and attribution controls. Provides a structured way to organize and configure the interactive controls displayed on the map interface. Children: MapControlsZoom, MapControlsNavigator, MapControlsAttribution.

Definition

Constructors

C#
public MapControls()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: ComponentBase.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizChildComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Properties

Defines the child control components that will be displayed on the map. Use this to include specific controls like zoom buttons, navigation arrows, or attribution text. Children: MapControlsZoom, MapControlsNavigator, MapControlsAttribution.

C#
[Parameter]
public RenderFragment ChildContent { get; set; }