X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=js%2Fsrc%2Fgeo%2Fexport-package.js;h=50b9d04aa79e3039e832cdab486c6febe095404c;hb=362c92fd2bdb555e1d691b661f0ee69c513be5a8;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..50b9d04 100644 --- a/js/src/geo/export-package.js +++ b/js/src/geo/export-package.js @@ -1,4 +1,15 @@ 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'; +import { Style, Icon } from 'ol/style.js'; // PSEUDO PACKAGE if (typeof globalThis.argeo === 'undefined') @@ -8,7 +19,26 @@ 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; +globalThis.argeo.tp.ol.Style = Style; +globalThis.argeo.tp.ol.Icon = Icon; "use strict"; +