Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix an events reference

Jason Kentffa9a907b1e5
diff --git a/web/js/map/ui.js b/web/js/map/ui.js
index c2419047b..da42ba643 100644
--- a/web/js/map/ui.js
+++ b/web/js/map/ui.js
@@ -1132,7 +1132,7 @@ export default function mapui(models, config, store, ui) {
};
map.getView().on('change:resolution', () => {
onZoomChange();
- self.events.trigger('movestart');
+ events.trigger('movestart');
});
onZoomChange();
}