Clean up OpenLayers integration
[gpl/argeo-suite.git] / js / src / geo / export-package.js
index 8aaf93727930f2d044152eccfc7bfa52d7144dab..50b9d04aa79e3039e832cdab486c6febe095404c 100644 (file)
@@ -1,4 +1,5 @@
 import OpenLayersMapPart from './OpenLayersMapPart.js';
+import BboxVectorSource from './BboxVectorSource.js';
 import SentinelCloudless from './SentinelCloudless.js';
 
 import Map from 'ol/Map.js';
@@ -8,6 +9,7 @@ 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')
@@ -25,6 +27,7 @@ if (typeof globalThis.argeo.tp.ol === 'undefined')
 
 // 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;
@@ -34,6 +37,8 @@ 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";