Changes between Version 14 and Version 15 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2011-07-28T00:02:03+02:00 (14 years ago)
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.1 This 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. 2 2 [[TOC(inline)]] 3 3 == General Structure == … … 561 561 || {{{icon-image}}} || The icon at node position || ''Image'' || - || 562 562 || {{{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'' || - || 564 565 || {{{symbol-shape}}} || Display a symbol at the position of the node || {{{square}}}, {{{circle}}}, {{{triangle}}}, {{{pentagon}}}, {{{hexagon}}}, {{{heptagon}}}, {{{octagon}}}, {{{nonagon}}}, {{{decagon}}} || - || 565 566 || {{{symbol-size}}} || Size of the symbol || ''Number'', can be relative ("+4") || 10 || … … 802 803 803 804 ==== Properties ==== 804 At the moment, JOSM does notsupport the following properties:805 At the moment, JOSM does ''not'' support the following properties: 805 806 canvas: :: 806 807 {{{fill-color}}} is called {{{background-color}}}, the rest is not supported 807 808 line: :: 808 809 {{{image}}} 809 point/icon: ::810 {{{icon-width, icon-height}}}811 810 label: :: 812 811 {{{font-variant, text-decoration, text-transform, max-width}}}
