Webgl Layer / rename literalStyle property to style

This commit is contained in:
Olivier Guyot
2019-09-26 14:37:32 +02:00
parent 0732f17fd3
commit 7da3b60061
3 changed files with 7 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ function refreshLayer() {
}
pointsLayer = new WebGLPointsLayer({
source: vectorSource,
literalStyle: literalStyle
style: literalStyle
});
map.addLayer(pointsLayer);
editor.value = JSON.stringify(literalStyle, null, ' ');