@panoramax/web-viewer 5.1.2-develop-892ac969 → 5.1.2-develop-100d0be1

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,8 +9,8 @@ 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__ = "892ac96";
13
- const __PACKAGE_VERSION__ = "5.1.2";
12
+ const __COMMIT_HASH__ = "100d0be";
13
+ const __PACKAGE_VERSION__ = "5.2.0";
14
14
  const __PACKAGE_ISSUES_URL__ = "https://gitlab.com/panoramax/clients/web-viewer/-/work_items";
15
15
 
16
16
  /**
@@ -104,9 +104,13 @@ export default class URLHandler extends EventTarget {
104
104
  hashParts.users = this._parent.mapStyleComposer.panoramax;
105
105
  }
106
106
 
107
+ if(this._parent.mapStyleComposer?.panoramaxTheme) {
108
+ hashParts.theme = this._parent.mapStyleComposer.panoramaxTheme;
109
+ }
110
+
107
111
  if(this._parent.mapStyleComposer.panoramaxFilters) {
108
112
  for(let k in MAP_FILTERS_JS2URL) {
109
- if(this._parent.mapStyleComposer.panoramaxFilters[k]) {
113
+ if(k !== "theme" && this._parent.mapStyleComposer.panoramaxFilters[k]) {
110
114
  hashParts[MAP_FILTERS_JS2URL[k]] = this._parent.mapStyleComposer.panoramaxFilters[k];
111
115
  }
112
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "5.1.2-develop-892ac969",
3
+ "version": "5.1.2-develop-100d0be1",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "./build/cjs/index.js",
6
6
  "module": "./build/esm/index.js",