@panoramax/web-viewer 5.2.0-develop-686c571e → 5.2.0-develop-872eba2b
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 +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index_photoviewer.js +1 -1
- package/build/cjs/index_photoviewer.js.map +1 -1
- package/build/esm/components/core/Basic.js +1 -1
- package/build/esm/components/core/Editor.css +9 -0
- package/build/esm/components/core/Editor.js +4 -1
- package/build/fonts/atkinson-hyperlegible-next-latin-200-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-200-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-200-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-200-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-300-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-300-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-300-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-300-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-400-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-400-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-400-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-500-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-500-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-500-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-500-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-600-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-600-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-600-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-700-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-700-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-700-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-800-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-800-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-800-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-800-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-200-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-200-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-200-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-200-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-300-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-300-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-300-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-300-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-400-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-400-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-500-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-500-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-500-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-500-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-600-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-600-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-600-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-600-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-700-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-700-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-800-italic.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-800-italic.woff2 +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-800-normal.woff +0 -0
- package/build/fonts/atkinson-hyperlegible-next-latin-ext-800-normal.woff2 +0 -0
- 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__ = "872eba2";
|
|
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
|
|
|
@@ -8,6 +8,7 @@ pnx-editor {
|
|
|
8
8
|
pnx-editor .pnx-map,
|
|
9
9
|
pnx-editor .pnx-psv {
|
|
10
10
|
height: 50%;
|
|
11
|
+
position: relative;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
/* Map background widget */
|
|
@@ -30,4 +31,12 @@ pnx-editor pnx-widget-player {
|
|
|
30
31
|
}
|
|
31
32
|
pnx-editor pnx-widget-player #pnx-player-play {
|
|
32
33
|
display: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Map scale */
|
|
37
|
+
pnx-editor .maplibregl-ctrl-scale {
|
|
38
|
+
position: absolute;
|
|
39
|
+
bottom: 75px;
|
|
40
|
+
left: 0;
|
|
41
|
+
float: unset;
|
|
33
42
|
}
|
|
@@ -68,11 +68,13 @@ export default class Editor extends Basic {
|
|
|
68
68
|
* @property {string} [lang] To override language used for labels. Defaults to using user's preferred languages.
|
|
69
69
|
* @property {object} [raster] The MapLibre raster source for aerial background. This must be a JSON object following [MapLibre raster source definition](https://maplibre.org/maplibre-style-spec/sources/#raster).
|
|
70
70
|
* @property {string} [background=streets] Choose default map background to display (streets or aerial, if raster aerial background available). Defaults to street.
|
|
71
|
+
* @property {boolean} [allow-drag-picture] Set this to allow moving the picture marker (defaults to false)
|
|
71
72
|
*/
|
|
72
73
|
static properties = {
|
|
73
74
|
raster: {converter: Basic.GetJSONConverter()},
|
|
74
75
|
background: {type: String},
|
|
75
76
|
"map-style": {type: String},
|
|
77
|
+
"allow-drag-picture": {type: Boolean},
|
|
76
78
|
...Basic.properties
|
|
77
79
|
};
|
|
78
80
|
|
|
@@ -81,6 +83,7 @@ export default class Editor extends Basic {
|
|
|
81
83
|
|
|
82
84
|
this.raster = null;
|
|
83
85
|
this.background = "streets";
|
|
86
|
+
this["allow-drag-picture"] = false;
|
|
84
87
|
this["map-style"] = this.getAttribute("map-style") || MapTiles();
|
|
85
88
|
|
|
86
89
|
// Check if mapstyle is not a unparsed JSON
|
|
@@ -185,7 +188,7 @@ export default class Editor extends Basic {
|
|
|
185
188
|
this.map = new Map(this, this._mapContainer, {
|
|
186
189
|
background: this.background,
|
|
187
190
|
zoom: 15, // Hack to avoid _initMapPosition call
|
|
188
|
-
picMarkerDraggable:
|
|
191
|
+
picMarkerDraggable: this["allow-drag-picture"],
|
|
189
192
|
});
|
|
190
193
|
linkMapAndPhoto(this);
|
|
191
194
|
this.loader.setAttribute("value", 50);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED