X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=js%2Fsrc%2Fgeo%2Fexport-package.js;h=cdf39c742b5e7a18cc3509c6629331ac0e32125c;hb=9cfc7842603c9c09d686ab9972099ed0a7c22a6e;hp=c322c28111f71bd59d7dfcfddb7f06e7e2b788ec;hpb=7328e106f7523d006b9516651dc9f6dd5475b035;p=gpl%2Fargeo-suite.git diff --git a/js/src/geo/export-package.js b/js/src/geo/export-package.js index c322c28..cdf39c7 100644 --- a/js/src/geo/export-package.js +++ b/js/src/geo/export-package.js @@ -1,4 +1,14 @@ import OpenLayersMapPart from './OpenLayersMapPart.js'; +import BboxVectorSource from './BboxVectorSource.js'; +import SentinelCloudless from './SentinelCloudless.js'; + +import Map from 'ol/Map.js'; +import View from 'ol/View.js'; +import OSM from 'ol/source/OSM.js'; +import TileLayer from 'ol/layer/Tile.js'; +import VectorSource from 'ol/source/Vector.js'; +import VectorLayer from 'ol/layer/Vector.js'; +import GeoJSON from 'ol/format/GeoJSON.js'; // PSEUDO PACKAGE if (typeof globalThis.argeo === 'undefined') @@ -8,7 +18,24 @@ if (typeof globalThis.argeo.app === 'undefined') if (typeof globalThis.argeo.app.geo === 'undefined') globalThis.argeo.app.geo = {}; +// THIRD PARTY +if (typeof globalThis.argeo.tp === 'undefined') + globalThis.argeo.tp = {}; +if (typeof globalThis.argeo.tp.ol === 'undefined') + globalThis.argeo.tp.ol = {}; + // PUBLIC CLASSES globalThis.argeo.app.geo.OpenLayersMapPart = OpenLayersMapPart; +globalThis.argeo.app.geo.BboxVectorSource = BboxVectorSource; +globalThis.argeo.app.geo.SentinelCloudless = SentinelCloudless; + +globalThis.argeo.tp.ol.Map = Map; +globalThis.argeo.tp.ol.View = View; +globalThis.argeo.tp.ol.TileLayer = TileLayer; +globalThis.argeo.tp.ol.OSM = OSM; +globalThis.argeo.tp.ol.VectorSource = VectorSource; +globalThis.argeo.tp.ol.VectorLayer = VectorLayer; +globalThis.argeo.tp.ol.GeoJSON = GeoJSON; "use strict"; +