Changes between Version 5 and Version 6 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2011-03-27T14:36:56+02:00 (14 years ago)
Author:
bastiK
Comment:

update

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v5 v6  
    193193
    194194||=  '''Key''' =||= '''Description''' =||= '''Value Format''' =||= '''Default Value''' =||
    195 || {{{z-index}}}                                 || specify the order the objects are drawn: The objects with higher z-index are drawn on top of objects with lower z-index || ''Number'' (can be negative) ||  0  ||
     195|| {{{z-index}}}                                 || specify the order the objects are drawn: The objects with higher z-index are drawn on top of objects with lower z-index || ''Number'' (can be negative) ||  depends on the created style element: -1000 for areas, 0 for lines, 1000 for node style elements  ||
    196196{{{#!comment
    197197
     
    213213|| {{{icon-image}}} || The icon at node position || ''Image'' ||  -  ||
    214214|| {{{icon-opacity}}} || Opacity of the icon image || ''Opacity'' ||  1.0  ||
    215 || {{{symbol-shape}}}                               || Display a symbol at the position of the node || {{{square}}}, {{{circle}}} ||  -  ||
     215|| {{{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'' ||  -  ||
     216|| {{{symbol-shape}}}                               || Display a symbol at the position of the node || {{{square}}}, {{{circle}}}, {{{triangle}}}, {{{pentagon}}}, {{{hexagon}}}, {{{heptagon}}}, {{{octagon}}}, {{{nonagon}}}, {{{decagon}}} ||  -  ||
    216217|| {{{symbol-size}}} || Size of the symbol || ''Number'', can be relative ("+4") ||  10  ||
    217218|| {{{symbol-stroke-width}}} || outline stroke width || ''Width'' ||  1.0 if {{{symbol-stroke-color}}} is set  ||
     
    242243|| {{{linejoin}}} || Shape at the line corners || {{{round}}}, {{{miter}}}, {{{bevel}}} ||  {{{round}}}  ||
    243244|| {{{miterlimit}}}                                   || Applies for {{{linejoin: miter}}}. Sets the maximum overshoot when line segments meet at a very small angle || ''Number'' (>= 1.0) ||  10.0  ||
     245|| {{{pattern-image}}} || line pattern similar to Mapnik's [http://trac.mapnik.org/wiki/LinePatternSymbolizer LinePatternSymbolizer] || ''Image'' ||  -  ||
    244246|| {{{text-position}}} || set to {{{line}}}, if text should be drawn along the line || {{{line}}}, {{{center}}} ||  -  ||
    245247|| {{{text-...}}}, {{{font-...}}} ||||||  general text & font properties  ||
     
    260262Required properties to create an Area style: {{{fill-color}}} or {{{fill-image}}}
    261263
     264
     265
     266
     267
     268
     269
     270
     271
     272
     273
     274
     275
     276
     277
     278
     279
    262280=== Text & Font properties ===
    263281
     
    267285|| {{{text-offset-x}}} || shift the text horizontally, (not supported for text along line) || ''Number'' ||  0  ||
    268286|| {{{text-offset-y}}} (can also be written as {{{text-offset}}})  || shift the text vertically, positive values shift the text in upwards direction  || ''Number'' ||  0  ||
     287|| {{{text-halo-radius}}} || size of text background border (to make text visible on background with a similar color) || ''Number'' ||  -  ||
     288|| {{{text-halo-color}}} || color of the text halo || ''Color'' || complement of the text color ||
     289|| {{{text-halo-opacity}}} || transparency for the text halo || ''Opacity'' || 1.0 ||
    269290|| {{{font-family}}} || font family || ''String'' ||  "Helvetica"[[br]](JOSM preference "mappaint.font")  ||
    270291|| {{{font-size}}} || font size || ''Number'' ||  8[[br]](JOSM preference "mappaint.fontsize")  ||
     
    420441  {{{icon-width, icon-height}}}
    421442 label: ::
    422   {{{font-variant, text-decoration, text-transform, max-width, text-halo-color, text-halo-radius}}}
     443  {{{font-variant, text-decoration, text-transform, max-width}}}
    423444 shield: ::
    424445  not supported