Changes between Version 247 and Version 248 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2023-02-08T15:19:59+01:00 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v247 v248 1135 1135 || `text-anchor-vertical` || vertical text label placement || `above`, `top`, `center`, `bottom`, `below` || `bottom` || 1136 1136 || `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.)\\ e.g. `note[...] {... text-rotation: way; ...}` || - || 1137 || `text-position` |||||| see [AreaStyles Area styles] and [LineStyles Line styles] || 1137 || `text-position` |||||| see [#AreaStyles Area styles] and [#LineStyles Line styles] || 1138 1138 || `font-family` || font family || ''String'' || "Droid Sans" \\(JOSM preference "`mappaint.font`") || 1139 1139 || `font-size` || font size || ''Number'' || 8 \\(JOSM preference "`mappaint.fontsize`") ||