@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/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" _map='{
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=PM_0_21&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"
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: 21,
8
+ maxzoom: 19,
9
9
  attribution: "&copy; 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='{"raster": {
9
- "type": "raster",
10
- "tiles": [
11
- "https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&FORMAT=image/jpeg&TILEMATRIXSET=PM_0_21&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"
12
- ],
13
- "minzoom": 0,
14
- "maxzoom": 21,
15
- "attribution": "&copy; IGN",
16
- "tileSize": 256
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: "&copy; IGN",
17
+ tileSize: 256
18
+ }
19
+ }'
20
+ ></pnx-viewer>
19
21
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "4.0.3-develop-d3e361bc",
3
+ "version": "4.0.3-develop-f6781e50",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -31,14 +31,14 @@
31
31
  <pnx-viewer
32
32
  id="viewer"
33
33
  class="fullpage"
34
- _map='{
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=PM_0_21&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"
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: 21,
41
+ maxzoom: 19,
42
42
  attribution: "&copy; IGN",
43
43
  tileSize: 256
44
44
  }
@@ -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",