Maptitude GISDK Help

SetMapProjection()

Summary

Sets the projection and coordinate system used in a map.

 

Syntax

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

 

Notes

Examples

// 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"})

 

See Also

Function

Summary

SetMapOptions()

Sets options for a map window

GetMapProjection()

Returns the projection and coordinate system used in a map

GetProjectionScope()

Returns a valid scope for a particular projection

 

 

©2025 Caliper Corporation www.caliper.com