Maptitude GISDK Help

GetMapCorners()

Summary

Gets coordinates at the four corners of a map.

 

Changes

Added to Version 5.0.

 

Syntax

map_corners = GetMapCorners(string map_name)

 

Argument

Contents

map_name

The name of the map, or null for the current map

 

Returns

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

 

Notes

Error Codes

Error Type

Meaning

NotFound

The specified map does not exist or a map corner is outside the map projection

 

See Also

Function

Summary

GetScopeCorners()

Gets coordinates at the four corners of a given scope

 

 

©2025 Caliper Corporation www.caliper.com