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

View File

@@ -27,10 +27,10 @@ const predefinedStyles = {
symbolType: 'triangle',
size: 18,
color: [
['stretch', ['get', 'population'], 20000, 300000, 0.1, 1.0],
['stretch', ['get', 'population'], 20000, 300000, 0.6, 0.3],
0.6,
1.0
'interpolate',
['stretch', ['get', 'population'], 20000, 300000, 0, 1],
'#5aca5b',
'#ff6a19'
],
rotateWithView: true
}