IMapView¶
Namespace: ThinkGeo.UI.Maui
public interface IMapView
Properties¶
MapUnit¶
Gets or sets the GeographyUnit for the map.
public abstract GeographyUnit MapUnit { get; set; }
Property Value¶
GeographyUnit
The GeographyUnit object that indicates which geography unit the
map is currently using.
CanvasWidth¶
Gets or sets the width of current map object in screen coordinate.It would be the same as ScreenHeight if the map is in rotation
public abstract double CanvasWidth { get; }
Property Value¶
CanvasHeight¶
Gets or sets the height of current map object in screen coordinate.It would be the same as ScreenHeight if the map is in rotation
public abstract double CanvasHeight { get; }
Property Value¶
MapWidth¶
public abstract double MapWidth { get; }
Property Value¶
MapHeight¶
public abstract double MapHeight { get; }
Property Value¶
MapRotation¶
public abstract double MapRotation { get; set; }
Property Value¶
MapScale¶
Gets or sets the current scale of the map
public abstract double MapScale { get; set; }
Property Value¶
TargetMapScale¶
Gets or sets the target map scale, it's only used when AnimationSettings is MapAnimationType.DrawWithAnimation
public abstract double TargetMapScale { get; set; }
Property Value¶
MaxScale¶
This property gets and sets a maximum scale when navigating the map.
When you keep zooming out, and the target scale is bigger than the maximum scale, the zooming operation will be stopped.
public abstract double MaxScale { get; set; }
Property Value¶
MinScale¶
This property gets and sets a minimum scale when navigating the map.
When you keep zooming in, and the target scale is smaller than the minimum scale, the zooming operation will be stopped.
public abstract double MinScale { get; set; }
Property Value¶
CenterPoint¶
Gets or sets the Center Point
public abstract PointShape CenterPoint { get; set; }
Property Value¶
PointShape
TargetCenterPoint¶
Gets or sets the target Center Point, it's only used when AnimationSettings is MapAnimationType.DrawWithAnimation
public abstract PointShape TargetCenterPoint { get; set; }
Property Value¶
PointShape
ScaleFactor¶
public abstract double ScaleFactor { get; set; }
Property Value¶
IsRotationEnabled¶
public abstract bool IsRotationEnabled { get; set; }
Property Value¶
PivotXInScreen¶
public abstract double PivotXInScreen { get; }
Property Value¶
PivotYInScreen¶
public abstract double PivotYInScreen { get; }
Property Value¶
Events¶
SingleTap¶
public abstract event EventHandler<SingleTapMapViewEventArgs> SingleTap;