Revision 27773
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameScaleBar.java | ||
---|---|---|
303 | 303 |
*/ |
304 | 304 |
public void setUnits(int s) { |
305 | 305 |
m_units = s; |
306 |
m_typeUnit = Attributes.CHANGE[s]; |
|
306 |
m_typeUnit = MapContext.getDistanceTrans2Meter()[s]*100;//Attributes.CHANGE[s];
|
|
307 | 307 |
m_nameUnit = PluginServices.getText(this,MapContext.getDistanceNames()[s]); |
308 | 308 |
} |
309 | 309 |
|
Also available in: Unified diff