| Maptitude GISDK Help |
Translates a longitude-latitude coordinate to a map pixel X-Y coordinate.
xy = MapCoordToPixelXY(string map_name, coordinate c)
| Argument | Contents |
|---|---|
| map_name | The map whose coordinate system is used |
| c | The coordinate that is translated |
An array of two integers, the x-value and the y-value.
The returned 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 |
|---|---|
| MapCoordToXY() | Translates a longitude-latitude coordinate to a local map X-Y coordinate |
| MapPixelXYToCoord() | Translates a map pixel X-Y coordinate to longitude and latitude |
| MapXYToCoord() | Translates a local map X-Y coordinate to longitude and latitude |
| ©2025 Caliper Corporation | www.caliper.com |