Changeset 7470 in josm for trunk/styles/standard/elemstyles.mapcss
- Timestamp:
- 2014-08-30T15:10:30+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/styles/standard/elemstyles.mapcss
r7467 r7470 3292 3292 node[natural=saddle] { 3293 3293 icon-image: "presets/saddle.svg"; 3294 set icon_z 11;3295 text: auto; 3296 set text_z 11;3294 set icon_z0; 3295 text: auto; 3296 set text_z0; 3297 3297 } 3298 3298 area[natural=peak] { … … 3301 3301 node[natural=peak] { 3302 3302 icon-image: "presets/peak.svg"; 3303 set icon_z 11;3304 text: auto; 3305 set text_z 11;3303 set icon_z0; 3304 text: auto; 3305 set text_z0; 3306 3306 } 3307 3307 node[natural=peak][tourism=viewpoint] { 3308 3308 icon-image: "sightseeing/peak_viewpoint.svg"; 3309 set icon_z 11;3310 text: auto; 3311 set text_z 11;3309 set icon_z0; 3310 text: auto; 3311 set text_z0; 3312 3312 } 3313 3313 area[natural=glacier] { … … 3316 3316 node[natural=glacier] { 3317 3317 icon-image: "misc/landmark/glacier_small.png"; 3318 set icon_z 11;3319 text: auto; 3320 set text_z 11;3318 set icon_z0; 3319 text: auto; 3320 set text_z0; 3321 3321 } 3322 3322 area[natural=volcano] { … … 3325 3325 node[natural=volcano] { 3326 3326 icon-image: "misc/landmark/volcano_small.png"; 3327 set icon_z 11;3328 text: auto; 3329 set text_z 11;3327 set icon_z0; 3328 text: auto; 3329 set text_z0; 3330 3330 } 3331 3331 area[natural=cliff]:closed { … … 3973 3973 node[mountain_pass?] { 3974 3974 icon-image: "misc/landmark/mountain_pass.png"; 3975 set icon_z 11;3976 text: auto; 3977 set text_z 11;3975 set icon_z0; 3976 text: auto; 3977 set text_z0; 3978 3978 } 3979 3979 … … 4133 4133 node["openGeoDB:location"=locality] { 4134 4134 icon-image: "place/settlement/town.png"; 4135 set icon_z 11;4136 text: auto; 4137 set text_z 11;4135 set icon_z0; 4136 text: auto; 4137 set text_z0; 4138 4138 font-size: 10; 4139 4139 font-weight: bold; … … 4166 4166 node[place=county] { 4167 4167 icon-image: "place/settlement/capital.png"; 4168 set icon_z 11;4169 text: auto; 4170 set text_z 11;4168 set icon_z0; 4169 text: auto; 4170 set text_z0; 4171 4171 font-size: 10; 4172 4172 font-weight: bold; … … 4177 4177 node[place=city] { 4178 4178 icon-image: "place/settlement/city.png"; 4179 set icon_z 11;4180 text: auto; 4181 set text_z 11;4179 set icon_z0; 4180 text: auto; 4181 set text_z0; 4182 4182 font-size: 10; 4183 4183 font-weight: bold; … … 4194 4194 node[place=suburb] { 4195 4195 icon-image: "place/settlement/town.png"; 4196 set icon_z 11;4197 text: auto; 4198 set text_z 11;4196 set icon_z0; 4197 text: auto; 4198 set text_z0; 4199 4199 font-size: 10; 4200 4200 font-weight: bold; … … 4205 4205 node[place=locality] { 4206 4206 icon-image: "place/locality.png"; 4207 set icon_z 11;4208 text: auto; 4209 set text_z 11;4207 set icon_z0; 4208 text: auto; 4209 set text_z0; 4210 4210 font-size: 10; 4211 4211 font-weight: bold; … … 4216 4216 node[place=island] { 4217 4217 icon-image: "place/island.png"; 4218 set icon_z 11;4219 text: auto; 4220 set text_z 11;4218 set icon_z0; 4219 text: auto; 4220 set text_z0; 4221 4221 font-size: 10; 4222 4222 font-weight: bold; … … 4227 4227 node[place=islet] { 4228 4228 icon-image: "place/islet.png"; 4229 set icon_z 11;4230 text: auto; 4231 set text_z 11;4229 set icon_z0; 4230 text: auto; 4231 set text_z0; 4232 4232 font-size: 10; 4233 4233 font-weight: bold; … … 4268 4268 /* 4269 4269 Summary of different zoom levels: 4270 |z11- place=* icons andtext is shown4271 |z-15 untagged way nodes are hidden completely4272 |z16- fixme=* and note=* symbols4273 |z17- normal POI icons (without text),4274 street name along highway=* ways4275 |z18- text for normal POI icons is shown4270 (any zoom) place=* and a few natural icons with their text is shown 4271 |z-15 untagged way nodes are hidden completely 4272 |z16- fixme=* and note=* symbols 4273 |z17- normal POI icons (without text), 4274 street name along highway=* ways 4275 |z18- text for normal POI icons is shown 4276 4276 4277 4277 * text size and node size is adapted according to zoom level (see style source below) … … 4320 4320 node[!setting("shrink_nodes")]:connection { symbol-size: 6; } 4321 4321 4322 node|z-10[setting("hide_icons")] { 4323 icon-image: none; 4324 } 4325 node|z-16[setting("hide_icons")].icon_z17!.icon_z11, 4322 node|z-16[setting("hide_icons")].icon_z17!.icon_z0, 4326 4323 relation|z-16[type=restriction][setting("hide_icons")] { 4327 4324 icon-image: none; 4328 4325 } 4329 node|z-10[setting("hide_icons")] { 4330 text: none; 4331 } 4332 node|z-17[setting("hide_icons")]!.text_z11 { 4326 node|z-17[setting("hide_icons")]!.text_z0 { 4333 4327 text: none; 4334 4328 }
Note:
See TracChangeset
for help on using the changeset viewer.