menu

Blazor

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

    Show / Hide Table of Contents

    Class MapPanEventArgs

    Specifies the event arguments for the pan event in maps.

    Inheritance
    System.Object
    MinMaxLatitudeLongitude
    MapPanEventArgs
    Inherited Members
    MinMaxLatitudeLongitude.MaxLatitude
    MinMaxLatitudeLongitude.MaxLongitude
    MinMaxLatitudeLongitude.MinLatitude
    MinMaxLatitudeLongitude.MinLongitude
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MapPanEventArgs : MinMaxLatitudeLongitude

    Constructors

    MapPanEventArgs()

    Declaration
    public MapPanEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether the event should be canceled. If set to true, the event progress will be stopped.

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

    true if the event should be canceled; otherwise, false.

    Remarks

    Set this to true if you want to prevent the map from panning based on specific conditions during the event.

    Latitude

    Gets or sets the latitude value during the pan event.

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

    A double representing the central latitude of the map.

    Remarks

    The latitude will adjust to reflect the central point of the map after panning.

    Longitude

    Gets or sets the longitude value during the pan event.

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

    A double representing the central longitude of the map.

    Remarks

    The longitude will adjust to reflect the central point of the map after panning.

    Scale

    Gets or sets the scale value for the maps.

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

    A double value representing the scale of the map.

    Remarks

    Use the scale to determine the current zoom level of the map during the pan event.

    TileTranslatePoint

    Gets or sets the tile map translate point.

    Declaration
    public PositionValues TileTranslatePoint { get; set; }
    Property Value
    Type Description
    PositionValues

    A PositionValues object representing the translation applied to the tile map.

    Remarks

    Use the translate point to adjust or reset the view when panning a tiled map.

    TileZoomLevel

    Gets or sets the zoom level for the tile map.

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

    A double value representing the zoom level of the tile maps.

    Remarks

    Adjusting the zoom level changes the detail and scale of the tile map during interactions.

    TranslatePoint

    Gets or sets the translate point of the geometry map.

    Declaration
    public PositionValues TranslatePoint { get; set; }
    Property Value
    Type Description
    PositionValues

    A PositionValues object representing the translation applied to geometry layers.

    Remarks

    Adjust the translate point to control position changes in the geometry map during the panning.

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