Skip to content

Commit

Permalink
rebuild library
Browse files Browse the repository at this point in the history
  • Loading branch information
mki-c2c committed Sep 22, 2023
1 parent bf76f3e commit 7ddb120
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions bundle/lux.dist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30986,7 +30986,7 @@ var mapboxGl = { exports: {} };
});
})(mapboxGl);
const mapboxgl = mapboxGl.exports;
class MapBox extends Layer {
class MapBoxLayer extends Layer {
constructor(options) {
const baseOptions = Object.assign({}, options);
delete baseOptions.accessToken;
Expand Down Expand Up @@ -39951,7 +39951,7 @@ function createVectorLayer(vectorSources, bgLayer) {
},
styleSource
);
const newBgBaseLayer = new MapBox({
const newBgBaseLayer = new MapBoxLayer({
maplibreOptions: options,
label: bgLayer.name,
id: bgLayer.id,
Expand Down Expand Up @@ -48528,7 +48528,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
const map2 = useMap().getOlMap();
map2.updateSize();
traverseLayer(map2.getLayerGroup(), [], (layer) => {
if (layer instanceof MapBox) {
if (layer instanceof MapBoxLayer) {
layer.getMapLibreMap().resize();
}
return true;
Expand Down Expand Up @@ -48606,7 +48606,7 @@ export {
LayerMetadata,
LayerPanel,
MapContainer,
MapBox as MapLibreLayer,
MapBoxLayer as MapLibreLayer,
RemoteLayers,
SliderComparator,
y as VueDOMPurifyHTML,
Expand Down
8 changes: 4 additions & 4 deletions bundle/lux.dist.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -31000,7 +31000,7 @@ This will fail in production.`);
});
})(mapboxGl);
const mapboxgl = mapboxGl.exports;
class MapBox extends Layer__default.default {
class MapBoxLayer extends Layer__default.default {
constructor(options) {
const baseOptions = Object.assign({}, options);
delete baseOptions.accessToken;
Expand Down Expand Up @@ -39965,7 +39965,7 @@ This will fail in production.`);
},
styleSource
);
const newBgBaseLayer = new MapBox({
const newBgBaseLayer = new MapBoxLayer({
maplibreOptions: options,
label: bgLayer.name,
id: bgLayer.id,
Expand Down Expand Up @@ -48542,7 +48542,7 @@ This will fail in production.`);
const map2 = useMap().getOlMap();
map2.updateSize();
traverseLayer(map2.getLayerGroup(), [], (layer) => {
if (layer instanceof MapBox) {
if (layer instanceof MapBoxLayer) {
layer.getMapLibreMap().resize();
}
return true;
Expand Down Expand Up @@ -48619,7 +48619,7 @@ This will fail in production.`);
exports2.LayerMetadata = LayerMetadata;
exports2.LayerPanel = LayerPanel;
exports2.MapContainer = MapContainer;
exports2.MapLibreLayer = MapBox;
exports2.MapLibreLayer = MapBoxLayer;
exports2.RemoteLayers = RemoteLayers;
exports2.SliderComparator = SliderComparator;
exports2.VueDOMPurifyHTML = y;
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { statePersistorLayersOpenService } from '@/services/state-persistor/stat
import { statePersistorStyleService } from '@/services/state-persistor/state-persistor-bgstyle.service'
import { statePersistorMyMapService } from '@/services/state-persistor/state-persistor-mymap.service'
import { themeSelectorService } from '@/components/theme-selector/theme-selector.service'
import MapLibreLayer from '@/lib/ol-maplibre-layer'
import MapLibreLayer from '@/lib/ol-mapbox-layer'

import i18next from 'i18next'
import backend from 'i18next-http-backend'
Expand Down

0 comments on commit 7ddb120

Please sign in to comment.