change vectory tiles

This commit is contained in:
Tykayn 2025-09-23 11:26:44 +02:00 committed by tykayn
parent 1a3df2ed75
commit 91e34032b2
9 changed files with 47 additions and 42 deletions

View file

@ -241,7 +241,7 @@ class DemoResource:
// Initialize the map
const map = new maplibregl.Map({{
container: 'map',
style: 'https://demotiles.maplibre.org/style.json',
style: 'https://tiles.openfreemap.org/styles/liberty',
center: [2.2137, 46.2276], // Default center (center of metropolitan France)
zoom: 5
}});
@ -916,7 +916,7 @@ class DemoResource:
// Initialize the map
const map = new maplibregl.Map({
container: 'map',
style: 'https://demotiles.maplibre.org/style.json',
style: 'https://tiles.openfreemap.org/styles/liberty',
center: [2.3522, 48.8566], // Default center (Paris)
zoom: 4
});
@ -1153,7 +1153,7 @@ class DemoResource:
// Initialize results map
const resultsMap = new maplibregl.Map({
container: 'resultsMap',
style: 'https://demotiles.maplibre.org/style.json',
style: 'https://tiles.openfreemap.org/styles/liberty',
center: [2.3522, 48.8566], // Default center (Paris)
zoom: 4
});
@ -1494,7 +1494,7 @@ class DemoResource:
// Initialize the map
const map = new maplibregl.Map({
container: 'map',
style: 'https://demotiles.maplibre.org/style.json',
style: 'https://tiles.openfreemap.org/styles/liberty',
center: [2.3522, 48.8566], // Default center (Paris)
zoom: 4
});