Revision 47471
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/impl/DefaultMapContextManager.java | ||
---|---|---|
115 | 115 |
private static final Logger LOGGER = LoggerFactory |
116 | 116 |
.getLogger(DefaultMapContextManager.class); |
117 | 117 |
|
118 |
private static final double DEFAULT_SYMBOL_TRANSPARENCY = 0.6; |
|
119 |
|
|
118 | 120 |
private Class drawerClazz = DefaultMapContextDrawer.class; |
119 | 121 |
|
120 | 122 |
private final Map<String,Class<ILegend>> legends = new HashMap(); |
... | ... | |
384 | 386 |
GeometryUtils.isSubtype(Geometry.TYPES.SURFACE,shapeType) || |
385 | 387 |
GeometryUtils.isSubtype(Geometry.TYPES.MULTISURFACE,shapeType) ) |
386 | 388 |
) { |
387 |
((TransparencySupport)symbol).setTransparency(0.6);
|
|
389 |
((TransparencySupport)symbol).setTransparency(DEFAULT_SYMBOL_TRANSPARENCY);
|
|
388 | 390 |
} |
389 | 391 |
legend.setDefaultSymbol(symbol); |
390 | 392 |
return legend; |
Also available in: Unified diff