Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[fix] Remove legend layer groups height capping (#2864)
Igor Dykhta3bf006f41e10
diff --git a/src/components/src/map/map-legend.tsx b/src/components/src/map/map-legend.tsxindex d380445e2..293274007 100644--- a/src/components/src/map/map-legend.tsx+++ b/src/components/src/map/map-legend.tsx@@ -435,15 +435,7 @@ function MapLegendFactory(onLayerVisConfigChange,actionIcons = defaultActionIcons}) => (- <div- className="map-legend"- {...(mapState?.height && {- style: {- /* subtracting rough size of 4 map control buttons and padding */- maxHeight: mapState.height - (isExport ? 0 : 250)- }- })}- >+ <div className="map-legend">{layers.map((layer, index) => {if (!layer.isValidToSave() || layer.config.hidden) {return null;