Changeset 3774
- Timestamp:
- 05/04/11 12:40:38 (13 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
print/trunk/src/main/java/org/mapfish/print/map/renderers/vector/PointRenderer.java
r3758 r3774 91 91 float offsetX = style.optFloat("graphicXOffset", -width / 2.0f); 92 92 float offsetY = style.optFloat("graphicYOffset", -height / 2.0f); 93 93 94 // See Feature/Vector.js for more information about labels 95 String label = style.optString("label"); 96 94 97 if (style.optString("externalGraphic") != null) { 95 98 float opacity = style.optFloat("graphicOpacity", style.optFloat("fillOpacity", 1.0f)); … … 122 125 dc.closePath(); 123 126 dc.fillStroke(); 124 125 } else { 127 } else if (label != null && label.length() > 0) { 128 // rendered by LabelRenderer 129 } else { 126 130 PolygonRenderer.applyStyle(context, dc, style, state); 127 131 dc.setGState(state);
