Changeset 29204 in osm for applications/editors/josm/plugins/smed2/src/seamap/Rules.java
- Timestamp:
- 2013-01-19T15:50:02+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/seamap/Rules.java
r29202 r29204 148 148 AttItem name = feature.atts.get(Att.OBJNAM); 149 149 if ((zoom >= 10) && (name != null)) 150 Renderer.labelText(feature, (String) name.val, new Font("Arial", Font.BOLD, 150), null); 150 Renderer.labelText(feature, (String) name.val, new Font("Arial", Font.BOLD, 150), new Color(0x80c480ff), null); 151 151 break; 152 152 case TSELNE: … … 170 170 } 171 171 if ((zoom >= 15) && (name != null)) 172 Renderer.labelText(feature, (String) name.val, new Font("Arial", Font.BOLD, 80), new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, -90))); 172 Renderer.labelText(feature, (String) name.val, new Font("Arial", Font.BOLD, 80), Color.black, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, -90))); 173 173 break; 174 174 case MARCUL: … … 195 195 Renderer.lineVector(feature, new LineStyle(Color.black, 8, new float[] { 25, 25 }, null)); 196 196 if ((zoom >= 12) && (name != null)) 197 Renderer.labelText(feature, (String) name.val, new Font("Arial", Font.PLAIN, 100), new Delta(Handle.CC, AffineTransform.getTranslateInstance(0, 0))); 197 Renderer.labelText(feature, (String) name.val, new Font("Arial", Font.PLAIN, 100), Color.black, new Delta(Handle.CC, AffineTransform.getTranslateInstance(0, 0))); 198 198 break; 199 199 case RESARE: 200 200 if (zoom >= 12) { 201 201 Renderer.lineSymbols(feature, Areas.Restricted, 1.0, null, 0); 202 if ((CatREA)Renderer.getAttVal(feature, feature.type, 0, Att.CATREA) == CatREA.REA_NWAK) 203 Renderer.symbol(feature, Areas.NoWake, Obj.RESARE, null); 202 // if ((CatREA)Renderer.getAttVal(feature, feature.type, 0, Att.CATREA) == CatREA.REA_NWAK) 203 // Renderer.symbol(feature, Areas.NoWake, Obj.RESARE, null); 204 204 } 205 205 break; … … 209 209 Renderer.lineVector(feature, new LineStyle(Color.black, 20, new float[] { 40, 40 }, null)); 210 210 if ((zoom >= 15) && (name != null)) 211 Renderer.labelText(feature, (String) name.val, new Font("Arial", Font.BOLD, 80), new Delta(Handle.TC, AffineTransform.getTranslateInstance(0, 10))); 211 Renderer.labelText(feature, (String) name.val, new Font("Arial", Font.BOLD, 80), Color.black, new Delta(Handle.TC, AffineTransform.getTranslateInstance(0, 10))); 212 212 } 213 213 break;
Note:
See TracChangeset
for help on using the changeset viewer.
