Skip to content

IMapView

Namespace: ThinkGeo.UI.Maui

Defines the contract implemented by map view controls.

public interface IMapView

Properties

MapUnit

Gets or sets the geography unit represented by the map data.

public abstract GeographyUnit MapUnit { get; set; }

Property Value

GeographyUnit

CanvasWidth

Gets the rendered width of the map canvas in device-independent pixels.

public abstract double CanvasWidth { get; }

Property Value

double

CanvasHeight

Gets the rendered height of the map canvas in device-independent pixels.

public abstract double CanvasHeight { get; }

Property Value

double

MapWidth

Gets the un-rotated width of the control.

public abstract double MapWidth { get; }

Property Value

double

MapHeight

Gets the un-rotated height of the control.

public abstract double MapHeight { get; }

Property Value

double

MapRotation

Gets or sets the map rotation angle in degrees.

public abstract double MapRotation { get; set; }

Property Value

double

TiltAngle

Gets or sets the map tilt angle in degrees.

public abstract double TiltAngle { get; set; }

Property Value

double

MapScale

Gets or sets the current map scale.

public abstract double MapScale { get; set; }

Property Value

double

TargetMapScale

Gets or sets the target map scale used during animated transitions.

public abstract double TargetMapScale { get; set; }

Property Value

double

MaxScale

Gets or sets the maximum allowed map scale.

public abstract double MaxScale { get; set; }

Property Value

double

MinScale

Gets or sets the minimum allowed map scale.

public abstract double MinScale { get; set; }

Property Value

double

CenterPoint

Gets or sets the current map center point.

public abstract PointShape CenterPoint { get; set; }

Property Value

PointShape

TargetCenterPoint

Gets or sets the target center point used during animated transitions.

public abstract PointShape TargetCenterPoint { get; set; }

Property Value

PointShape

ScaleFactor

Gets or sets the scale factor applied for high-DPI rendering.

public abstract double ScaleFactor { get; set; }

Property Value

double

IsRotationEnabled

Gets or sets a value indicating whether rotation gestures are enabled.

public abstract bool IsRotationEnabled { get; set; }

Property Value

bool

PivotXInScreen

Gets the X coordinate of the pivot point in screen space.

public abstract double PivotXInScreen { get; }

Property Value

double

PivotYInScreen

Gets the Y coordinate of the pivot point in screen space.

public abstract double PivotYInScreen { get; }

Property Value

double

Events

SingleTap

Occurs when the user performs a single tap on the map.

public abstract event EventHandler<SingleTapMapViewEventArgs> SingleTap;