@panoramax/web-viewer 3.2.1-develop-231013c4 → 3.2.1-develop-e904bbd4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "3.2.1-develop-231013c4",
3
+ "version": "3.2.1-develop-e904bbd4",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -984,7 +984,9 @@ export default class Widgets {
984
984
  */
985
985
  _onMapThemeChange() {
986
986
  const fMapTheme = document.getElementById("gvs-map-theme");
987
+ const layerBtn = document.getElementById("gvs-map-layers");
987
988
  const t = fMapTheme.value;
989
+ layerBtn.setActive(t !== "default");
988
990
  for(let d of document.getElementsByClassName("gvs-map-theme-legend")) {
989
991
  if(d.id == "gvs-map-theme-legend-"+t) {
990
992
  d.classList.remove("gvs-hidden");
@@ -1018,9 +1020,9 @@ export default class Widgets {
1018
1020
  </div>
1019
1021
  <h4>${fat(faImage)} ${this._t.gvs.filter_picture}</h4>
1020
1022
  <div class="gvs-input-group gvs-checkbox-btns" style="justify-content: center;">
1021
- <input type="checkbox" id="gvs-filter-type-flat" name="flat" checked />
1023
+ <input type="checkbox" id="gvs-filter-type-flat" name="flat" />
1022
1024
  <label for="gvs-filter-type-flat">${fat(faImage)} ${this._t.gvs.picture_flat}</label>
1023
- <input type="checkbox" id="gvs-filter-type-360" name="360" checked />
1025
+ <input type="checkbox" id="gvs-filter-type-360" name="360" />
1024
1026
  <label for="gvs-filter-type-360">${fat(faPanorama)} ${this._t.gvs.picture_360}</label>
1025
1027
  </div>
1026
1028
  </form>