You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,6 @@ If funded by someone else than 3Liz, please add label "sponsored development"
6
6
*[ ] JavaScript are named according to the following pattern `my_own_feature_X.Y.js` where `X.Y` is the version of LWC used
7
7
*[ ] Include a `README.md` with a small picture/GIF of the feature
8
8
*[ ] I agree to the license of this repository : [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/)
9
-
*[ ] I have added the docstring, according to the [contributing][https://github.com/3liz/lizmap-javascript-scripts/blob/master/CONTRIBUTING.md] guidelines.
9
+
*[ ] I have added the docstring, according to the [contributing](https://github.com/3liz/lizmap-javascript-scripts/blob/master/CONTRIBUTING.md) guidelines.
Ce script permet d'afficher dans votre projet les photos provenant du projet Panoramax (https://panoramax.openstreetmap.fr/ et/ou https://panoramax.ign.fr/) dans Lizmap Web Client. À noter qu'il n'est pas nécessaire que votre projet soit dans une projection spécifique pour que ce script fonctionne. C'est QGIS qui se chargera de la reprojection.
3
+
_English below_
4
+
5
+
Ce script permet d'afficher dans votre projet les photos provenant du projet Panoramax
6
+
(https://panoramax.openstreetmap.fr/ et/ou https://panoramax.ign.fr/) dans Lizmap Web Client. À noter qu'il n'est pas
7
+
nécessaire que votre projet soit dans une projection spécifique pour que ce script fonctionne. C'est QGIS qui se
8
+
chargera de la reprojection.
4
9
5
10

6
11
7
12
## Pré-requis
8
13
9
-
- Lizmap Web Client >= 3.8
14
+
- Lizmap Web Client ≥ 3.8
10
15
11
-
- Pour des raisons de performance et du fait qu'OpenLayers ne permette pas la reprojection de tuiles vectorielles, **la ou les couches de données Panoramax doivent être ajoutées depuis votre projet QGIS**. **Un groupe ou une couche nommée Panoramax doit absolument exister dans votre projet QGIS. Sinon le script générera une erreur**. Vous pouvez changer le nom de votre couche/groupe mais dans ce cas il sera nécessaire de modifier la variable PANORAMAX_QGIS_LAYER_NAME du script pour qu'elle corresponde au nom de votre couche. Vous pouvez également modifier depuis QGIS le style de votre couche de tuiles vectorielles si vous le souhaitez.
16
+
- Pour des raisons de performance et du fait qu'OpenLayers ne permette pas la reprojection de tuiles vectorielles,
17
+
**la ou les couches de données Panoramax doivent être ajoutées depuis votre projet QGIS**.
18
+
**Un groupe ou une couche nommée Panoramax doit absolument exister dans votre projet QGIS. Sinon le script générera
19
+
une erreur**. Vous pouvez changer le nom de votre couche/groupe mais dans ce cas il sera nécessaire de modifier
20
+
la variable `PANORAMAX_QGIS_LAYER_NAME` du script pour qu'elle corresponde au nom de votre couche. Vous pouvez
21
+
également modifier depuis QGIS le style de votre couche de tuiles vectorielles si vous le souhaitez.
12
22
13
23

14
24

@@ -18,26 +28,35 @@ Ce script permet d'afficher dans votre projet les photos provenant du projet Pan
18
28
Pour utiliser le script Panoramax dans votre projet :
19
29
1. assurez-vous d'avoir une couche Panoramax présente dans votre projet QGIS
20
30
2. copier `panoramax_3.8.js` dans le dossier `media/js` de votre projet
21
-
3. le bouton panoramax s'affichera dans Lizmap Web Client
22
-
4. En cliquant sur ce bouton, les photos associées aux points de la couche Panoramax seront affichées. Un clic sur un point permet d'afficher la photo correspondante.
31
+
3. le bouton Panoramax s'affichera dans Lizmap Web Client
32
+
4. En cliquant sur ce bouton, les photos associées aux points de la couche Panoramax seront affichées.
33
+
Un clic sur un point permet d'afficher la photo correspondante.
23
34
24
35
## Personnalisation
25
36
26
-
Si vous modifiez le nom du groupe ou de la couche Panoramax dans QGIS, vous devrez adapter la variable PANORAMAX_QGIS_LAYER_NAME dans le script pour qu'elle corresponde au nom de la couche dans votre projet.
37
+
Si vous modifiez le nom du groupe ou de la couche Panoramax dans QGIS, vous devrez adapter la variable
38
+
`PANORAMAX_QGIS_LAYER_NAME` dans le script pour qu'elle corresponde au nom de la couche dans votre projet.
27
39
28
-
Vous pouvez également personnaliser l'apparence du bouton ou le comportement d'affichage selon vos besoins via des ajustements dans le fichier JavaScript.
40
+
Vous pouvez également personnaliser l'apparence du bouton ou le comportement d'affichage selon vos besoins via des
41
+
ajustements dans le fichier JavaScript.
29
42
30
43
# (EN) Panoramax
31
44
32
-
This script allows you to display photos from the Panoramax project (https://panoramax.openstreetmap.fr/ and/or https://panoramax.ign.fr/) in your Lizmap Web Client project. It is not necessary for your project to have a specific projection for this script to work. QGIS will handle the reprojection.
45
+
This script allows you to display photos from the Panoramax project (https://panoramax.openstreetmap.fr/ and/or
46
+
https://panoramax.ign.fr/) in your Lizmap Web Client project. It is not necessary for your project to have a specific
47
+
projection for this script to work. QGIS will handle the reprojection.
33
48
34
49

35
50
36
51
## Requirements
37
52
38
-
- Lizmap Web Client >= 3.8
53
+
- Lizmap Web Client ≥ 3.8
39
54
40
-
- For performance reasons and because OpenLayers does not allow the reprojection of vector tiles, **the Panoramax data layer(s) must be added from your QGIS project**. **A layer or group named Panoramax must exist in your QGIS project. Otherwise, the script will generate an error**. You can change the name of your layer/group, but in that case, you will need to modify the PANORAMAX_QGIS_LAYER_NAME variable in the script to match the name of your layer. You can also modify the vector tiles style in QGIS.
55
+
- For performance reasons and because OpenLayers does not allow the reprojection of vector tiles, **the Panoramax data
56
+
layer(s) must be added from your QGIS project**. **A layer or group named Panoramax must exist in your QGIS project.
57
+
Otherwise, the script will generate an error**. You can change the name of your layer/group, but in that case, you
58
+
will need to modify the PANORAMAX_QGIS_LAYER_NAME variable in the script to match the name of your layer. You can
59
+
also modify the vector tiles style in QGIS.
41
60
42
61

43
62

@@ -48,11 +67,14 @@ This script allows you to display photos from the Panoramax project (https://pan
48
67
1. copy the panoramax_3.8.js file to the media/js folder of your QGIS project.
49
68
2. verify that the Panoramax layer (or group) exists in your QGIS project.
50
69
3. open Lizmap Web Client and ensure the version installed is 3.8 or higher.
51
-
4. the Panoramax button should now appear in the Lizmap interface, allowing you to view the photos related to the points in the Panoramax layer.
70
+
4. the Panoramax button should now appear in the Lizmap interface, allowing you to view the photos related to the points
71
+
in the Panoramax layer.
52
72
53
73
54
74
## Customization
55
75
56
-
If you change the name of the Panoramax group or layer in QGIS, you will need to adjust the PANORAMAX_QGIS_LAYER_NAME variable in the script to match the name of your layer.
76
+
If you change the name of the Panoramax group or layer in QGIS, you will need to adjust the `PANORAMAX_QGIS_LAYER_NAME`
77
+
variable in the script to match the name of your layer.
57
78
58
-
You can also customize the appearance of the button or the display behavior according to your needs by making adjustments to the JavaScript file.
79
+
You can also customize the appearance of the button or the display behavior according to your needs by making
0 commit comments