Skip to content

Commit 7119992

Browse files
committed
[fix]mapboxgl deckLayer例子getColor报错 review by songym
1 parent 908ed01 commit 7119992

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/mapboxgl/deckglLayer_polygonLayer.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@
102102
getFillColor: function(d) {
103103
return [d.population / d.area / 60, 140, 0];
104104
},
105-
getLineColor: [80, 80, 80],
105+
getLineColor: function() {
106+
return [80, 80, 80]
107+
},
106108
getLineWidth: 1
107109
}
108110
});

0 commit comments

Comments
 (0)