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¶
CanvasHeight¶
Gets the rendered height of the map canvas in device-independent pixels.
public abstract double CanvasHeight { get; }
Property Value¶
MapWidth¶
Gets the un-rotated width of the control.
public abstract double MapWidth { get; }
Property Value¶
MapHeight¶
Gets the un-rotated height of the control.
public abstract double MapHeight { get; }
Property Value¶
MapRotation¶
Gets or sets the map rotation angle in degrees.
public abstract double MapRotation { get; set; }
Property Value¶
TiltAngle¶
Gets or sets the map tilt angle in degrees.
public abstract double TiltAngle { get; set; }
Property Value¶
MapScale¶
Gets or sets the current map scale.
public abstract double MapScale { get; set; }
Property Value¶
TargetMapScale¶
Gets or sets the target map scale used during animated transitions.
public abstract double TargetMapScale { get; set; }
Property Value¶
MaxScale¶
Gets or sets the maximum allowed map scale.
public abstract double MaxScale { get; set; }
Property Value¶
MinScale¶
Gets or sets the minimum allowed map scale.
public abstract double MinScale { get; set; }
Property Value¶
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¶
IsRotationEnabled¶
Gets or sets a value indicating whether rotation gestures are enabled.
public abstract bool IsRotationEnabled { get; set; }
Property Value¶
PivotXInScreen¶
Gets the X coordinate of the pivot point in screen space.
public abstract double PivotXInScreen { get; }
Property Value¶
PivotYInScreen¶
Gets the Y coordinate of the pivot point in screen space.
public abstract double PivotYInScreen { get; }
Property Value¶
Events¶
SingleTap¶
Occurs when the user performs a single tap on the map.
public abstract event EventHandler<SingleTapMapViewEventArgs> SingleTap;