adaptative attribution

This commit is contained in:
vcoppe committed 2026-12-04 09:47:48 +01:00
1 parent 4b5b6b8a20
commit 22a269a6dc
5 files changed
+264 -92

No files matched your search

+5 -1
View File
@@ -10,7 +10,10 @@ import { settings } from '$lib/state/settings';
import { tick } from 'svelte';
import { ANCHOR_LAYER_KEY, StyleManager } from '$lib/components/map/style';
import { MapLayerEventManager } from '$lib/components/map/map-layer-event-manager';
import { registerOpenSatelliteProtocol } from '$lib/components/map/open-satellite';
import {
registerOpenSatelliteProtocol,
trackOpenSatelliteAttribution,
} from '$lib/components/map/open-satellite';
const { treeFileView, elevationProfile, bottomPanelSize, rightPanelSize, distanceUnits } = settings;
@@ -71,6 +74,7 @@ export class MapLibreGLMap {
maxPitch: 90,
});
this.layerEventManager = new MapLayerEventManager(map);
trackOpenSatelliteAttribution(map);
map.addControl(
new maplibregl.NavigationControl({
visualizePitch: true,