mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
1. All services are disabled in testing now to prevent network accesses 2. Only services are enabled when needed to test something 3. Many changes throughout code to allow iD to run with services disabled (e.g. check for osm service instead of assuming context.connection() will work) 4. Actually export the services so we can disable and enable them
25 lines
587 B
JavaScript
25 lines
587 B
JavaScript
import serviceMapillary from './mapillary';
|
|
import serviceNominatim from './nominatim';
|
|
import serviceOsm from './osm';
|
|
import serviceTaginfo from './taginfo';
|
|
import serviceWikidata from './wikidata';
|
|
import serviceWikipedia from './wikipedia';
|
|
|
|
export var services = {
|
|
mapillary: serviceMapillary,
|
|
geocoder: serviceNominatim,
|
|
osm: serviceOsm,
|
|
taginfo: serviceTaginfo,
|
|
wikidata: serviceWikidata,
|
|
wikipedia: serviceWikipedia
|
|
};
|
|
|
|
export {
|
|
serviceMapillary,
|
|
serviceNominatim,
|
|
serviceOsm,
|
|
serviceTaginfo,
|
|
serviceWikidata,
|
|
serviceWikipedia
|
|
};
|