Changes between Version 2 and Version 3 of Help/Styles/MapCSSTutorial
- Timestamp:
- 2011-02-10T17:25:43+01:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSTutorial
v2 v3 43 43 </table> 44 44 }}} 45 Here we have all residential roads drawn in lightgray and with line width 4 px. Color can be given in one of the followin formats:45 Here we have all residential roads drawn in lightgray and with line width 4 px. Color can be given in one of the following formats: 46 46 * named color as found in [http://www.w3.org/TR/css3-color/#svg-color this] list 47 47 * html style: '''{{{#ff0000}}}''' … … 94 94 }}} 95 95 96 The '''{{{area}}}''' type selector acts on ways and multipolygon relations. Note that the outline of the building is painted as well, although we haven't specefied any line properties. This is because JOSM will alway draw at least one line element for each way. If no line properties are found, a default line element is generated.96 The '''{{{area}}}''' type selector acts on ways and multipolygon relations. The condition '''{{{[building]}}}''' applies for all objects that have the key {{{building}}} set to any value. Note that the outline of the building is painted as well, although we haven't specified any line properties. This is because JOSM will alway draw at least one line element for each way. If no line properties are found, a default line element is generated. 97 97 98 98 === Example 5 ===