#2 enable wms layers in leaflet map
This commit is contained in:
parent
81a7ddbae0
commit
d0578e06d5
39
README
39
README
@ -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!?
|
|
@ -25,7 +25,7 @@ export const AppConfig = {
|
|||||||
signup:true,
|
signup:true,
|
||||||
email_contact:false,
|
email_contact:false,
|
||||||
platform_intro: {
|
platform_intro: {
|
||||||
fr: "Bienvenue<br /> à Wasseiges",
|
fr: "Bienvenue<br /> à BiomMap Wasseiges",
|
||||||
en: "Welcome<br /> on GeoNature Citizen"
|
en: "Welcome<br /> on GeoNature Citizen"
|
||||||
},
|
},
|
||||||
platform_teaser: {
|
platform_teaser: {
|
||||||
|
@ -57,6 +57,14 @@ export const MAP_CONFIG = {
|
|||||||
subdomains: "abc",
|
subdomains: "abc",
|
||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors. Map style by Cyclosm. Tiles by Champs-Libres.'
|
attribution: '© <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: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors. Map style by Cyclosm. Tiles by Champs-Libres.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "IGN Vue satellite",
|
name: "IGN Vue satellite",
|
||||||
maxZoom: 17,
|
maxZoom: 17,
|
||||||
|
0
sandbox/wmts/README.md
Normal file
0
sandbox/wmts/README.md
Normal file
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
|
|
||||||
WMTS: L.tileLayer(
|
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" +
|
"&REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0" +
|
||||||
"&STYLE=default" +
|
"&STYLE=default" +
|
||||||
"&TILEMATRIXSET=default028mm" +
|
"&TILEMATRIXSET=default028mm" +
|
||||||
|
Loading…
Reference in New Issue
Block a user