Map Projections

You can identify and modify the projection that is used on each map in a GISDK application, and convert between longitude-latitude and a map window X-Y coordinate or a local map X-Y coordinate, using these GISDK functions:

GISDK Function Summary
GetMapCorners() Gets coordinates at the four corners of a map
GetMapProjection() Returns the projection and coordinate system used in a map
GetProjectionScope() Returns a valid scope for a particular projection
MapCoordToPixelXY() Translates a longitude-latitude coordinate to a map pixel X-Y coordinate
MapCoordToXY() Translates a longitude-latitude coordinate to a local X-Y coordinate, according to map projection
MapPixelXYToCoord() Translates a map pixel X-Y coordinate to longitude and latitude
MapXYToCoord() Translates a local map X-Y coordinate to a longitude-latitude coordinate
SetMapProjection() Sets the projection and coordinate system used in a map

For more details on projections and coordinate systems, see Using Projections and Coordinate Systems.