Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[Bug] Fix Maximum call stack size exceeded when double click (#323)
Shan Heed11729bd03f
diff --git a/src/components/map-container.js b/src/components/map-container.jsindex aea184b16..f7a92c747 100644--- a/src/components/map-container.js+++ b/src/components/map-container.js@@ -55,6 +55,8 @@ const MAP_STYLE = {const getGlConst = d => GL[d];const MAPBOXGL_STYLE_UPDATE = 'style.load';+const TRANSITION_DURATION = 0;+MapContainerFactory.deps = [MapPopoverFactory, MapControlFactory];@@ -432,6 +434,7 @@ export default function MapContainerFactory(MapPopover, MapControl) {mapStyle={mapStyle.bottomMapStyle}onClick={onMapClick}getCursor={this.props.hoverInfo ? () => 'pointer' : undefined}+ transitionDuration={TRANSITION_DURATION}>{this._renderOverlay()}{this._renderMapboxOverlays()}