Update geojson-vt example

This commit is contained in:
Tim Schaub
2022-01-01 18:03:31 -07:00
parent 9024867893
commit 2d96c92ac8
5 changed files with 55 additions and 55 deletions

View File

@@ -22,6 +22,7 @@ const map = new Map({
layers: [
new VectorLayer({
source: vectorSource,
background: '#1a2b39',
style: function (feature) {
const color = feature.get('COLOR_BIO') || '#eeeeee';
style.getFill().setColor(color);