@panoramax/web-viewer 5.2.0-develop-6a40c2ee → 5.2.0-develop-434137e7

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.
@@ -65,7 +65,7 @@ export default class PictureLegendActions extends LitElement {
65
65
  render() {
66
66
  return html`<pnx-togglable-group padded="false" id="pic-legend-headline-menu" ._parent=${this._parent}>
67
67
  <pnx-button slot="button" kind="inline">${fa(faEllipsisV)}</pnx-button>
68
- <pnx-list-group class="pnx-print-hidden" @click=${this._closeMenu}>
68
+ <pnx-list-group class="pnx-print-hidden" @click=${this._closeGroup}>
69
69
  ${this._meta ? html`<pnx-copy-button ._t=${this._parent?._t} text=${this._meta.id} unstyled>
70
70
  ${this._parent?._t.pnx.metadata_general_copy_picid}
71
71
  </pnx-copy-button>` : nothing}
Binary file
@@ -148,9 +148,9 @@
148
148
  "map_background_aerial": "Aerial",
149
149
  "map_background_streets": "Streets",
150
150
  "map_background_default": "Default",
151
- "map_background_more": "Other backgrounds...",
151
+ "map_background_more": "More",
152
152
  "map_theme": "Map theme",
153
- "map_theme_default": "Classic",
153
+ "map_theme_default": "Default",
154
154
  "map_theme_age": "Capture date",
155
155
  "map_theme_age_1": "> 2 years",
156
156
  "map_theme_age_2": "< 2 years",
@@ -158,7 +158,12 @@
158
158
  "map_theme_age_4": "< 1 month",
159
159
  "map_theme_type": "Camera type",
160
160
  "map_theme_score": "Quality score",
161
- "map_theme_gps": "Location precision",
161
+ "map_theme_gps": "GPS precision",
162
+ "map_theme_default_short": "Default",
163
+ "map_theme_age_short": "Date",
164
+ "map_theme_type_short": "Camera",
165
+ "map_theme_score_short": "Quality",
166
+ "map_theme_gps_short": "Position",
162
167
  "contrast": "Enable higher image contrast",
163
168
  "low_contrast": "Lower image contrast",
164
169
  "reset_contrast": "Reset image contrast",
@@ -284,7 +289,7 @@
284
289
  "report_wait": "Sending report…",
285
290
  "report_success": "Report was sent successfully. It will be reviewed as soon as possible.",
286
291
  "report_failure": "An error occurred when creating report: {e}. Please try again later.",
287
- "indoor_switch": "Indoor maps",
292
+ "indoor_switch": "Indoor spaces",
288
293
  "indoor_selector_expand": "Click to see all available levels",
289
294
  "indoor_selector_shrink": "Click to minimize",
290
295
  "indoor_selector_levelup": "Go to upper level",
@@ -148,17 +148,22 @@
148
148
  "map_background_aerial": "Satellite",
149
149
  "map_background_streets": "Plan",
150
150
  "map_background_default": "Par défaut",
151
- "map_background_more": "Autres fonds de carte...",
151
+ "map_background_more": "Plus",
152
152
  "map_theme": "Rendu de carte",
153
153
  "map_theme_default": "Classique",
154
- "map_theme_age": "Date de prise de vue",
154
+ "map_theme_default_short": "Classique",
155
+ "map_theme_age": "Date de capture",
156
+ "map_theme_age_short": "Date",
155
157
  "map_theme_age_1": "> 2 ans",
156
158
  "map_theme_age_2": "< 2 ans",
157
159
  "map_theme_age_3": "< 1 an",
158
160
  "map_theme_age_4": "< 1 mois",
159
161
  "map_theme_type": "Type de caméra",
162
+ "map_theme_type_short": "Caméra",
160
163
  "map_theme_score": "Score de qualité",
161
- "map_theme_gps": "Précision du positionnement",
164
+ "map_theme_score_short": "Qualité",
165
+ "map_theme_gps": "Précision du GPS",
166
+ "map_theme_gps_short": "Position",
162
167
  "contrast": "Augmenter le contraste de l'image",
163
168
  "low_contrast": "Diminuer le contraste de l'image",
164
169
  "reset_contrast": "Rétablir le contraste de l'image",
@@ -284,7 +289,7 @@
284
289
  "report_wait": "Envoi du signalement en cours…",
285
290
  "report_success": "Le signalement a été envoyé avec succès. Il sera examiné dès que possible.",
286
291
  "report_failure": "Une erreur est survenue lors de la création du signalement : {e}. Veuillez réessayer plus tard.",
287
- "indoor_switch": "Plans de bâtiments",
292
+ "indoor_switch": "Espaces intérieurs",
288
293
  "indoor_selector_expand": "Cliquez pour voir tous les niveaux disponibles",
289
294
  "indoor_selector_shrink": "Cliquez pour réduire",
290
295
  "indoor_selector_levelup": "Aller au niveau supérieur",
@@ -72,12 +72,46 @@
72
72
  class="fullpage"
73
73
  endpoint="https://panoramax.openstreetmap.fr/api"
74
74
  map-options='{
75
- center: [-1.55958, 47.2135],
76
- zoom: 19,
75
+ center: [-1.55958, 47.2135],
76
+ zoom: 19,
77
77
  indoor: {
78
- apiKey: "iek_yFQp8AMQpK78c8wPyAvbXY3ko6nh",
79
- heatmap: false,
80
- level: "2"
78
+ apiKey: "iek_yFQp8AMQpK78c8wPyAvbXY3ko6nh",
79
+ heatmap: false,
80
+ level: "2"
81
+ },
82
+ raster: {
83
+ type: "raster",
84
+ tiles: [
85
+ "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}"
86
+ ],
87
+ minzoom: 0,
88
+ maxzoom: 19,
89
+ attribution: "&copy; IGN",
90
+ tileSize: 256
91
+ },
92
+ basemaps: {
93
+ "OSM Topo": "https://tile-vect.openstreetmap.fr/styles/topo/style.json",
94
+ "OSM FR": "https://a.tile.openstreetmap.fr/osmfr/{z:19}/{x}/{y}.png",
95
+ osmbzh: {
96
+ sources: {
97
+ "osmbzh": {
98
+ "type": "raster",
99
+ "tiles": ["https://tile.openstreetmap.bzh/br/{z}/{x}/{y}.png"],
100
+ "tileSize": 256,
101
+ "minzoom": 0,
102
+ "maxzoom": 19,
103
+ "attribution": "&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> & <a href=\"http://www.openstreetmap.bzh/\">Breton OpenStreetMap Team</a>",
104
+ }
105
+ },
106
+ "layers": [
107
+ {
108
+ "id": "osmbzh",
109
+ "type": "raster",
110
+ "source": "osmbzh",
111
+ "metadata": {"name": "OSM e brezhoneg"}
112
+ }
113
+ ]
114
+ }
81
115
  }
82
116
  }'
83
117
  ></pnx-viewer>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "5.2.0-develop-6a40c2ee",
3
+ "version": "5.2.0-develop-434137e7",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "./build/cjs/index.js",
6
6
  "module": "./build/esm/index.js",