menu

Blazor

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

    Show / Hide Table of Contents

    Class MapZoomEventArgs

    Specifies the event arguments for zoom event in maps.

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

    Constructors

    MapZoomEventArgs()

    Declaration
    public MapZoomEventArgs()

    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

    If zoom effects need to be controlled or prevented under certain conditions, set this to true.

    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

    The scale determines the zoom level of the map. Higher values indicate closer zoom.

    TileTranslatePoint

    Gets or sets the tile translate point.

    Declaration
    public PointF TileTranslatePoint { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    A System.Drawing.PointF structure representing the translation applied to the tile map.

    Remarks

    Translate points are used to adjust how tiles are rendered and positioned during zooming.

    TileZoomLevel

    Gets or sets the zoom level for the tile maps.

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

    A double value indicating the current zoom level of the tile map.

    Remarks

    Altering the zoom level changes the extent and focus of detail visible on the tile map.

    TranslatePoint

    Gets or sets the translate point of geometry map.

    Declaration
    public PointF TranslatePoint { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    A System.Drawing.PointF structure representing the translation applied to the geometry layers.

    Remarks

    Translate points are crucial in controlling the position and navigation of geometry-based features.

    Type

    Gets or sets the type of zoom interaction.

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

    A string indicating the mode of zoom interaction (e.g., MouseWheel, TouchPinch, etc.).

    Remarks

    Utilize this property to determine the method of user interaction prompting the zoom event.

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