Switch from bundled editor-layer-index to fetched imagery-index

This commit is contained in:
Bryan Housel
2020-03-12 14:27:49 -04:00
parent b5856e2415
commit dbe643aeac
4 changed files with 221 additions and 50 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ for (var k in iD.services) { delete iD.services[k]; }
iD.data.locales = { en: { rtl: false, languageNames: {}, scriptNames: {} }};
iD.data.locale_en = { en: {} };
// Initializing `coreContext` initializes `_background`, which tries loading:
iD.data.imagery = [];
iD.data.imagery_sources = [];
iD.data.imagery_features = { type: 'FeatureCollection', features: [] };
// Initializing `coreContext` initializes `_presets`, which tries loading:
iD.data.preset_categories = {};
iD.data.preset_defaults = {};