Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebuild library #73

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading