Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

update import syntax

Benjamin King307f8a4d1d0e
diff --git a/web/js/natural-events/track.js b/web/js/natural-events/track.js
index abcc013c8..8bc5a06f4 100644
--- a/web/js/natural-events/track.js
+++ b/web/js/natural-events/track.js
@@ -6,7 +6,7 @@ import OlStyleStroke from 'ol/style/Stroke';
import OlStyleStyle from 'ol/style/Style';
import * as olExtent from 'ol/extent';
import OlGeomMultiLineString from 'ol/geom/MultiLineString';
-import olProj from 'ol/proj';
+import * as olProj from 'ol/proj';
import lodashEach from 'lodash/each';
import lodashDebounce from 'lodash/debounce';
import { naturalEventsUtilGetEventById } from './util';
@@ -242,7 +242,6 @@ var naturalEventsTrackPoint = function(
var date = properties.date;
var eventID = properties.event_id;
var coordinates = clusterPoint.geometry.coordinates;
-
if (models.proj.selected.id !== 'geographic') {
coordinates = olProj.transform(
coordinates,