@panoramax/web-viewer 5.2.0-develop-872eba2b → 5.2.0-develop-a190ecac

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.
@@ -9,7 +9,7 @@ import BasicStyles from "./Basic.css" with { type: "css" };
9
9
  document.adoptedStyleSheets.push(AtkinsonStyles);
10
10
  document.adoptedStyleSheets.push(BasicStyles);
11
11
 
12
- const __COMMIT_HASH__ = "872eba2";
12
+ const __COMMIT_HASH__ = "a190eca";
13
13
  const __PACKAGE_VERSION__ = "5.2.0";
14
14
  const __PACKAGE_ISSUES_URL__ = "https://gitlab.com/panoramax/clients/web-viewer/-/work_items";
15
15
 
@@ -99,7 +99,8 @@ export default class MapBackground extends LitElement {
99
99
  /** @private */
100
100
  _onBgSelect(e) {
101
101
  this.bg = e.target.value;
102
- this.shadowRoot.querySelector("#pnx-map-bg-more").value = null;
102
+ const bgMore = this.shadowRoot.querySelector("#pnx-map-bg-more");
103
+ if(bgMore) { bgMore.value = null; }
103
104
  this._parent?.mapStyleComposer?.switchBasemap(this.bg);
104
105
  }
105
106
 
@@ -144,12 +144,12 @@
144
144
  "filter_gps_precision_help_2": "The precision is expressed with stars:",
145
145
  "filter_gps_precision_help_3": "\"5⭐\" is very precise (<= {p5}m), \"1⭐\" is very imprecise (> {p1}m) or unknown.",
146
146
  "filter_gps_precision_help_4": "A RTK GPS will have a \"5⭐\" grade, an action camera like GoPro Max a \"3⭐\" grade, and a smartphone GPS in an underground parking a \"1⭐\" grade.",
147
- "map_background": "Map background",
147
+ "map_background": "Background",
148
148
  "map_background_aerial": "Aerial",
149
149
  "map_background_streets": "Streets",
150
150
  "map_background_default": "Default",
151
151
  "map_background_more": "More",
152
- "map_theme": "Map theme",
152
+ "map_theme": "Theme",
153
153
  "map_theme_default": "Default",
154
154
  "map_theme_age": "Capture date",
155
155
  "map_theme_age_1": "> 2 years",
@@ -144,12 +144,12 @@
144
144
  "filter_gps_precision_help_2": "La précision est exprimé sous forme d'étoile :",
145
145
  "filter_gps_precision_help_3": "\"5⭐\" est très précis (<= {p5}m), \"1⭐\" est très imprécis (> {p1}m) ou inconnu.",
146
146
  "filter_gps_precision_help_4": "Un GPS RTK aura une note de \"5⭐\", un GPS de caméra sportive type GoPro Max une note de \"3⭐\", un GPS de smartphone dans un parking souterrain une note de \"1⭐\".",
147
- "map_background": "Fond de carte",
147
+ "map_background": "Fond",
148
148
  "map_background_aerial": "Satellite",
149
149
  "map_background_streets": "Plan",
150
150
  "map_background_default": "Par défaut",
151
151
  "map_background_more": "Plus",
152
- "map_theme": "Rendu de carte",
152
+ "map_theme": "Thème",
153
153
  "map_theme_default": "Classique",
154
154
  "map_theme_default_short": "Classique",
155
155
  "map_theme_age": "Date de capture",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "5.2.0-develop-872eba2b",
3
+ "version": "5.2.0-develop-a190ecac",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "./build/cjs/index.js",
6
6
  "module": "./build/esm/index.js",