IMapArguments¶
Namespace: ThinkGeo.Core
Defines the IMapArguments interface.
public interface IMapArguments
Properties¶
MapUnit¶
Gets or sets the MapUnit.
public abstract GeographyUnit MapUnit { get; }
Property Value¶
MapWidth¶
Gets or sets the MapWidth.
public abstract double MapWidth { get; }
Property Value¶
MapHeight¶
Gets or sets the MapHeight.
public abstract double MapHeight { get; }
Property Value¶
RotationAngle¶
Gets or sets the RotationAngle.
public abstract double RotationAngle { get; }
Property Value¶
PivotScreenPoint¶
Gets or sets the PivotScreenPoint.
public abstract ScreenPointF PivotScreenPoint { get; }
Property Value¶
PivotWorldPoint¶
Gets or sets the PivotWorldPoint.
public abstract PointShape PivotWorldPoint { get; }
Property Value¶
ZoomScales¶
Gets or sets the ZoomScales.
public abstract Collection<double> ZoomScales { get; }
Property Value¶
CurrentResolution¶
Gets or sets the CurrentResolution.
public abstract double CurrentResolution { get; }
Property Value¶
CurrentScale¶
Gets or sets the CurrentScale.
public abstract double CurrentScale { get; }
Property Value¶
MaximumScale¶
Gets or sets the MaximumScale.
public abstract double MaximumScale { get; }
Property Value¶
MinimumScale¶
Gets or sets the MinimumScale.
public abstract double MinimumScale { get; }
Property Value¶
CurrentExtent¶
Gets or sets the CurrentExtent.
public abstract RectangleShape CurrentExtent { get; }
Property Value¶
CenterPoint¶
Gets or sets the CenterPoint.
public abstract PointShape CenterPoint { get; }
Property Value¶
ScaleFactor¶
Gets or sets the ScaleFactor.
public abstract float ScaleFactor { get; }
Property Value¶
CancellationTokenSource¶
Gets or sets the CancellationTokenSource.
public abstract CancellationTokenSource CancellationTokenSource { get; }
Property Value¶
Methods¶
ToWorldCoordinate(ScreenPointF)¶
Converts this instance to a PointShape.
PointShape ToWorldCoordinate(ScreenPointF screenCoordinate)
Parameters¶
screenCoordinate ScreenPointF
The screen coordinate.
Returns¶
PointShape
The result of the operation.
GetSnappedZoomLevelIndex(RectangleShape)¶
Returns snapped zoom level index for .
int GetSnappedZoomLevelIndex(RectangleShape extent)
Parameters¶
extent RectangleShape
The world extent represented by the canvas during the drawing session.
Returns¶
int
The result of the operation.
GetSnappedZoomLevelIndex(double)¶
Returns snapped zoom level index for .
int GetSnappedZoomLevelIndex(double scale)
Parameters¶
scale double
The scale factor to apply.
Returns¶
int
The result of the operation.
GetSnappedExtent(RectangleShape, ZoomSnapDirection)¶
Returns snapped extent for the specified parameters.
RectangleShape GetSnappedExtent(RectangleShape extent, ZoomSnapDirection zoomSnapDirection)
Parameters¶
extent RectangleShape
The world extent represented by the canvas during the drawing session.
zoomSnapDirection ZoomSnapDirection
The rectangle that defines the area of interest.
Returns¶
RectangleShape
The result of the operation.