Skip to content

Commit

Permalink
Update config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yopaseopor committed Dec 10, 2024
1 parent c92a82e commit 1208269
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '&copy; <a href="https://www.openstreetmap.org/" target="_blank">OpenStreetMap</a>',
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',
Expand Down

0 comments on commit 1208269

Please sign in to comment.