Changes between Version 14 and Version 15 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2011-07-28T00:02:03+02:00 (14 years ago)
Author:
bastiK
Comment:

update to r4272

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v14 v15  
    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.
     1This page documents details on JOSM's [http://wiki.openstreetmap.org/wiki/MapCSS/0.2 MapCSS] implementation. At the moment (Jul-2011) it is under active development and anything may change without warning.
    22[[TOC(inline)]]
    33== General Structure ==
     
    561561|| {{{icon-image}}} || The icon at node position || ''Image'' ||  -  ||
    562562|| {{{icon-opacity}}} || Opacity of the icon image || ''Opacity'' ||  1.0  ||
    563 || {{{icon-size}}} || Size of the icon. It will be scaled proportionally, such that the larger side (width or height) has the given length. The icon will keep the original size, if this property is not set. || ''Number'' ||  -  ||
     563|| {{{icon-width}}} || Width of the icon. If only one of the properties {{{icon-width}}} and {{{icon-height}}} is given, the image will be scaled proportionally. The icon will keep the original size, if neither {{{icon-width}}} nor {{{icon-height}}} is set. || ''Number'' ||  -  ||
     564|| {{{icon-height}}} || Height of the icon. (See {{{icon-width}}}) || ''Number'' ||  -  ||
    564565|| {{{symbol-shape}}}                               || Display a symbol at the position of the node || {{{square}}}, {{{circle}}}, {{{triangle}}}, {{{pentagon}}}, {{{hexagon}}}, {{{heptagon}}}, {{{octagon}}}, {{{nonagon}}}, {{{decagon}}} ||  -  ||
    565566|| {{{symbol-size}}} || Size of the symbol || ''Number'', can be relative ("+4") ||  10  ||
     
    802803
    803804==== Properties ====
    804 At the moment, JOSM does not support the following properties:
     805At the moment, JOSM does ''not'' support the following properties:
    805806 canvas: ::
    806807  {{{fill-color}}} is called {{{background-color}}}, the rest is not supported
    807808 line: ::
    808809  {{{image}}}
    809  point/icon: ::
    810   {{{icon-width, icon-height}}}
    811810 label: ::
    812811  {{{font-variant, text-decoration, text-transform, max-width}}}