Maptitude GISDK Help |
Gets coordinates at the four corners of a map.
Added to Version 5.0.
map_corners = GetMapCorners(string map_name)
Argument |
Contents |
map_name |
The name of the map, or null for the current map |
An array of four coordinates, starting at the southwest corner, and going clockwise:
Element |
Type |
Contents |
1 |
Coord |
Lower left longitude/latitude |
2 |
Coord |
Upper left longitude/latitude |
3 |
Coord |
Upper right longitude/latitude |
4 |
Coord |
Lower right longitude/latitude |
GetMapCorners() returns a NotFound error if a map corner is outside the map projection.
Error Type |
Meaning |
NotFound |
The specified map does not exist or a map corner is outside the map projection |
Function |
Summary |
Gets coordinates at the four corners of a given scope |
©2025 Caliper Corporation | www.caliper.com |