Changes between Version 2 and Version 3 of Help/Styles/MapCSSTutorial


Ignore:
Timestamp:
2011-02-10T17:25:43+01:00 (13 years ago)
Author:
bastiK
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSTutorial

    v2 v3  
    4343</table>
    4444}}}
    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:
     45Here we have all residential roads drawn in lightgray and with line width 4 px. Color can be given in one of the following formats:
    4646 * named color as found in [http://www.w3.org/TR/css3-color/#svg-color this] list
    4747 * html style: '''{{{#ff0000}}}'''
     
    9494}}}
    9595
    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.
     96The '''{{{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.
    9797
    9898=== Example 5 ===