Revision 27774 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameScaleBar.java

View differences:

FFrameScaleBar.java
306 306
     */
307 307
    public void setUnits(int s) {
308 308
        m_units = s;
309
        m_typeUnit = Attributes.CHANGE[s];
309
        m_typeUnit =  MapContext.getDistanceTrans2Meter()[s]*100;//Attributes.CHANGE[s];
310 310
        m_nameUnit = PluginServices.getText(this,MapContext.getDistanceNames()[s]);
311 311
    }
312 312

  

Also available in: Unified diff