Skip to content

Commit

Permalink
[UPD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Nov 19, 2024
1 parent cc97297 commit af4d3d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions examples/layer/map.layer.geoportail.wfs.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ <h1>ol-ext: Géoplateforme WFS</h1>
<li>Téléchargez...</li>
</ol>
</p>
<p>
Pour un chargement plus précis par <a href="http://localhost:8181/examples/misc/geoportail.loader.html">c'est par ici</a>.
</p>
<p>
Les bases de données de l'IGN sont diffusées selon les termes de la
<a href="https://geoservices.ign.fr/documentation/diffusion/telechargement-donnees-libres.html" target="_new">
Expand Down
3 changes: 1 addition & 2 deletions examples/layer/map.layer.geoportail.wfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ function setWFS(type) {
$('#loading span').text(e.loaded+'/'+e.loading)
}
}
var key = type.split('|')[0];
type = type.split('|')[1];
type = type.split('|')[1] || '';
var title = (type.split(':')[1] || type).replace(/(_|\.)/g,' ').capitalize();
vectorLayer.set('title', title);
vectorSource = new ol.source.TileWFS({
Expand Down

0 comments on commit af4d3d5

Please sign in to comment.