Sort symbolizer groups by zIndex
Now rendering order can be controlled by setting the zIndex symbolizer property.
This commit is contained in:
@@ -22,7 +22,8 @@ var style = new ol.style.Style({rules: [
|
||||
new ol.style.Stroke({
|
||||
color: ol.expr.parse('color'),
|
||||
width: 4,
|
||||
opacity: 1
|
||||
opacity: 1,
|
||||
zIndex: 1
|
||||
})
|
||||
]
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user