@panoramax/web-viewer 5.2.0-develop-4f6123cf → 5.2.0-develop-2aaaaaf0
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/cjs/index.js +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index_photoviewer.js +2 -2
- package/build/cjs/index_photoviewer.js.map +1 -1
- package/build/esm/components/core/Basic.js +1 -5
- package/build/esm/components/core/CoverageMap.js +0 -1
- package/build/esm/components/core/Editor.js +0 -1
- package/build/esm/components/core/PhotoViewer.js +0 -1
- package/build/esm/components/core/Viewer.js +0 -1
- package/build/esm/components/menus/MapFilters.js +6 -0
- package/build/esm/components/menus/PictureMetadata.js +0 -1
- package/build/esm/components/menus/SemanticsMetadata.js +0 -1
- package/build/esm/components/ui/AnnotationsSwitch.js +0 -1
- package/build/esm/components/ui/TimeTravel.js +0 -1
- package/build/esm/translations/hr.json +13 -6
- package/build/esm/utils/URLHandler.js +0 -1
- package/build/esm/utils/utils.js +0 -2
- package/package.json +1 -1
|
@@ -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__ = "
|
|
12
|
+
const __COMMIT_HASH__ = "2aaaaaf";
|
|
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
|
|
|
@@ -172,7 +172,6 @@ export default class Basic extends LitElement {
|
|
|
172
172
|
* @fulfil {null} When initialization is complete.
|
|
173
173
|
* @reject {string} Error message
|
|
174
174
|
*/
|
|
175
|
-
// eslint-disable-next-line class-methods-use-this
|
|
176
175
|
onceReady() {
|
|
177
176
|
throw new Error("You must override this method on sub-class");
|
|
178
177
|
}
|
|
@@ -261,7 +260,6 @@ export default class Basic extends LitElement {
|
|
|
261
260
|
* @returns {string} The class name (for example "Basic")
|
|
262
261
|
* @memberof Panoramax.components.core.Basic#
|
|
263
262
|
*/
|
|
264
|
-
// eslint-disable-next-line class-methods-use-this
|
|
265
263
|
getClassName() {
|
|
266
264
|
return "Basic";
|
|
267
265
|
}
|
|
@@ -311,7 +309,6 @@ export default class Basic extends LitElement {
|
|
|
311
309
|
}
|
|
312
310
|
|
|
313
311
|
/** @private */
|
|
314
|
-
// eslint-disable-next-line class-methods-use-this
|
|
315
312
|
render() {
|
|
316
313
|
return html`<p>Should not be used directly, use Viewer/CoverageMap/Editor instead</p>`;
|
|
317
314
|
}
|
|
@@ -321,7 +318,6 @@ export default class Basic extends LitElement {
|
|
|
321
318
|
* @returns {string[]} Sub-components names.
|
|
322
319
|
* @memberof Panoramax.components.core.Basic#
|
|
323
320
|
*/
|
|
324
|
-
// eslint-disable-next-line class-methods-use-this
|
|
325
321
|
getSubComponentsNames() {
|
|
326
322
|
return ["loader", "api"];
|
|
327
323
|
}
|
|
@@ -208,6 +208,12 @@ export default class MapFilters extends LitElement {
|
|
|
208
208
|
this._parent.mapStyleComposer.addEventListener("panoramax-changed", () => this._onParentFilterChange(this._parent.mapStyleComposer.panoramaxFilters));
|
|
209
209
|
this._onUpdateZoomIn();
|
|
210
210
|
this._onParentFilterChange(this._parent.mapStyleComposer.panoramaxFilters);
|
|
211
|
+
this._parent.addEventListener("menu-closed", e => {
|
|
212
|
+
if(e.detail.menu === this.parentNode){
|
|
213
|
+
const userSearch = this.shadowRoot.querySelector("#pnx-filter-search-user");
|
|
214
|
+
if(userSearch) { userSearch._results = null; }
|
|
215
|
+
}
|
|
216
|
+
})
|
|
211
217
|
}));
|
|
212
218
|
}
|
|
213
219
|
|
|
@@ -112,7 +112,6 @@ export default class AnnotationsSwitch extends LitElement {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/** @private */
|
|
115
|
-
// eslint-disable-next-line class-methods-use-this
|
|
116
115
|
_persistAnnotationsLocalStorage(isAnnotToggled) {
|
|
117
116
|
localStorage.setItem(DISABLE_ANNOTATIONS_PARAM, isAnnotToggled ? "false": "true");
|
|
118
117
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"layers": "Slojevi",
|
|
27
27
|
"search": "Pretraži",
|
|
28
28
|
"search_empty": "Nema pronađenih rezultata",
|
|
29
|
-
"search_address": "Traži adresu
|
|
29
|
+
"search_address": "Traži adresu ili grad…",
|
|
30
30
|
"search_user": "Traži korisničko ime…",
|
|
31
31
|
"share": "Podijeli",
|
|
32
32
|
"share_links": "Poveznice",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"filter_gps_precision_help_1": "Informacije o preciznosti lokacije dostupne su za svaku sliku. To odgovara GPS preciznosti tijekom snimanja slike.",
|
|
136
136
|
"filter_gps_precision_help_2": "Preciznost je izražena zvjezdicama:",
|
|
137
137
|
"filter_gps_precision_help_4": "RTK GPS imat će ocjenu \"5⭐\", akcijska kamera poput GoPro Maxa ocjenu \"3⭐\", a GPS za pametni telefon u podzemnom parkingu ocjenu \"1⭐\".",
|
|
138
|
-
"map_background": "Pozadina
|
|
138
|
+
"map_background": "Pozadina",
|
|
139
139
|
"map_background_aerial": "Zračni",
|
|
140
140
|
"map_background_streets": "Ulice",
|
|
141
141
|
"map_background_default": "Početna vrijednost",
|
|
@@ -145,14 +145,14 @@
|
|
|
145
145
|
"picture_flat_long": "Klasična slika",
|
|
146
146
|
"filter_gps_precision_help_3": "\"5⭐\" je vrlo precizno (<= {p5}m), \"1⭐\" je vrlo neprecizno (> {p1}m) ili nepoznato.",
|
|
147
147
|
"error_nopic": "Nema dostupnih slika na datoj poziciji",
|
|
148
|
-
"error_josm": "JOSM ne odgovara, radi li i je li
|
|
148
|
+
"error_josm": "JOSM ne odgovara, radi li i je li daljinsko upravljanje omogućeno?",
|
|
149
149
|
"filter_date_1year": "1 godina",
|
|
150
150
|
"map_background_more": "Više",
|
|
151
|
-
"map_theme": "Tema
|
|
151
|
+
"map_theme": "Tema",
|
|
152
152
|
"map_theme_age": "Datum snimanja",
|
|
153
153
|
"map_theme_age_1": "> 3 godine",
|
|
154
154
|
"map_theme_age_2": "< 3 godine",
|
|
155
|
-
"map_theme_age_3": "
|
|
155
|
+
"map_theme_age_3": "½ - 1 godine",
|
|
156
156
|
"map_theme_age_4": "< 6 mjeseca",
|
|
157
157
|
"map_theme_type": "Tip kamere",
|
|
158
158
|
"map_theme_score": "Ocjena kvalitete",
|
|
@@ -299,7 +299,14 @@
|
|
|
299
299
|
"map_theme_type_short": "Kamera",
|
|
300
300
|
"map_theme_score_short": "Kvaliteta",
|
|
301
301
|
"map_theme_gps_short": "Pozicija",
|
|
302
|
-
"map_theme_default_short": "Predefinirano"
|
|
302
|
+
"map_theme_default_short": "Predefinirano",
|
|
303
|
+
"map_theme_default_coef": "Razina pokrivenosti",
|
|
304
|
+
"map_theme_default_coef_short": "Pokrivenost",
|
|
305
|
+
"map_theme_default_1": "Niska",
|
|
306
|
+
"map_theme_default_2": "Prosječna",
|
|
307
|
+
"map_theme_default_3": "Dobra",
|
|
308
|
+
"map_theme_default_4": "Odlična",
|
|
309
|
+
"widget_locked": "Opcija onemogućena"
|
|
303
310
|
},
|
|
304
311
|
"map": {
|
|
305
312
|
"thumbnail": "Sličica lebdeće slike",
|
package/build/esm/utils/utils.js
CHANGED
|
@@ -355,7 +355,6 @@ export function isInternetFast() {
|
|
|
355
355
|
return Promise.resolve(speed >= InternetFastThreshold());
|
|
356
356
|
}
|
|
357
357
|
// Fallback for other browsers
|
|
358
|
-
|
|
359
358
|
catch(e) {
|
|
360
359
|
try {
|
|
361
360
|
// Check if test has been done before and stored
|
|
@@ -383,7 +382,6 @@ export function isInternetFast() {
|
|
|
383
382
|
});
|
|
384
383
|
}
|
|
385
384
|
// Fallback for browser blocking third-party downloads or sessionStorage
|
|
386
|
-
|
|
387
385
|
catch(e) {
|
|
388
386
|
return Promise.resolve(false);
|
|
389
387
|
}
|
package/package.json
CHANGED