Class PanEventArgs
Represent the PanEventArgs in the SfMap.Inherited from the RoutedEventArgs.
Inheritance
System.Object
PanEventArgs
Namespace: Syncfusion.UI.Xaml.Maps
Assembly: Syncfusion.SfMaps.WPF.dll
Syntax
public class PanEventArgs : RoutedEventArgs
Constructors
PanEventArgs(Double, Double, PanMode)
Initializes a new instance of the PanEventArgs class.
Declaration
public PanEventArgs(double latitude, double longitude, PanMode panmode)
Parameters
Type | Name | Description |
---|---|---|
System.Double | latitude | Latitude when Zooming |
System.Double | longitude | Longitude when zooming |
PanMode | panmode | Current ZoomLevel |
Properties
Latitude
Gets the Latitude of the PanEventArgs.
Declaration
public double Latitude { get; }
Property Value
Type | Description |
---|---|
System.Double | Type :System.Double |
Remarks
Latitude is the read only property passed when pan the map.
Longitude
Gets the Longitude of the PanEventArgs.
Declaration
public double Longitude { get; }
Property Value
Type | Description |
---|---|
System.Double | Type :System.Double |
Remarks
Longitude is the read only property passed when pan the map.
PanningDirection
Gets the PanningDirection of the ZoomEventArgs.
Declaration
public PanMode PanningDirection { get; }
Property Value
Type | Description |
---|---|
PanMode | Type :PanMode |
Remarks
Panning Direction is the read only property passed when pan the map.