@panoramax/web-viewer 5.2.0-develop-b7465a56 → 5.2.0-develop-b697289e

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__ = "b7465a5";
12
+ const __COMMIT_HASH__ = "b697289";
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
 
@@ -213,7 +213,7 @@ export default class MapLayers extends LitElement {
213
213
  <pnx-map-theme ._parent=${this._parent}></pnx-map-theme>
214
214
  </div>
215
215
 
216
- ${ieq && this._parent?.isWidthSmall() ? ieqSwitch : nothing}
216
+ ${hasIndoor && this._parent?.isWidthSmall() ? ieqSwitch : nothing}
217
217
 
218
218
  ${this._parent?.mapStyleComposer?.hasManyBasemaps?.() ? html`
219
219
  <div class="map-layers-block map-layers-block-bg">
@@ -223,7 +223,7 @@ export default class MapLayers extends LitElement {
223
223
  ` : nothing}
224
224
  </div>
225
225
 
226
- ${ieq && !this._parent?.isWidthSmall() ? ieqSwitch : nothing}
226
+ ${hasIndoor && !this._parent?.isWidthSmall() ? ieqSwitch : nothing}
227
227
  </div>
228
228
 
229
229
  <div class=${classMap({
@@ -106,7 +106,7 @@ export default class Map extends MapLibre {
106
106
  this._parent.mapStyleComposer._createManyBasemaps(this._options.basemaps, this._options.background);
107
107
  }
108
108
 
109
- initIndoorEqualOnMap(this, ![undefined, DISABLED_LEVEL].includes(this._options.level));
109
+ initIndoorEqualOnMap(this, ![undefined, DISABLED_LEVEL].includes(this._options?.indoor?.level));
110
110
 
111
111
  this._attribution = new AttributionControl({ compact: false, ...options.attributionControl });
112
112
  this.addControl(this._attribution);
@@ -42,7 +42,7 @@
42
42
  "layers": "Camadas",
43
43
  "search": "Pesquisa",
44
44
  "search_empty": "Nenhum resultado encontrado",
45
- "search_address": "Pesquisar um endereço, cidade…",
45
+ "search_address": "Pesquisar um endereço ou uma cidade etc.…",
46
46
  "search_user": "Pesquisar um nome de usuário…",
47
47
  "share": "Compartilhar",
48
48
  "share_links": "Links",
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
6
6
  <title>Panoramax Web Viewer - Indoor</title>
7
- <script src="https://unpkg.com/maplibre-gl-indoorequal@1.3.0/dist/maplibre-gl-indoorequal.umd.min.js"></script>
8
- <link href="https://unpkg.com/maplibre-gl-indoorequal@1.3.0/maplibre-gl-indoorequal.css" rel="stylesheet" />
7
+ <script src="https://unpkg.com/maplibre-gl-indoorequal@1.5.0/dist/maplibre-gl-indoorequal.umd.min.js"></script>
8
+ <link href="https://unpkg.com/maplibre-gl-indoorequal@1.5.0/maplibre-gl-indoorequal.css" rel="stylesheet" />
9
9
  <style>
10
10
  #viewer {
11
11
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "5.2.0-develop-b7465a56",
3
+ "version": "5.2.0-develop-b697289e",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "./build/cjs/index.js",
6
6
  "module": "./build/esm/index.js",