{
const geojsonLayer = new deck.GeoJsonLayer({
data,
opacity: 1,
filled: true,
extruded: true,
lightSettings,
elevationScale:5000,
getElevation: f => f.properties.name.length*10,
getFillColor: f => colorScale(f.properties.name.length),
getLineColor: f => [255, 255, 255],
pickable: true,
onHover
});
deckgl.setProps({layers: [geojsonLayer]});
return geojsonLayer;
}