Skip to content

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

Double

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

Double

MapWidth

public abstract double MapWidth { get; }

Property Value

Double

MapHeight

public abstract double MapHeight { get; }

Property Value

Double

MapRotation

public abstract double MapRotation { get; set; }

Property Value

Double

MapScale

Gets or sets the current scale of the map

public abstract double MapScale { get; set; }

Property Value

Double

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

Double

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

Double

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

Double

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

Double

IsRotationEnabled

public abstract bool IsRotationEnabled { get; set; }

Property Value

Boolean

PivotXInScreen

public abstract double PivotXInScreen { get; }

Property Value

Double

PivotYInScreen

public abstract double PivotYInScreen { get; }

Property Value

Double

Events

SingleTap

public abstract event EventHandler<SingleTapMapViewEventArgs> SingleTap;