Interactive interface for browsing global, full-resolution satellite imagery
fixed dependency paths
Benjamin King209d2f19e319
diff --git a/web/js/map/wv.map.animate.js b/web/js/map/wv.map.animate.jsindex 3c318b7ec..20b848607 100644--- a/web/js/map/wv.map.animate.js+++ b/web/js/map/wv.map.animate.js@@ -1,6 +1,6 @@-var wv = wv || {};-wv.map = wv.map || {};-wv.map.animate = wv.map.animate || function (models, config, ui) {+import ol from 'openlayers';++export default function (models, config, ui) {var self = {};/**@@ -71,6 +71,5 @@ wv.map.animate = wv.map.animate || function (models, config, ui) {})[0];return Math.max(2, Math.min(bestFit.zoom, start - 1, end - 1));};-return self;};diff --git a/web/js/map/wv.map.datelinebuilder.js b/web/js/map/wv.map.datelinebuilder.jsindex b68619fab..04e2f91ce 100644--- a/web/js/map/wv.map.datelinebuilder.js+++ b/web/js/map/wv.map.datelinebuilder.js@@ -3,7 +3,7 @@ import ReactDOM from 'React-dom';import WVC from 'worldview-components';import ol from 'openlayers';-import util from '../util/util.js';+import util from '../util/util';var map, overlay1, overlay2, textFactory, lineFactory, textOverlay1, textOverlay2,lineLeft, lineRight, textLeft, textRight, proj;diff --git a/web/js/map/wv.map.layerbuilder.js b/web/js/map/wv.map.layerbuilder.jsindex d7776f5bc..a05c35566 100644--- a/web/js/map/wv.map.layerbuilder.js+++ b/web/js/map/wv.map.layerbuilder.js@@ -1,4 +1,4 @@-import util from '../util/wv.util';+import util from '../util/util';import ol from 'openlayers';import {cloneDeep as _cloneDeep,diff --git a/web/js/stub.js b/web/js/stub.jsindex e37dd96f4..7fb15826d 100644--- a/web/js/stub.js+++ b/web/js/stub.js@@ -4,9 +4,10 @@ import { DateSelector } from 'worldview-components';import { parse as mapParser } from './map/wv.map';import builder from './map/wv.map.datelinebuilder';import layerBuilder from './map/wv.map.layerbuilder';+import animate from './map/wv.map.animate';export default function () {- console.log($, DateSelector, mapParser, builder, layerBuilder);+ console.log($, DateSelector, mapParser, builder, layerBuilder, animate);};export const stub2 = (function() {