Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsMarker<TValue> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsMarker<TValue>

    Sets and gets the option for the customization of marker for the maps.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    SfDataBoundComponent
    MapsMarker<TValue>
    Implements
    IMarker
    Inherited Members
    SfDataBoundComponent.SetDataManager<T>(Object)
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MapsMarker<TValue> : SfDataBoundComponent, IMarker
    Type Parameters
    Name Description
    TValue

    Constructors

    MapsMarker()

    Declaration
    public MapsMarker()

    Properties

    animationDelay

    Declaration
    public double animationDelay { get; set; }
    Property Value
    Type Description
    System.Double

    AnimationDelay

    Sets and gets the delay time for the animation in marker.

    Declaration
    public double AnimationDelay { get; set; }
    Property Value
    Type Description
    System.Double

    animationDuration

    Declaration
    public double animationDuration { get; set; }
    Property Value
    Type Description
    System.Double

    AnimationDuration

    Sets and gets the duration time for animating the marker.

    Declaration
    public double AnimationDuration { get; set; }
    Property Value
    Type Description
    System.Double

    ChildContent

    Sets and gets the content of the UI element.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    colorValuePath

    Declaration
    public string colorValuePath { get; set; }
    Property Value
    Type Description
    System.String

    ColorValuePath

    Sets and gets the value path from the marker data source to apply color for the marker.

    Declaration
    public string ColorValuePath { get; set; }
    Property Value
    Type Description
    System.String

    DashArray

    Sets and gets the dash-array for the marker.

    Declaration
    public string DashArray { get; set; }
    Property Value
    Type Description
    System.String

    DataSource

    Sets and gets the data source for the marker. The data source for the marker will contain latitude and longitude values to specify the location of the marker. The data source can contain data such as color, shape, and other details that can be bound to the color, shape, and tooltip of the marker.

    Declaration
    public IEnumerable<object> DataSource { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Object>

    Fill

    Sets and gets the color for the marker in maps.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    Height

    Sets and gets the height of the marker in maps.

    Declaration
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    ImageUrl

    Sets and gets the URL for rendering the marker as image.

    Declaration
    public string ImageUrl { get; set; }
    Property Value
    Type Description
    System.String

    ImageUrlValuePath

    Sets and gets the value path from the marker data source for the image of the marker.

    Declaration
    public string ImageUrlValuePath { get; set; }
    Property Value
    Type Description
    System.String

    LatitudeValuePath

    Defines the value path from the marker data source for setting latitude for a set of markers.

    Declaration
    public string LatitudeValuePath { get; set; }
    Property Value
    Type Description
    System.String

    LegendText

    Sets and gets the text for the legend from the marker data source.

    Declaration
    public string LegendText { get; set; }
    Property Value
    Type Description
    System.String

    LongitudeValuePath

    Defines the value path from the marker data source for setting longitude for a set of markers.

    Declaration
    public string LongitudeValuePath { get; set; }
    Property Value
    Type Description
    System.String

    MarkerTemplate

    Declaration
    public RenderFragment<object> MarkerTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>

    Offset

    Sets and gets the position to move the marker by setting specific value.

    Declaration
    public object Offset { get; set; }
    Property Value
    Type Description
    System.Object

    Opacity

    Sets and gets the opacity for the marker in maps.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    Query

    Sets and gets the query to select particular data from the marker data. This property is applicable only when the data source is created by data manager.

    Declaration
    public Query Query { get; set; }
    Property Value
    Type Description
    Query

    Shape

    Sets and gets the shape of the marker in maps.

    Declaration
    public MarkerType Shape { get; set; }
    Property Value
    Type Description
    MarkerType

    ShapeValuePath

    Sets and gets the value path from the marker data source to set the shape of the marker.

    Declaration
    public string ShapeValuePath { get; set; }
    Property Value
    Type Description
    System.String

    Visible

    Enables or disables the visibility state of the marker based on the marker data source in maps.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    Width

    Sets and gets the width of the marker in maps.

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnParametersSetAsync()

    Implements

    IMarker
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved