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
+2 -2
View File
@@ -5,9 +5,9 @@ shortdesc: Demonstrates displaying IGN (France) WMTS layers.
docs: > docs: >
In this example an IGN WMTS layer is displayed. In this example an IGN WMTS layer is displayed.
For more information on IGN's WMTS service see the 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 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). (french).
tags: "french, ign, geoportail, wmts" tags: "french, ign, geoportail, wmts"
--- ---
+3 -3
View File
@@ -42,9 +42,9 @@ const ign_source = new WMTS({
tileGrid: tileGrid, tileGrid: tileGrid,
style: 'normal', style: 'normal',
attributions: attributions:
'<a href="http://www.geoportail.fr/" target="_blank">' + '<a href="http://www.ign.fr" target="_blank">' +
'<img src="https://api.ign.fr/geoportail/api/js/latest/' + '<img src="https://wxs.ign.fr/static/logos/IGN/IGN.gif" title="Institut national de l\'' +
'theme/geoportal/img/logo_gp.gif"></a>', 'information géographique et forestière" alt="IGN"></a>',
}); });
const ign = new TileLayer({ const ign = new TileLayer({