tkgeomap(n) Tcl Extensions tkgeomap_procstkgeomap(n)NAME
xytolatlon, latlontoxy - supplementary procedures for geomap_lnarr and
geomap_place items.
VERSION
2
SYNOPSIS
package require tkgeomap_procs ?2?
geomap::xytolatlon cvs tagOrId x y
geomap::latlontoxy cvs tagOrId {lat lon}
DESCRIPTION
The tkgeomap_procs package provides procedures to use with geomap_lnarr
and geomap_place canvas items. See the tkgeomap (n) man page for
information about these items.
COMMANDS
geomap::xytolatlon cvs tagOrId x y
This procedure returns the {lat lon} at the point with canvas
coordinates x y using the reference point, projection, scale and
rotation from the item given by tagOrId in canvas cvs. The item
must be a geomap_lnarr or geomap_place item.
geomap::latlontoxy cvs tagOrId {lat lon}
This procedure returns the canvas coordinates of the point at
geographic location lat lon using the reference point, projec‐
tion, scale and rotation from the item given by tagOrId in can‐
vas cvs. The item must be a geomap_lnarr or geomap_place item.
FILES
These procedures are part of the tkgeomap_procs package, which is
defined in file tkgeomap_procs.tcl of the tkgeomap installation.
AUTHOR
Gordon Carrie <user0@tkgeomap.org>
Tk 2 tkgeomap(n)