If I run from the mapbasic window the following two lines
print mapperinfo(frontwindow(),12)
print mapperinfo(frontwindow(),1)
I obtain the "distance unit name" and the "zoom value" (i.e. the East-West
distance currently displayed in the map window) specified in MB's current
distance unit (that was a full quote from the MB Reference)
Let us say "mi" and 464.1 (The zoom box reads also 464.1 mi)
Then if I run
set distance units "km"
and the same two lines above, I will get "km" and 466.028 (The zoom box
reads 750 km)
I know that with regular MB (i.e. no API call) one cannot change the "paper"
unit that is displayed in the scale box of a mapper (one must go through
Preferences) even though the change is effective in the measurements of a
window.
Must one go through the mapper options to really change that distance unit?
(I guess no, I tried to no avail)
How come the "printed" zoom value gets altered (not converted) if the
distance unit is changed?
Am I on a wrong path?
TIA
Jacques Paris
p.s. version 4.5 and up, including 5.5 beta
============================================================
e-mail [EMAIL PROTECTED]
alternate [EMAIL PROTECTED]
gis activity (MapInfo mainly)
http://www.total.net/~rparis/gisproducts.htm
============================================================
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]