diff --git a/src/components/interactive-map.js b/src/components/interactive-map.js index 36f4c5d3..b7dd61af 100644 --- a/src/components/interactive-map.js +++ b/src/components/interactive-map.js @@ -170,6 +170,11 @@ type State = { isHovering: boolean }; +type InteractiveContextProps = { + isDragging: boolean, + eventManager: any +}; + export default class InteractiveMap extends PureComponent { static supported() { @@ -191,6 +196,11 @@ export default class InteractiveMap extends PureComponent) { + this._interactiveContext = Object.assign({}, this._interactiveContext, updatedContext); + } + _onResize = ({width, height} : {width : number, height : number}) => { this._width = width; this._height = height; @@ -414,12 +433,8 @@ export default class InteractiveMap extends PureComponent