Fix the triangles style in the wbegl-points-layer example

This commit is contained in:
Olivier Guyot
2019-10-22 23:27:26 +02:00
parent 948003ff27
commit 1fe5a68e16
+4 -4
View File
@@ -27,10 +27,10 @@ const predefinedStyles = {
symbolType: 'triangle', symbolType: 'triangle',
size: 18, size: 18,
color: [ color: [
['stretch', ['get', 'population'], 20000, 300000, 0.1, 1.0], 'interpolate',
['stretch', ['get', 'population'], 20000, 300000, 0.6, 0.3], ['stretch', ['get', 'population'], 20000, 300000, 0, 1],
0.6, '#5aca5b',
1.0 '#ff6a19'
], ],
rotateWithView: true rotateWithView: true
} }