]> git.argeo.org Git - gpl/argeo-suite.git/blob - js/src/geo/export-package.js
Revert loading of XSD
[gpl/argeo-suite.git] / js / src / geo / export-package.js
1 import OpenLayersMapPart from './OpenLayersMapPart.js';
2 import BboxVectorSource from './BboxVectorSource.js';
3 import SentinelCloudless from './SentinelCloudless.js';
4
5 import Map from 'ol/Map.js';
6 import View from 'ol/View.js';
7 import OSM from 'ol/source/OSM.js';
8 import TileLayer from 'ol/layer/Tile.js';
9 import VectorSource from 'ol/source/Vector.js';
10 import VectorLayer from 'ol/layer/Vector.js';
11 import GeoJSON from 'ol/format/GeoJSON.js';
12 import { Style, Icon } from 'ol/style.js';
13
14 // PSEUDO PACKAGE
15 if (typeof globalThis.argeo === 'undefined')
16 globalThis.argeo = {};
17 if (typeof globalThis.argeo.app === 'undefined')
18 globalThis.argeo.app = {};
19 if (typeof globalThis.argeo.app.geo === 'undefined')
20 globalThis.argeo.app.geo = {};
21
22 // THIRD PARTY
23 if (typeof globalThis.argeo.tp === 'undefined')
24 globalThis.argeo.tp = {};
25 if (typeof globalThis.argeo.tp.ol === 'undefined')
26 globalThis.argeo.tp.ol = {};
27
28 // PUBLIC CLASSES
29 globalThis.argeo.app.geo.OpenLayersMapPart = OpenLayersMapPart;
30 globalThis.argeo.app.geo.BboxVectorSource = BboxVectorSource;
31 globalThis.argeo.app.geo.SentinelCloudless = SentinelCloudless;
32
33 globalThis.argeo.tp.ol.Map = Map;
34 globalThis.argeo.tp.ol.View = View;
35 globalThis.argeo.tp.ol.TileLayer = TileLayer;
36 globalThis.argeo.tp.ol.OSM = OSM;
37 globalThis.argeo.tp.ol.VectorSource = VectorSource;
38 globalThis.argeo.tp.ol.VectorLayer = VectorLayer;
39 globalThis.argeo.tp.ol.GeoJSON = GeoJSON;
40 globalThis.argeo.tp.ol.Style = Style;
41 globalThis.argeo.tp.ol.Icon = Icon;
42
43 "use strict";
44