| Maptitude GISDK Help |
Translates a map pixel X-Y coordinate to longitude and latitude.
c = MapPixelXYToCoord(string map_name, array x_and_y)
| Argument | Contents |
|---|---|
| map_name | The map whose coordinate system is used |
| x_and_y | A two-element array containing the x-value and y-value of the coordinate to be transformed |
A coordinate indicating the longitude and latitude of the point.
The input values are relative to the upper left corner of the map window.
If the map_name is null the current map is used.
| Error Type | Meaning |
|---|---|
| Error | Translation has failed |
| Function | Summary |
|---|---|
| MapCoordToPixelXY() | Translates a longitude-latitude coordinate to a map pixel X-Y coordinate |
| MapCoordToXY() | Translates a longitude-latitude coordinate to a local map X-Y coordinate |
| MapXYToCoord() | Translates a local map X-Y coordinate to longitude and latitude |
| ©2025 Caliper Corporation | www.caliper.com |