Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

event name fix

Ed Plato728ab0497dc0
diff --git a/web/js/components/map/ol-coordinates.js b/web/js/components/map/ol-coordinates.js
index 2ab754e4a..e97ae23a8 100644
--- a/web/js/components/map/ol-coordinates.js
+++ b/web/js/components/map/ol-coordinates.js
@@ -26,7 +26,7 @@ export default class OlCoordinates extends React.Component {
}
componentWillUnmount() {
- events.off('map:mousmove', this.mouseMove);
+ events.off('map:mousemove', this.mouseMove);
events.off('map:mouseout', this.mouseOut);
}
diff --git a/web/js/containers/map-interactions/ol-vector-interactions.js b/web/js/containers/map-interactions/ol-vector-interactions.js
index b44883eaf..478e016ac 100644
--- a/web/js/containers/map-interactions/ol-vector-interactions.js
+++ b/web/js/containers/map-interactions/ol-vector-interactions.js
@@ -34,7 +34,7 @@ export class VectorInteractions extends React.Component {
}
componentWillUnmount() {
- events.off('map:mousmove', this.mouseMove);
+ events.off('map:mousemove', this.mouseMove);
events.off('map:singleclick', this.singleClick);
}