Fix Change OSM tiles server

This commit is contained in:
Ben
2023-05-03 22:48:12 +02:00
parent 28a0bf0f2d
commit 69574ad36c

View File

@@ -369,7 +369,7 @@ OuestmonbusApp.prototype.initMap = function() {
this.map.MAXBOUNDS = maxBounds; this.map.MAXBOUNDS = maxBounds;
// Ajout des tuiles // Ajout des tuiles
var tiles_layer = L.tileLayer("https://${s}.tile.openstreetmap.fr/osmfr/${z}/${x}/${y}.png", { var tiles_layer = L.tileLayer("https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png", {
maxZoom: 18, maxZoom: 18,
bounds: maxBounds, bounds: maxBounds,
opacity: 0.75 opacity: 0.75