Changes between Version 219 and Version 220 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2023-02-08T13:00:37+01:00 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v219 v220 1056 1056 || `offset` || Move line to the left or right (when looking in way direction). This could be used to draw multiple lanes for one way or mark left and right side of a way differently. || ''Number'' (positive value moves line to the left, negative to the right) || 0 || 1057 1057 || `text-position` || set to `line`, if text should be drawn along the line || `line`, `center` || - || 1058 || `text-...`, `font-...` |||||| general text & font properties ||1058 || `text-...`, `font-...` |||||| see general '''Text & Font properties || 1059 1059 || `repeat-image` || repeated image along a line ''(since r5801)'' || ''Image'' || - || 1060 1060 || `repeat-image-width` || Width of the image (optional, see `icon-width`) ''(since r5811)'' || ''Number'' || - || … … 1136 1136 || `text-anchor-vertical` || vertical text label placement || `above`, `top`, `center`, `bottom`, `below` || `bottom` || 1137 1137 || `text-rotation` || Rotate the text clockwise or anti clockwise (negative value) (since r16253) || `[rad]`, `[rad]rad`, `[deg]°`, `[deg]deg`, `[grad]grad`, `[turn]turn` ([https://developer.mozilla.org/en/docs/Web/CSS/angle definition]) or a cardinal direction (e.g. `northeast` or `sw`); See also the functions `degree_to_radians`, `cardinal_to_radians`. (Note that the direction means where the upper edge of the text faces. That means with the default direction of north the text flows to east (with a left to right language). So if you want to flow it to e.g. south you need to set east.) || - || 1138 || `text-position` || see '''Area styles''' ""||1138 || `text-position` |||||| see '''Area styles''' || 1139 1139 || `font-family` || font family || ''String'' || "Droid Sans" \\(JOSM preference "mappaint.font") || 1140 1140 || `font-size` || font size || ''Number'' || 8 \\(JOSM preference "mappaint.fontsize") ||