The requested page is not available for the requested platform. You are viewing the content for Default platform.

ProjectionBase Members

The base class for all projections used in the MapControl.

Fields

Name Description
LatToKilometersRatio

Defines the ratio of 1 latitude degree to 1 kilometer.

LonToKilometersRatio

Defines the ratio of 1 longitude degree to 1 kilometer.

Properties

Name Description
OffsetX

Gets or sets the horizontal offset for this projection.

OffsetY

Gets or sets the vertical offset for this projection.

ScaleX

Gets or sets a value that defines the ratio of map units to degrees of longitude (in radians).

ScaleY

Gets or sets a value that defines the ratio of map units to degrees of latitude (in radians).

Methods

Name Description
GeoPointToMapUnit(GeoPoint)

Converts the specified geographical point into internal map units.

GeoToKilometersSize(GeoPoint, Size)

Converts the specified size in geographical points into the corresponding size in kilometers for the specified anchor point.

KilometersToGeoSize(GeoPoint, Size)

Converts the specified size in kilometers into the corresponding size in geographical points for the specified anchor point.

MapUnitToGeoPoint(MapUnit)

Converts the specified map unit into the corresponding geographical point.

See Also