Re: [OpenMap Users] Changing Length Units to KM

From: Don Dietrick <dietrick@bbn.com>
Date: Mon Mar 03 2003 - 17:29:21 EST

Hi Matt,

Try:

prefix.units=km or perfix.units=kilometer. You can use either the name
or abbreviation that is set in the Length object.

- Don

On Monday, March 3, 2003, at 04:40 PM, Matt Brennan wrote:

> Hello,
> I am an OpenMap newbie still getting my head around property file
> usage and such. I'm really impressed with the architecture and
> oportunities to customise and extend. Congrats to bbn. :-)
>
> I'd like to set the DistanceMouseMode to display distances in
> kilometers. I can see how to do this programatically but would like to
> use the properties files to do same.
>
> The code (DistanceMouseMode.java) suggests:
>
> prefix.units= < name for Length.java (km, miles, meters, nm) >
>
> I've tried a bunch of things along the lines of:
>
> distanceMouseMode.units=com.bbn.openmap.proj.Length.KM
>
> and various permutations but without success (distance mouse mode is
> included as a component and its .class is set) - miles are still
> displayed!
>
> Any tips here? I guess the key is understanding the properties
> files... eventually. :-)
>
> Thanks and regards,
>
> matt
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Mar 3 17:29:57 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:35 EDT