Fix the triangles style in the wbegl-points-layer example
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user