Skip to content

Commit

Permalink
[fix]mapboxgl deckLayer例子getColor报错 review by songym
Browse files Browse the repository at this point in the history
  • Loading branch information
YOUYOUNG committed Mar 30, 2021
1 parent 908ed01 commit 7119992
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/mapboxgl/deckglLayer_polygonLayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@
getFillColor: function(d) {
return [d.population / d.area / 60, 140, 0];
},
getLineColor: [80, 80, 80],
getLineColor: function() {
return [80, 80, 80]
},
getLineWidth: 1
}
});
Expand Down

0 comments on commit 7119992

Please sign in to comment.