Sort symbolizer groups by zIndex

Now rendering order can be controlled by setting the zIndex
symbolizer property.
This commit is contained in:
ahocevar
2013-10-03 09:37:08 -06:00
parent 17356bc3ee
commit 87e755e9e4
3 changed files with 42 additions and 1 deletions

View File

@@ -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
})
]
}),