[OpenMap Users] Layer names

From: Ben Podoll <benjamin.podoll_at_und.edu>
Date: Tue, 3 Aug 2004 14:31:51 -0500

If I print layer.toString() I get something like this:

com.bbn.openmap.layer.shape.ShapeLayer[US
Rivers,0,0,0x0,invalid,hidden,alignmentX=null,alignmentY=null,border=,flags=
0,maximumSize=,minimumSize=,preferredSize=]

Why does it get the prettyName as the layer.getName() shouldn't there be a
layer.getPrettyName() and layer.getName()?

The above example I have pretty name of this layer set to "US Rivers" and
the actual name of the layer (as defined in the openmap.properties) is
"usRivers".

I would much rather work with the actual name rather than the pretty name...
Is there a way to get to that or is it lost once it is inside the
LayerHandler?

~Ben


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Aug 03 2004 - 15:33:32 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT