#2 enable wms layers in leaflet map

This commit is contained in:
nobohan 2021-05-22 21:17:27 +02:00
parent 81a7ddbae0
commit d0578e06d5
5 changed files with 10 additions and 41 deletions

39
README
View File

@ -1,39 +0,0 @@
# gl-geonature
L'instance Geonature-Citizen de Champs-Libres.
# Installation développeur :
$ git submodule update --init --recursive
$ docker-compose up -d
$ docker-compose exec citizen install/install_app.sh
note: les credentials pour accéder au backend se trouvent dans /home/appuser/citizen/config
# Remise en route du service
$ docker-compose up -d
$ docker-compose exec citizen sh install/restart.sh
# Documentation :
$ make doc
# Builder le front (pour production)
```
$ docker-compose exec citizen bash
appuser@ab136184159a:~/citizen/$ cd frontend
appuser@ab136184159a:~/citizen/frontend$ npm run ng build -- --configuration=fr --prod
```
# Modifier la config du front end
- faire des modifications dans patches/frontend/conf
- Builder le front (cfr commande ci-dessus)
- remise en route du service (cfr commande ci-desssus)
# Modifier l'image de fond
Il semble qu'un rebuild du container soit nécessaire!?

View File

@ -25,7 +25,7 @@ export const AppConfig = {
signup:true,
email_contact:false,
platform_intro: {
fr: "Bienvenue<br /> à Wasseiges",
fr: "Bienvenue<br /> à BiomMap Wasseiges",
en: "Welcome<br /> on GeoNature Citizen"
},
platform_teaser: {

View File

@ -57,6 +57,14 @@ export const MAP_CONFIG = {
subdomains: "abc",
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors. Map style by Cyclosm. Tiles by Champs-Libres.'
},
{
name: "WMS SPW ortho",
maxZoom: 17,
layer: "//geoservices.wallonie.be/arcgis/services/IMAGERIE/ORTHO_2019/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors. Map style by Cyclosm. Tiles by Champs-Libres.'
},
{
name: "IGN Vue satellite",
maxZoom: 17,

0
sandbox/wmts/README.md Normal file
View File

View File

@ -39,7 +39,7 @@
WMTS: L.tileLayer(
'https://geoservices.wallonie.be/arcgis/rest/services/IMAGERIE/ORTHO_LAST/MapServer/WTMS?' +
'https://geoservices.wallonie.be/arcgis/rest/services/IMAGERIE/ORTHO_LAST/MapServer/WTMS/tile/1.0.0/?' +
"&REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0" +
"&STYLE=default" +
"&TILEMATRIXSET=default028mm" +