Merge pull request #8511 from openlayers/pgiraud-patch-1

Update IGN API key
This commit is contained in:
Pierre GIRAUD
2018-08-27 10:36:35 +02:00
committed by GitHub
+3 -4
View File
@@ -37,12 +37,11 @@ const tileGrid = new WMTSTileGrid({
matrixIds: matrixIds matrixIds: matrixIds
}); });
// API key valid for 'openlayers.org' and 'localhost'. // For more information about the IGN API key see
// Expiration date is 06/29/2018. // https://geoservices.ign.fr/blog/2017/06/28/geoportail_sans_compte.html
const key = '2mqbg0z6cx7ube8gsou10nrt';
const ign_source = new WMTS({ const ign_source = new WMTS({
url: 'https://wxs.ign.fr/' + key + '/wmts', url: 'https://wxs.ign.fr/pratique/geoportail/wmts',
layer: 'GEOGRAPHICALGRIDSYSTEMS.MAPS', layer: 'GEOGRAPHICALGRIDSYSTEMS.MAPS',
matrixSet: 'PM', matrixSet: 'PM',
format: 'image/jpeg', format: 'image/jpeg',