Change OSM tiles server
This commit is contained in:
@@ -298,6 +298,9 @@ OuestmonbusApp.prototype.initTexts = function() {
|
||||
$("#version").html(`Version ${version} (${date_version})`);
|
||||
|
||||
$("#app_news").html(marked.parse(`
|
||||
**03/05/2023:**
|
||||
- Hébergement: Changement de serveur. Utilisation du serveur de tuile OpenStreetMap France.
|
||||
|
||||
**03/10/2022:**
|
||||
- Correction de bug: les lignes du métro sont maintenant visibles.
|
||||
|
||||
@@ -366,7 +369,7 @@ OuestmonbusApp.prototype.initMap = function() {
|
||||
this.map.MAXBOUNDS = maxBounds;
|
||||
|
||||
// Ajout des tuiles
|
||||
var tiles_layer = L.tileLayer("https://ouestmonbus.com/tiles/{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