Changes between Version 2 and Version 3 of Styles/Greenery
- Timestamp:
- 2021-08-30T20:39:44+02:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/Greenery
v2 v3 14 14 meta { 15 15 title: "Greenery details"; 16 description: "Higlight various cultivated greenery features, like shrubbery."; 16 description: "Highlight various cultivated greenery features, like shrubbery."; 17 17 icon: "greenery-icon.svg"; 18 18 author: "Jeroen Hoek"; … … 28 28 type: boolean; 29 29 label: tr("Show the height as text on the area"); 30 default: true; 31 } 32 33 setting::show_shape_label { 34 type: boolean; 35 label: tr("Show the value of shrubbery:shape as text on the area"); 30 36 default: true; 31 37 } … … 95 101 } 96 102 97 area[natural=shrubbery][setting("show_height_label")] { 103 area|z19-[natural=shrubbery][setting("show_height_label")] { 98 104 text: height; 99 105 font-size: 10; 100 106 text-color: #5BE67A; 101 107 text-position: inside; 108 text-offset-y: 6; 109 text-halo-color: black; 110 text-halo-radius: 3; 111 } 112 area|z19-[natural=shrubbery][setting("show_shape_label")]::ShapeLabel { 113 text: "shrubbery:shape"; 114 font-size: 10; 115 text-color: #5BE67A; 116 text-position: inside; 117 text-offset-y: -6; 118 text-halo-color: black; 119 text-halo-radius: 3; 102 120 } 103 121 … … 108 126 fill-image: concat(prop(density, default), ".png"); 109 127 fill-opacity: 1.0; 110 fill-extent: ; 128 fill-extent: 10000; 111 129 } 112 130