diff --git a/src/config.js b/src/config.js index 2fceff9..4c40338 100644 --- a/src/config.js +++ b/src/config.js @@ -61,6 +61,20 @@ var config = { visible: false }), + new ol.layer.VectorTile({// OpenStreetMap France https://openstreetmap.fr + title: 'Vector Tile4', + iconSrc: imgSrc + 'osmfr_logo-layer.png', + source: new ol.source.VectorTile({ + tilePixelRatio: 1, // oversampling when > 1 + tileGrid: ol.tilegrid.createXYZ({maxZoom: 19}), + format: new ol.format.MVT(), + crossOrigin: 'anonymous', + attributions: '© OpenStreetMap', + url: 'https://{a-c}.tile.custom-osm-tiles.org/{z}/{x}/{y}.mvt' + }), + visible: false + }), + new ol.layer.VectorTile({// OpenStreetMap France https://openstreetmap.fr title: 'Vector Tile3', iconSrc: imgSrc + 'osmfr_logo-layer.png',