Maptitude GISDK Help |
Sets the projection and coordinate system used in a map.
SetMapProjection(string map_name, string proj_name, array parameters)
Argument |
Contents |
map_name |
The name of the map, or null for the current map |
proj_name |
The name of the projection; see Notes |
parameters |
An array of projection parameters (strings); see Notes |
If the map has an image layer, SetMapProjection() cannot change the projection from that of the image layer. You must drop the image layer to change the projection of the map.
For more details on the name of the projection (using the abbreviation) and the projection parameters, see Custom Coordinate System.
// Change the map's projection to UTM, zone 19, meters
SetMapProjection(null, "utm", {"zone=19", "ellps=GRS80"})
// Change the map's projection to 1983 State Plane, Massachusetts Mainland, US Survey Feet
SetMapProjection(null, "nad83:2001", {"units=us-ft"})
Function |
Summary |
Sets options for a map window |
|
Returns the projection and coordinate system used in a map |
|
Returns a valid scope for a particular projection |
©2025 Caliper Corporation | www.caliper.com |