Update IGN API key

Fixes #8509
This commit is contained in:
Pierre GIRAUD
2018-08-13 17:06:28 +02:00
committed by Pierre GIRAUD
parent a94dff2c06
commit b039e17015
+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',