You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 4.2.0/reference.json
+53-1Lines changed: 53 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,7 @@
127
127
"type":"string",
128
128
"required" : true,
129
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."
130
+
"doc": "The name of a layer. Can be anything you wish and is not strictly validated, but ideally unique in the map."
131
131
},
132
132
"srs": {
133
133
"css": "srs",
@@ -215,6 +215,58 @@
215
215
"default-meaning": "Features are not cached between rendering multiple styles. The datasource is queried for each style.",
216
216
"doc": "Setting this to `on` triggers Mapnik to attempt to cache features in memory for rendering when (and only when) a layer has multiple styles attached to it."
217
217
}
218
+
"comp-op": {
219
+
"css": "comp-op",
220
+
"default-value": "src-over",
221
+
"default-meaning": "add the current layer on top of other layers",
222
+
"doc": "Composite operation. This defines how this layer should behave relative to layers atop or below it. See https://github.com/mapnik/mapnik/pull/3474.",
223
+
"type": [
224
+
"clear",
225
+
"src",
226
+
"dst",
227
+
"src-over",
228
+
"dst-over",
229
+
"src-in",
230
+
"dst-in",
231
+
"src-out",
232
+
"dst-out",
233
+
"src-atop",
234
+
"dst-atop",
235
+
"xor",
236
+
"plus",
237
+
"minus",
238
+
"multiply",
239
+
"divide",
240
+
"screen",
241
+
"overlay",
242
+
"darken",
243
+
"lighten",
244
+
"color-dodge",
245
+
"color-burn",
246
+
"linear-dodge",
247
+
"linear-burn",
248
+
"hard-light",
249
+
"soft-light",
250
+
"difference",
251
+
"exclusion",
252
+
"contrast",
253
+
"invert",
254
+
"invert-rgb",
255
+
"grain-merge",
256
+
"grain-extract",
257
+
"hue",
258
+
"saturation",
259
+
"color",
260
+
"value"
261
+
]
262
+
},
263
+
"opacity": {
264
+
"css": "opacity",
265
+
"type": "float",
266
+
"doc": "An alpha value for the layer, which means an alpha applied to all features in separate buffer and then composited back to the overall buffer for the current layer or nested set of layers.",
267
+
"default-value": 1.0,
268
+
"default-meaning": "No separate buffer will be used and no alpha will be applied to the layer after rendering."
0 commit comments