Copyright (c) 2004 Gordon D. Carrie. All rights reserved.

Licensed under the Open Software License version 2.1

Please address questions and feedback to user0@tkgeomap.org

@(#) $Id: tkgeomap_procs.n,v 1.5 2004/09/22 21:28:12 tkgeomap Exp $

tkgeomap n 2 Tk "Tcl Extensions tkgeomap_procs"
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, projection, scale and rotation from the item given by tagOrId in canvas 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>