Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix import naming

Benjamin King8106bab535a2
diff --git a/web/js/data/cmr.js b/web/js/data/cmr.js
index 552bc4a6f..79d543fc1 100644
--- a/web/js/data/cmr.js
+++ b/web/js/data/cmr.js
@@ -1,6 +1,6 @@
import $ from 'jquery';
import util from '../util/util';
-import OlPolygon from 'ol/geom/polygon';
+import OlGeomPolygon from 'ol/geom/polygon';
export const REL_DATA = 'http://esipfed.org/ns/fedsearch/1.1/data#';
export const REL_METADATA = 'http://esipfed.org/ns/fedsearch/1.1/metadata#';
@@ -93,7 +93,7 @@ export function dataCmrGeometry(result) {
});
olRings.push(olPoints);
});
- olPolygons.push(new OlPolygon(olRings));
+ olPolygons.push(new OlGeomPolygon(olRings));
});
return olPolygons[0];
};