Changes between Version 5 and Version 6 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2011-03-27T14:36:56+02:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v5 v6 193 193 194 194 ||= '''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 || 196 196 {{{#!comment 197 197 … … 213 213 || {{{icon-image}}} || The icon at node position || ''Image'' || - || 214 214 || {{{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}}} || - || 216 217 || {{{symbol-size}}} || Size of the symbol || ''Number'', can be relative ("+4") || 10 || 217 218 || {{{symbol-stroke-width}}} || outline stroke width || ''Width'' || 1.0 if {{{symbol-stroke-color}}} is set || … … 242 243 || {{{linejoin}}} || Shape at the line corners || {{{round}}}, {{{miter}}}, {{{bevel}}} || {{{round}}} || 243 244 || {{{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'' || - || 244 246 || {{{text-position}}} || set to {{{line}}}, if text should be drawn along the line || {{{line}}}, {{{center}}} || - || 245 247 || {{{text-...}}}, {{{font-...}}} |||||| general text & font properties || … … 260 262 Required properties to create an Area style: {{{fill-color}}} or {{{fill-image}}} 261 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 262 280 === Text & Font properties === 263 281 … … 267 285 || {{{text-offset-x}}} || shift the text horizontally, (not supported for text along line) || ''Number'' || 0 || 268 286 || {{{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 || 269 290 || {{{font-family}}} || font family || ''String'' || "Helvetica"[[br]](JOSM preference "mappaint.font") || 270 291 || {{{font-size}}} || font size || ''Number'' || 8[[br]](JOSM preference "mappaint.fontsize") || … … 420 441 {{{icon-width, icon-height}}} 421 442 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}}} 423 444 shield: :: 424 445 not supported