@panoramax/web-viewer 4.0.3-develop-a0b27e7b → 4.0.3-develop-819928d9

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-a0b27e7b",
3
+ "version": "4.0.3-develop-819928d9",
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
  }
@@ -190,7 +190,34 @@
190
190
  "metadata_exif_doc_title": "請參閱 Exiv2 文件以取得 EXIF 和 XMP 標籤定義的完整說明",
191
191
  "metadata_location_coordinates": "座標 (經度, 緯度)",
192
192
  "metadata_location_copy": "複製 {v}",
193
- "metadata_location_copy_more": "更多座標複製選項"
193
+ "metadata_location_copy_more": "更多座標複製選項",
194
+ "semantics_title": "標籤",
195
+ "semantics_tags": "{nb} 個標籤",
196
+ "semantics_show_annotations": "顯示相片標註",
197
+ "semantics_show_all_tags": "顯示所有標籤",
198
+ "semantics_key": "索引鍵",
199
+ "semantics_annotation_tooltip": "點擊查看詳情",
200
+ "semantics_features_default_title": "特徵 #{nb}",
201
+ "semantics_features_subtitle": "{nb} 個關聯的屬性",
202
+ "semantics_hide_all_tags": "隱藏所有標籤",
203
+ "semantics_features_none": "此相片尚未檢測到或註釋任何特徵。",
204
+ "semantics_value": "值",
205
+ "semantics_tags_picture_none": "此相片尚未加上任何標籤。",
206
+ "semantics_tags_picture": "相片標籤",
207
+ "whats_panoramax": "Panoramax 是各地相片的地理共享資源。",
208
+ "semantics_features": "偵測到的特徵",
209
+ "semantics_key_doc": "深入了解此索引鍵",
210
+ "semantics_value_doc": "深入了解此標籤",
211
+ "semantics_qualifiers": "限定條件",
212
+ "semantics_hide_annotations": "隱藏相片標註",
213
+ "semantics_zero_annotations": "此相片尚未加上任何標註",
214
+ "semantics_hashtags": "相片主題標籤",
215
+ "semantics_wikidata_properties": {
216
+ "P31": "隸屬於",
217
+ "P279": "上級分類",
218
+ "P361": "所屬實體"
219
+ },
220
+ "panoramax": "Panoramax"
194
221
  },
195
222
  "map": {
196
223
  "loading": "正在載入…",