diff --git a/src/components/interactive-map.js b/src/components/interactive-map.js index b0c9829c..1b73e25d 100644 --- a/src/components/interactive-map.js +++ b/src/components/interactive-map.js @@ -141,7 +141,7 @@ function normalizeEvent(event) { const pos = [x, y]; const viewport = new WebMercatorViewport( - Object.assign({}, this.props, { + Object.assign({}, this.props, this.props.viewState, { width: this.width, height: this.height })