menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MarkerDragStartEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MarkerDragStartEventArgs

    Provides information about the OnMarkerDragStart event.

    Inheritance
    System.Object
    MapsBaseEventArgs
    MarkerDragStartEventArgs
    MarkerDragEndEventArgs
    Inherited Members
    MapsBaseEventArgs.Cancel
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MarkerDragStartEventArgs : MapsBaseEventArgs

    Constructors

    MarkerDragStartEventArgs()

    Declaration
    public MarkerDragStartEventArgs()

    Properties

    DataIndex

    Gets the index of the current marker data from the data source.

    Declaration
    public int DataIndex { get; }
    Property Value
    Type Description
    System.Int32

    An integer value indexing the marker data.

    Remarks

    Useful for accessing the underlying data record in the data source associated with the marker.

    Latitude

    Gets the current latitude of the marker during the drag operation.

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

    A double representing the latitude coordinate of the marker.

    Remarks

    Useful to retrieve the precise latitudinal position at the commencement of marker dragging.

    LayerIndex

    Gets the index of the layer in which the marker is being dragged.

    Declaration
    public int LayerIndex { get; }
    Property Value
    Type Description
    System.Int32

    An integer value indexing the map layer.

    Remarks

    Use this index to determine the specific map layer that the marker belongs to during drag operations.

    Longitude

    Gets the current longitude of the marker during the drag operation.

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

    A double representing the longitude coordinate of the marker.

    Remarks

    Useful to retrieve the precise longitudinal position at the commencement of marker dragging.

    MarkerIndex

    Gets the index of the marker settings associated with the marker.

    Declaration
    public int MarkerIndex { get; }
    Property Value
    Type Description
    System.Int32

    An integer value indexing the marker settings.

    Remarks

    Provides a reference to the marker's configuration in the layer's marker settings.

    X

    Gets the current x position of the mouse during the drag operation.

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

    A double representing the x position of the mouse pointer.

    Remarks

    Reflects the x-coordinate of the mouse event relative to the map's surface.

    Y

    Gets the current y position of the mouse during the drag operation.

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

    A double representing the y position of the mouse pointer.

    Remarks

    Reflects the y-coordinate of the mouse event relative to the map's surface.

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