Merge pull request #10917 from sambakk/master
Fix the IGN WMTS example dead links and attribution
This commit is contained in:
@@ -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 l’offre de données et services de l’IGN](https://geoservices.ign.fr/documentation/diffusion/documentation-offre.html)
|
||||||
(french).
|
(french).
|
||||||
tags: "french, ign, geoportail, wmts"
|
tags: "french, ign, geoportail, wmts"
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user