|
121 | 121 | } |
122 | 122 | }, |
123 | 123 | "layer" : { |
124 | | - "name": { |
125 | | - "default-value": "", |
126 | | - "type":"string", |
127 | | - "required" : true, |
128 | | - "default-meaning": "No layer name has been provided", |
129 | | - "doc": "The name of a layer. Can be anything you wish and is not strictly validated, but ideally unique in the map." |
130 | | - }, |
131 | | - "srs": { |
| 124 | + "name": { |
| 125 | + "css": "name", |
| 126 | + "default-value": "", |
| 127 | + "type":"string", |
| 128 | + "required" : true, |
| 129 | + "default-meaning": "No layer name has been provided", |
| 130 | + "doc": "The name of a layer. Can be anything you wish and is not strictly validated, but ideally unique in the map." |
| 131 | + }, |
| 132 | + "srs": { |
| 133 | + "css": "srs", |
132 | 134 | "default-value": "", |
133 | 135 | "type":"string", |
134 | 136 | "default-meaning": "No srs value is provided and the value will be inherited from the Map's srs", |
135 | 137 | "doc": "The spatial reference system definition for the layer, aka the projection. Can either be a proj4 literal string like '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' or, if the proper proj4 epsg/nad/etc identifier files are installed, a string that uses an id like: '+init=epsg:4326'." |
136 | 138 | }, |
137 | | - "status": { |
| 139 | + "status": { |
| 140 | + "css": "status", |
138 | 141 | "default-value": true, |
139 | 142 | "type":"boolean", |
140 | 143 | "default-meaning": "This layer will be marked as active and available for processing", |
141 | 144 | "doc": "A property that can be set to false to disable this layer from being processed." |
142 | 145 | }, |
143 | | - "minzoom": { |
| 146 | + "minzoom": { |
| 147 | + "css": "minzoom", |
144 | 148 | "default-value": 0, |
145 | 149 | "type":"float", |
146 | 150 | "default-meaning": "The layer will be visible at the minimum possible scale", |
147 | 151 | "doc": "The minimum scale denominator that this layer will be visible at. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6. This option has been deprecated in favor of `minimum-scale-denominator`.", |
148 | 152 | "status": "deprecated" |
149 | 153 | }, |
150 | | - "maxzoom": { |
| 154 | + "maxzoom": { |
| 155 | + "css": "minzoom", |
151 | 156 | "default-value": "1.79769e+308", |
152 | 157 | "type":"float", |
153 | 158 | "default-meaning": "The layer will be visible at the maximum possible scale", |
154 | 159 | "doc": "The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6. This option has been deprecated in favor of `maximum-scale-denominator`.", |
155 | 160 | "status": "deprecated" |
156 | 161 | }, |
157 | | - "minimum-scale-denominator": { |
| 162 | + "minimum-scale-denominator": { |
| 163 | + "css": "minimum-scale-denomitator", |
158 | 164 | "default-value": 0, |
159 | 165 | "type":"float", |
160 | 166 | "default-meaning": "The layer will be visible at the minimum possible scale denominator", |
161 | 167 | "doc": "The minimum scale denominator that this layer will be visible at. A layer's visibility is determined by whether its status is true and if the Map scale denominator >= `minimum-scale-denominator` - 1e-6 and scale denominator < 'maximum-scale-denominator' + 1e-6." |
162 | 168 | }, |
163 | | - "maximum-scale-denominator": { |
| 169 | + "maximum-scale-denominator": { |
| 170 | + "css": "maximum-scale-denomitator", |
164 | 171 | "default-value": "1.79769e+308", |
165 | 172 | "type":"float", |
166 | 173 | "default-meaning": "The layer will be visible at the maximum possible scale denominator", |
167 | 174 | "doc": "The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale denominator >= `minimum-scale-denominator` - 1e-6 and scale denominator < `maximum-scale-denominator` + 1e-6." |
168 | 175 | }, |
169 | | - "queryable": { |
| 176 | + "queryable": { |
| 177 | + "css": "queryable", |
170 | 178 | "default-value": false, |
171 | 179 | "type":"boolean", |
172 | 180 | "default-meaning": "The layer will not be available for the direct querying of data values", |
173 | 181 | "doc": "This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true." |
174 | 182 | }, |
175 | | - "clear-label-cache": { |
| 183 | + "clear-label-cache": { |
| 184 | + "css": "clear-label-cache", |
176 | 185 | "default-value": false, |
177 | 186 | "type":"boolean", |
178 | 187 | "default-meaning": "The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer", |
179 | 188 | "doc": "This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers." |
180 | 189 | }, |
181 | | - "group-by": { |
| 190 | + "group-by": { |
| 191 | + "css": "group-by", |
182 | 192 | "default-value": "", |
183 | 193 | "type":"string", |
184 | 194 | "default-meaning": "No special layer grouping will be used during rendering", |
185 | 195 | "doc": "https://github.com/mapnik/mapnik/wiki/Grouped-rendering" |
186 | 196 | }, |
187 | | - "buffer-size": { |
| 197 | + "buffer-size": { |
| 198 | + "css": "buffer-size", |
188 | 199 | "default-value": 0, |
189 | 200 | "type":"float", |
190 | 201 | "default-meaning": "No custom buffer will be used for the layer and rather the Map buffer-size will be used", |
191 | 202 | "doc": "Extra tolerance around the Layer extent (in pixels) used when querying the layer data during rendering. If set this will override the Map buffer-size." |
192 | 203 | }, |
193 | | - "maximum-extent": { |
| 204 | + "maximum-extent": { |
| 205 | + "css": "maximum-extent", |
194 | 206 | "default-value": "none", |
195 | 207 | "type":"bbox", |
196 | 208 | "default-meaning": "No clipping extent will be used", |
197 | 209 | "doc": "An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer." |
198 | 210 | }, |
199 | | - "cache-features": { |
| 211 | + "cache-features": { |
| 212 | + "css": "cache-features", |
200 | 213 | "type":"boolean", |
201 | 214 | "default-value": "off", |
202 | 215 | "default-meaning": "Features are not cached between rendering multiple styles. The datasource is queried for each style.", |
|
0 commit comments