Фикс заголовков для локальной карты

This commit is contained in:
2025-12-09 10:59:44 +03:00
parent 25fe93231f
commit 8393734dc3
8 changed files with 34 additions and 7 deletions

View File

@@ -56,7 +56,7 @@
const satellite = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
attribution: 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'
});
const street_local = L.tileLayer('http://127.0.0.1:8090/styles/basic-preview/512/{z}/{x}/{y}.png', {
const street_local = L.tileLayer('/tiles/styles/basic-preview/512/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: 'Local Tiles'
});