Revert proxied tile to not use layer control

It's disabling the important layer.
This commit is contained in:
Eli Ribble 2026-04-16 05:14:27 +00:00
parent 29c3b267d9
commit 74e0630a41
No known key found for this signature in database

View file

@ -219,7 +219,8 @@ const initializeMap = () => {
try {
const _map = new maplibregl.Map({
container: mapContainer.value,
style: "https://tiles.stadiamaps.com/styles/osm_bright.json",
//style: "https://tiles.stadiamaps.com/styles/alidade_satellite.json",
style: "https://tiles.stadiamaps.com/styles/alidade_smooth.json",
zoom: 19,
});
if (props.markers.length > 0) {
@ -302,12 +303,12 @@ const initializeMap = () => {
console.log("MapProxiedArcgisTile loaded");
});
_map.addControl(new maplibregl.NavigationControl(), "top-left");
_map.addControl(
/*_map.addControl(
new LayersControl({
title: "layers",
customLabels: { "countries-fill": "Countries" },
}),
);
);*/
console.log("MapProxiedArcgisTile initialized");
} catch (e) {
console.error("hey dummy", e);