diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/map/bubble-map.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/map/bubble-map.ts index 3cd0749832..23788d2fc8 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/map/bubble-map.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/map/bubble-map.ts @@ -101,6 +101,7 @@ export class BubbleMap extends L7PlotChartView { this.configZoomButton(chart, view) view.once('loaded', () => { view.addLayer(dotLayer) + view.scene.map['keyboard'].disable() view.on('fillAreaLayer:click', (ev: MapMouseEvent) => { const data = ev.feature.properties action({ diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts index 1a833ee039..69ecae76d9 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts @@ -100,6 +100,7 @@ export class Map extends L7PlotChartView { const view = new Choropleth(container, options) this.configZoomButton(chart, view) view.once('loaded', () => { + view.scene.map['keyboard'].disable() view.on('fillAreaLayer:click', (ev: MapMouseEvent) => { const data = ev.feature.properties action({