Changes between Version 6 and Version 7 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2011-03-27T15:00:58+02:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v6 v7 1 This page documents details on JOSM's [http://wiki.openstreetmap.org/wiki/MapCSS/0.2 MapCSS] implementation. At the moment ( Feb-2011) it is under active development and anything may change without warning.1 This page documents details on JOSM's [http://wiki.openstreetmap.org/wiki/MapCSS/0.2 MapCSS] implementation. At the moment (Mar-2011) it is under active development and anything may change without warning. 2 2 [[TOC(inline)]] 3 3 == General Structure == … … 90 90 || {{{:new}}} || all new objects || 91 91 || {{{:connection}}} || true for nodes that are used by more than one way || 92 || {{{:tagged}}} || What JOSM considers tagged, i.e. an object that with a tag key other than the following: {{{source*, source_ref, note, comment, converted_by, created_by, watch*, fixme, FIXME, description, attribution}}} (version r4008; in this list, {{{*}}} is a glob) 92 93 {{{#!comment 93 94 || {{{:modified}}} || changed objects (Note that the styles are not updated when you move a node, so you have to switch the style sheet on and off to get an updated view.) || … … 342 343 is_prop_set(''p_name'', ''layer_name''):: 343 344 true, if property ''p_name'' is set 344 get_tag_value(''key_name'')::345 tag(''key_name''):: 345 346 get the value of the key ''key_name'' from the object in question 346 347 has_tag_key(''key_name''):: … … 372 373 node[addr:housenumber] { 373 374 symbol-shape: circle; 374 symbol-size: eval((min(length( get_tag_value("addr:housenumber")), 3) * 5) + 3);375 symbol-size: eval((min(length(tag("addr:housenumber")), 3) * 5) + 3); 375 376 symbol-fill-color: #B0E0E6; 376 377