Skip to content

IMapArguments

Namespace: ThinkGeo.Core

public interface IMapArguments

Properties

MapUnit

public abstract GeographyUnit MapUnit { get; }

Property Value

GeographyUnit

MapWidth

public abstract double MapWidth { get; }

Property Value

Double

MapHeight

public abstract double MapHeight { get; }

Property Value

Double

RotationAngle

public abstract double RotationAngle { get; }

Property Value

Double

PivotScreenPoint

public abstract ScreenPointF PivotScreenPoint { get; }

Property Value

ScreenPointF

PivotWorldPoint

public abstract PointShape PivotWorldPoint { get; }

Property Value

PointShape

ZoomScales

public abstract Collection<double> ZoomScales { get; }

Property Value

Collection<Double>

CurrentResolution

public abstract double CurrentResolution { get; }

Property Value

Double

CurrentScale

public abstract double CurrentScale { get; }

Property Value

Double

MaximumScale

public abstract double MaximumScale { get; }

Property Value

Double

MinimumScale

public abstract double MinimumScale { get; }

Property Value

Double

CurrentExtent

public abstract RectangleShape CurrentExtent { get; }

Property Value

RectangleShape

CenterPoint

public abstract PointShape CenterPoint { get; }

Property Value

PointShape

ScaleFactor

public abstract float ScaleFactor { get; }

Property Value

Single

ZoomLevelSnappingMode

public abstract ZoomLevelSnappingMode ZoomLevelSnappingMode { get; }

Property Value

ZoomLevelSnappingMode

CancellationTokenSource

public abstract CancellationTokenSource CancellationTokenSource { get; }

Property Value

CancellationTokenSource

Methods

ToWorldCoordinate(ScreenPointF)

PointShape ToWorldCoordinate(ScreenPointF screenCoordinate)

Parameters

screenCoordinate ScreenPointF

Returns

PointShape

GetSnappedZoomLevelIndex(RectangleShape)

int GetSnappedZoomLevelIndex(RectangleShape extent)

Parameters

extent RectangleShape

Returns

Int32

GetSnappedZoomLevelIndex(Double)

int GetSnappedZoomLevelIndex(double scale)

Parameters

scale Double

Returns

Int32

GetSnappedExtent(RectangleShape, ZoomSnapDirection)

RectangleShape GetSnappedExtent(RectangleShape extent, ZoomSnapDirection zoomSnapDirection)

Parameters

extent RectangleShape

zoomSnapDirection ZoomSnapDirection

Returns

RectangleShape