Skip to content

Commit

Permalink
example(misc_redraw_layer): move geoportail url to geoplateforme url
Browse files Browse the repository at this point in the history
  • Loading branch information
jailln committed Oct 2, 2024
1 parent b48a6cf commit a2a3b93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/misc_redraw_layer.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<select id="styleBox" onChange="selectStyle()" style="font-size: 15px; background-color: rgba(0,0,0,0.3); border-radius: 5%; width: 175px; height: 25px; color: white; text-align: center;">
<option value='Type'>Stylized by Type</option>
<option value='Surface'>Stylized by Surface</option>
</select>
</select>
</div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
Expand All @@ -24,7 +24,7 @@
<script type="text/javascript">
// Define crs projection that we will use (taken from https://epsg.io/3946, Proj4js section)
itowns.proj4.defs('EPSG:3946', '+proj=lcc +lat_1=45.25 +lat_2=46.75 +lat_0=46 +lon_0=3 +x_0=1700000 +y_0=5200000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs');

// # Simple Globe viewer

// Define initial camera position
Expand Down Expand Up @@ -67,7 +67,7 @@

// Declare the source for the data on a rural area from the geoportail
var wfsAgriLayer = new itowns.WFSSource({
url: 'https://wxs.ign.fr/agriculture/geoportail/wfs?',
url: 'https://data.geopf.fr/wfs/ows?',
version: '2.0.0',
typeName: 'RPG.2013:rpg_2013',
crs: 'EPSG:4326',
Expand Down

0 comments on commit a2a3b93

Please sign in to comment.