Revision 28962 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/VectorialIntervalLegend.java

View differences:

VectorialIntervalLegend.java
205 205
                           .getDescription());
206 206
            }
207 207
        }
208

  
209
        shapeType = xml.getIntProperty("shapeType");
210

  
208
		if (xml.contains("shapeType")){
209
			shapeType = xml.getIntProperty("shapeType");
210
		}
211 211
        startColor = StringUtilities.string2Color(xml.getStringProperty(
212 212
                    "startColor"));
213 213
        endColor = StringUtilities.string2Color(xml.getStringProperty(

Also available in: Unified diff