BBOX vector source working
[gpl/argeo-suite.git] / js / src / geo / export-package.js
index ca10dfc1caf10ca82726a825ab016c6cbd1548dc..cdf39c742b5e7a18cc3509c6629331ac0e32125c 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,7 +9,6 @@ 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 {bbox} from 'ol/loadingstrategy';
 
 // PSEUDO PACKAGE
 if (typeof globalThis.argeo === 'undefined')
@@ -26,6 +26,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;
@@ -35,7 +36,6 @@ 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.bbox = bbox;
 
 "use strict";