@panoramax/web-viewer 4.0.3-develop-d3e361bc → 4.0.3-develop-f6781e50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/viewer.html +3 -3
- package/docs/tutorials/aerial_imagery.md +13 -11
- package/package.json +1 -1
- package/public/viewer.html +3 -3
- package/src/translations/nl.json +4 -1
package/build/viewer.html
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><title>Panoramax Web Viewer</title><style>#viewer{position:relative;width:95%;margin:2.5%;height:400px}#viewer.fullpage{position:fixed;top:0;bottom:0;left:0;right:0;height:unset;width:unset;margin:0}</style><script defer="defer" src="index.js"></script><link href="index.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><pnx-viewer id="viewer" class="fullpage"
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><title>Panoramax Web Viewer</title><style>#viewer{position:relative;width:95%;margin:2.5%;height:400px}#viewer.fullpage{position:fixed;top:0;bottom:0;left:0;right:0;height:unset;width:unset;margin:0}</style><script defer="defer" src="index.js"></script><link href="index.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><pnx-viewer id="viewer" class="fullpage" map='{
|
|
2
2
|
raster: {
|
|
3
3
|
type: "raster",
|
|
4
4
|
tiles: [
|
|
5
|
-
"https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&FORMAT=image/jpeg&TILEMATRIXSET=
|
|
5
|
+
"https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&FORMAT=image/jpeg&TILEMATRIXSET=PM_0_19&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"
|
|
6
6
|
],
|
|
7
7
|
minzoom: 0,
|
|
8
|
-
maxzoom:
|
|
8
|
+
maxzoom: 19,
|
|
9
9
|
attribution: "© IGN",
|
|
10
10
|
tileSize: 256
|
|
11
11
|
}
|
|
@@ -5,15 +5,17 @@ In complement of classic _streets_ rendering, you can add an aerial imagery as m
|
|
|
5
5
|
```html
|
|
6
6
|
<pnx-viewer
|
|
7
7
|
endpoint="https://panoramax.ign.fr/api"
|
|
8
|
-
map='{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
map='{
|
|
9
|
+
raster: {
|
|
10
|
+
type: "raster",
|
|
11
|
+
tiles: [
|
|
12
|
+
"https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&FORMAT=image/jpeg&TILEMATRIXSET=PM_0_19&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"
|
|
13
|
+
],
|
|
14
|
+
minzoom: 0,
|
|
15
|
+
maxzoom: 19,
|
|
16
|
+
attribution: "© IGN",
|
|
17
|
+
tileSize: 256
|
|
18
|
+
}
|
|
19
|
+
}'
|
|
20
|
+
></pnx-viewer>
|
|
19
21
|
```
|
package/package.json
CHANGED
package/public/viewer.html
CHANGED
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
<pnx-viewer
|
|
32
32
|
id="viewer"
|
|
33
33
|
class="fullpage"
|
|
34
|
-
|
|
34
|
+
map='{
|
|
35
35
|
raster: {
|
|
36
36
|
type: "raster",
|
|
37
37
|
tiles: [
|
|
38
|
-
"https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&FORMAT=image/jpeg&TILEMATRIXSET=
|
|
38
|
+
"https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&FORMAT=image/jpeg&TILEMATRIXSET=PM_0_19&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"
|
|
39
39
|
],
|
|
40
40
|
minzoom: 0,
|
|
41
|
-
maxzoom:
|
|
41
|
+
maxzoom: 19,
|
|
42
42
|
attribution: "© IGN",
|
|
43
43
|
tileSize: 256
|
|
44
44
|
}
|
package/src/translations/nl.json
CHANGED
|
@@ -212,7 +212,10 @@
|
|
|
212
212
|
"metadata_general_copy_id": "Kopieer ID",
|
|
213
213
|
"picture_flat_long": "Klassieke afbeelding",
|
|
214
214
|
"metadata_location_coordinates": "Coördinaten (lengtegraad, breedtegraad)",
|
|
215
|
-
"picture_all": "Alles"
|
|
215
|
+
"picture_all": "Alles",
|
|
216
|
+
"semantics_zero_annotations": "Geen annotatie op deze afbeelding",
|
|
217
|
+
"semantics_hashtags": "Foto-hashtags",
|
|
218
|
+
"panoramax": "Panoramax"
|
|
216
219
|
},
|
|
217
220
|
"psv": {
|
|
218
221
|
"twoFingers": "Gebruik twee vingers om te navigeren",
|