Merge pull request #10917 from sambakk/master

Fix the IGN WMTS example dead links and attribution
This commit is contained in:
Tim Schaub
2020-04-12 16:36:06 -06:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -5,9 +5,9 @@ shortdesc: Demonstrates displaying IGN (France) WMTS layers.
docs: >
In this example an IGN WMTS layer is displayed.
For more information on IGN's WMTS service see the
[IGN Géoportail API web page](http://api.ign.fr/accueil)
[IGN Géoportail API web page](https://geoservices.ign.fr)
and
[Descriptif technique des web services du Géoportail](http://www.geoportail.gouv.fr/depot/api/cgu/DT_APIGeoportail.pdf)
[Documentation de loffre de données et services de lIGN](https://geoservices.ign.fr/documentation/diffusion/documentation-offre.html)
(french).
tags: "french, ign, geoportail, wmts"
---

View File

@@ -42,9 +42,9 @@ const ign_source = new WMTS({
tileGrid: tileGrid,
style: 'normal',
attributions:
'<a href="http://www.geoportail.fr/" target="_blank">' +
'<img src="https://api.ign.fr/geoportail/api/js/latest/' +
'theme/geoportal/img/logo_gp.gif"></a>',
'<a href="http://www.ign.fr" target="_blank">' +
'<img src="https://wxs.ign.fr/static/logos/IGN/IGN.gif" title="Institut national de l\'' +
'information géographique et forestière" alt="IGN"></a>',
});
const ign = new TileLayer({