Revision 28966
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java | ||
---|---|---|
1222 | 1222 |
* respecto a versiones anteriores, la leyenda que se ha cargado |
1223 | 1223 |
* no se corresponde con el tipo de shape de la capa. |
1224 | 1224 |
*/ |
1225 |
if (leg.getShapeType() != this.getShapeType()){ |
|
1225 |
int legShapeType = leg.getShapeType(); |
|
1226 |
if (legShapeType != 0 && legShapeType != this.getShapeType()){ |
|
1226 | 1227 |
leg = LegendFactory.createSingleSymbolLegend(this.getShapeType()); |
1227 | 1228 |
logger.warn("Legend shape type and layer shape type does not match."); |
1228 | 1229 |
} |
Also available in: Unified diff