Fix Change OSM tiles server
This commit is contained in:
@@ -369,7 +369,7 @@ OuestmonbusApp.prototype.initMap = function() {
|
||||
this.map.MAXBOUNDS = maxBounds;
|
||||
|
||||
// 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,
|
||||
bounds: maxBounds,
|
||||
opacity: 0.75
|
||||
|
||||
Reference in New Issue
Block a user