menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsEvents - API Reference

    Show / Hide Table of Contents

    Class MapsEvents

    Set and get the event for the maps control.

    Inheritance
    System.Object
    MapsEvents
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MapsEvents : ComponentBase

    Constructors

    MapsEvents()

    Declaration
    public MapsEvents()

    Properties

    AnimationCompleted

    Gets or sets the event that is triggered after the animation effect completed in the maps component.

    Declaration
    public EventCallback<AnimationCompleteEventArgs> AnimationCompleted { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<AnimationCompleteEventArgs>

    An event callback function.

    AnnotationRendering

    Gets or sets the event that is triggered before rendering of the annotation.

    Declaration
    public EventCallback<AnnotationRenderingEventArgs> AnnotationRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<AnnotationRenderingEventArgs>

    An event callback function.

    BubbleRendering

    Gets or sets the event that is triggered before rendering of the bubble.

    Declaration
    public EventCallback<BubbleRenderingEventArgs> BubbleRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<BubbleRenderingEventArgs>

    An event callback function.

    DataLabelRendering

    Gets or sets the event that is triggered before rendering of the data label.

    Declaration
    public EventCallback<LabelRenderingEventArgs> DataLabelRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<LabelRenderingEventArgs>

    An event callback function.

    LayerRendering

    Gets or sets the event that is triggered before rendering of the layer.

    Declaration
    public EventCallback<LayerRenderingEventArgs> LayerRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<LayerRenderingEventArgs>

    An event callback function.

    LegendRendering

    Gets or sets the event that is triggered before rendering of the legend.

    Declaration
    public EventCallback<LegendRenderingEventArgs> LegendRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<LegendRenderingEventArgs>

    An event callback function.

    Loaded

    Gets or sets the event that is triggered after maps is rendered.

    Declaration
    public EventCallback<LoadedEventArgs> Loaded { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<LoadedEventArgs>

    An event callback function.

    MarkerClusterClick

    Gets or sets the event that is triggered after click on the marker cluster.

    Declaration
    public EventCallback<MarkerClusterClickEventArgs> MarkerClusterClick { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MarkerClusterClickEventArgs>

    An event callback function.

    MarkerClusterMouseMove

    Gets or sets the event that is triggered after mousemove over the marker cluster.

    Declaration
    public EventCallback<MarkerClusterMoveEventArgs> MarkerClusterMouseMove { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MarkerClusterMoveEventArgs>

    An event callback function.

    MarkerRendering

    Gets or sets the event that is triggered before rendering of the marker.

    Declaration
    public EventCallback<MarkerRenderingEventArgs> MarkerRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MarkerRenderingEventArgs>

    An event callback function.

    OnBubbleClick

    Gets or sets the event that is triggered before click on the bubble.

    Declaration
    public EventCallback<BubbleClickEventArgs> OnBubbleClick { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<BubbleClickEventArgs>

    An event callback function.

    OnBubbleMouseMove

    Gets or sets the event that is triggered before mouse move over the bubble.

    Declaration
    public EventCallback<BubbleMoveEventArgs> OnBubbleMouseMove { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<BubbleMoveEventArgs>

    An event callback function.

    OnClick

    Gets or sets the event that is triggered when clicking an element in maps.

    Declaration
    public EventCallback<MouseEventArgs> OnClick { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MouseEventArgs>

    An event callback function.

    OnDoubleClick

    Gets or sets the event that is triggered when performing the double click operation on an element in maps.

    Declaration
    public EventCallback<MouseEventArgs> OnDoubleClick { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MouseEventArgs>

    An event callback function.

    OnItemHighlight

    Gets or sets the event that is triggered when mouse move on the shape in maps and before the shape gets highlighted.

    Declaration
    public EventCallback<SelectionEventArgs> OnItemHighlight { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SelectionEventArgs>

    An event callback function.

    OnItemSelect

    Gets or sets the event that is triggered when clicking the shape on maps and before the selection is applied.

    Declaration
    public EventCallback<SelectionEventArgs> OnItemSelect { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SelectionEventArgs>

    An event callback function.

    OnLoad

    Gets or sets the event that is triggered when the maps is started to load.

    Declaration
    public EventCallback<LoadEventArgs> OnLoad { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<LoadEventArgs>

    An event callback function.

    OnMarkerClick

    Gets or sets the event that is triggered before click of the marker.

    Declaration
    public EventCallback<MarkerClickEventArgs> OnMarkerClick { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MarkerClickEventArgs>

    An event callback function.

    OnMarkerDragEnd

    An event that is raised when the marker stops dragging on the map.

    Declaration
    public EventCallback<MarkerDragEndEventArgs> OnMarkerDragEnd { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MarkerDragEndEventArgs>
    Remarks

    You can customize the tooltip and legend of the dragged marker through MarkerDragEndEventArgs event argument.

    OnMarkerDragStart

    An event that is raised when the marker starts dragging on the map.

    Declaration
    public EventCallback<MarkerDragStartEventArgs> OnMarkerDragStart { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MarkerDragStartEventArgs>
    Remarks

    You can get details about the marker that is being dragged by using MarkerDragStartEventArgs event argument.

    OnMarkerMouseLeave

    Gets or sets the event that is triggered after mouse leaves from the marker.

    Declaration
    public EventCallback<MarkerMouseLeaveEventArgs> OnMarkerMouseLeave { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MarkerMouseLeaveEventArgs>

    An event callback function.

    OnMarkerMouseMove

    Gets or sets the event that is triggered after mousemove over the marker.

    Declaration
    public EventCallback<MarkerMoveEventArgs> OnMarkerMouseMove { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MarkerMoveEventArgs>

    An event callback function.

    OnPan

    Gets or sets the event that is triggered before performing the panning operation.

    Declaration
    public EventCallback<MapPanEventArgs> OnPan { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MapPanEventArgs>

    An event callback function.

    OnPanComplete

    Gets or sets the event that is triggered after performing the panning operation.

    Declaration
    public EventCallback<MapPanEventArgs> OnPanComplete { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MapPanEventArgs>

    An event callback function.

    OnPrint

    Gets or sets the event that is triggered before the print gets started.

    Declaration
    public EventCallback<PrintEventArgs> OnPrint { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<PrintEventArgs>

    An event callback function.

    OnRightClick

    Gets or sets the event that is triggered when performing the right click operation on an element in maps.

    Declaration
    public EventCallback<MouseEventArgs> OnRightClick { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MouseEventArgs>

    An event callback function.

    OnZoom

    Gets or sets the event that is triggered before the zoom operations in the maps such as zoom in and zoom out.

    Declaration
    public EventCallback<MapZoomEventArgs> OnZoom { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MapZoomEventArgs>

    An event callback function.

    OnZoomComplete

    Gets or sets the event that is triggered when the zooming operation is completed.

    Declaration
    public EventCallback<MapZoomEventArgs> OnZoomComplete { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MapZoomEventArgs>

    An event callback function.

    Resizing

    Gets or sets the event that is triggered after resizing the maps control.

    Declaration
    public EventCallback<ResizeEventArgs> Resizing { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ResizeEventArgs>

    An event callback function.

    ShapeHighlighted

    Gets or sets the event that is triggered when mouse move on the shape in maps and before the shape gets highlighted.

    Declaration
    public EventCallback<ShapeSelectedEventArgs> ShapeHighlighted { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ShapeSelectedEventArgs>

    An event callback function.

    ShapeRendering

    Gets or sets the event that is triggered before rendering of the shapes in the layer.

    Declaration
    public EventCallback<ShapeRenderingEventArgs> ShapeRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ShapeRenderingEventArgs>

    An event callback function.

    ShapeSelected

    Gets or sets the event that is triggered when a shape is selected in maps.

    Declaration
    public EventCallback<ShapeSelectedEventArgs> ShapeSelected { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ShapeSelectedEventArgs>

    An event callback function.

    TooltipRendering

    Gets or sets the event that is triggered before the tooltip gets rendered in Maps.

    Declaration
    public EventCallback<TooltipRenderEventArgs> TooltipRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<TooltipRenderEventArgs>

    An event callback function.

    Methods

    OnInitializedAsync()

    OnInitializedAsync method is called when the component has received its initial parameters.

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

    System.Threading.Tasks.Task representing the asynchronous operation.

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