diff --git a/client-ng/src/components/OlMap/Couches.vue b/client-ng/src/components/OlMap/Couches.vue index 14204d9d8..8337ad7ad 100644 --- a/client-ng/src/components/OlMap/Couches.vue +++ b/client-ng/src/components/OlMap/Couches.vue @@ -334,7 +334,9 @@ export default { // Création du fond de carte OpenStreetMap createOSMLayer(layerDef) { return new TileLayer({ - source: new OSM(), + source: new OSM({ + url: layerDef.url + }), libelle: layerDef.libelle, groupe: layerDef.groupe, code: layerDef.id,