Contrôle par URL¶
Ouverture du panneau latéral¶
- Params :
- sidenav= 1 ou 0 (1 = ouvert)
- Exemple:
Ajout de couches¶
- Params :
- wmsUrl=
- layers=
- vector=
- Exemple:
- https://infra-geo-ouverte.github.io/igo2/?wmsUrl=https://geoegl.msp.gouv.qc.ca/apis/ws/igo_gouvouvert.fcgi&layers=evenements
- https://infra-geo-ouverte.github.io/igo2/?vector=https://storage.googleapis.com/dx-montreal/resources/0e810012-17ad-4f31-b59a-95bb0d6c2a56/programmation-culturelle-estivale-2020.geojson?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=60&X-Amz-Credential=GOOG1EM55P356HYDSB5BC4M4SBSA6Q7NQVVTNVVFSZOBSOVIVW5ZADICRGUKA%2F20200908%2Feurope-west1%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Date=20200908T191119Z&X-Amz-Signature=a1794cf568c99a2a8fd49c923339f8460e91ba0eaf6e4c8812ab3fd276cd9afe
- https://infra-geo-ouverte.github.io/igo2/?vector=https://www.donneesquebec.ca/recherche/fr/dataset/f647f5ed-a8f3-4a47-8ceb-977cbf090675/resource/68e0e20a-415d-44f5-af82-a90311784616/download/bornes-incendies.geojson
Sélection du contexte¶
- Params :
- context=
- Exemple:
Zoom¶
- Params :
- zoom=
- Exemple:
Centre de la carte¶
- Params :
- center=
- Exemple:
Visibilité des couches¶
Basé sur les identifiant du layer. L’id peut être configuré dans les contexte OU assigné automatiquement (uuid).
- Params :
- visiblelayers= (liste de id, séparés par une virgule OU * (tous) )
- invisiblelayers= (liste de id, séparés par une virgule OU * (tous) )
- Exemple:
Outil actif lors de l’ouverture¶
- Params :
- tool=
- Exemple:
- https://infra-geo-ouverte.github.io/igo2/?tool=about
- https://infra-geo-ouverte.github.io/igo2/?tool=catalog
- catalogBrowser (pas disponible car un catalogue doit être sélectionné)
- https://infra-geo-ouverte.github.io/igo2/?tool=contextManager
- https://infra-geo-ouverte.github.io/igo2/?tool=directions
- https://infra-geo-ouverte.github.io/igo2/?tool=ogcFilter
- https://infra-geo-ouverte.github.io/igo2/?tool=timeFilter
- https://infra-geo-ouverte.github.io/igo2/?tool=spatialFilter
- https://infra-geo-ouverte.github.io/igo2/?tool=importExport
- https://infra-geo-ouverte.github.io/igo2/?tool=mapDetails
- https://infra-geo-ouverte.github.io/igo2/?tool=map
- https://infra-geo-ouverte.github.io/igo2/?tool=measurer
- https://infra-geo-ouverte.github.io/igo2/?tool=print
- https://infra-geo-ouverte.github.io/igo2/?tool=searchResults
Recherche¶
- Params :
- search=
- #couche pour n’avoir que les couches
- #adresse
- #route
- #municipalites, #mun
- #mrc
- #entreprise
- #lieu
- #sumi, #borne, #bornes
- #code-postal
- #anciennes-adresses
- #ancienne-municipalites
- #région-administrative ou #regadmin
- #borne, #bornes, #repère, #km
- search=patate&sf=1
- sf=1 permet de zoomer sur le premier résultat
- Exemple:
Itinéraire¶
- Params :
- tool=directions
- routing= (liste de longitude,latitude, séparé par virgules)
- Exemple:
Table des matières¶
- Params :
- llck = mot clef pour filtrer la liste des couches
- llca = 1 ou 0 , pour trier la table des matières en ordre alphabétique.
- llcv = 1 ou 0 , pour ne montrer que les couches visibles.
- llcr = 1 ou 0 , pour ne montrer que les couches visibles selon l’échelle active de la carte
0 = actif 1 = inactif
- Exemple:
- https://infra-geo-ouverte.github.io/igo2/?llck=rtss
- https://infra-geo-ouverte.github.io/igo2/?&llca=1
- https://infra-geo-ouverte.github.io/igo2/?context=mtq&visiblelayers=bgr_v_sous_route_res_sup_act&llcv=1
- https://infra-geo-ouverte.github.io/igo2/?context=mtq&visiblelayers=bgr_v_sous_route_res_sup_act&llcr=1