@panoramax/web-viewer 4.0.1 → 4.0.2
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/CHANGELOG.md +26 -3
- package/build/index.css +1 -1
- package/build/index.css.map +1 -1
- package/build/index.js +150 -51
- package/build/index.js.map +1 -1
- package/config/jest/mocks.js +2 -1
- package/docs/03_URL_settings.md +1 -1
- package/docs/09_Develop.md +5 -1
- package/docs/reference/components/ui/CopyButton.md +1 -0
- package/docs/reference/components/ui/Map.md +13 -0
- package/docs/reference/components/ui/MapMore.md +13 -0
- package/docs/reference/components/ui/Photo.md +1 -1
- package/docs/reference/components/ui/widgets/CopyCoordinates.md +32 -0
- package/docs/reference/utils/API.md +1 -1
- package/docs/reference.md +1 -0
- package/docs/tutorials/migrate_v4.md +1 -1
- package/docs/tutorials/synced_coverage.md +1 -1
- package/mkdocs.yml +1 -0
- package/package.json +1 -1
- package/src/components/core/CoverageMap.js +2 -2
- package/src/components/core/PhotoViewer.js +5 -1
- package/src/components/core/Viewer.js +9 -4
- package/src/components/menus/PictureLegend.js +7 -4
- package/src/components/menus/PictureMetadata.js +23 -2
- package/src/components/styles.js +61 -0
- package/src/components/ui/ButtonGroup.css +2 -0
- package/src/components/ui/CopyButton.js +3 -1
- package/src/components/ui/Map.js +35 -4
- package/src/components/ui/Photo.js +4 -2
- package/src/components/ui/TogglableGroup.js +1 -1
- package/src/components/ui/widgets/CopyCoordinates.js +75 -0
- package/src/components/ui/widgets/Legend.js +1 -1
- package/src/components/ui/widgets/OSMEditors.js +2 -2
- package/src/components/ui/widgets/PictureLegendActions.js +1 -1
- package/src/components/ui/widgets/Player.js +1 -0
- package/src/components/ui/widgets/index.js +1 -0
- package/src/translations/en.json +6 -2
- package/src/translations/fr.json +6 -2
- package/src/translations/it.json +3 -1
- package/src/translations/ti.json +9 -0
- package/src/utils/API.js +1 -1
- package/src/utils/InitParameters.js +2 -2
- package/src/utils/geocoder.js +5 -3
- package/src/utils/index.js +2 -1
- package/src/utils/picture.js +6 -1
- package/src/utils/services.js +57 -0
- package/src/utils/utils.js +18 -5
- package/tests/components/ui/Map.test.js +7 -3
- package/tests/utils/InitParameters.test.js +15 -15
- package/tests/utils/geocoder.test.js +1 -1
- package/tests/utils/utils.test.js +136 -109
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,28 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [4.0.2] - 2025-05-13
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- A button in EXIF tab for picture legend allows direct access to [Exiv2 tags documentation](https://exiv2.org/metadata.html).
|
|
16
|
+
- A button in Position tab for picture legend offer a simple copy-to-clipboard for picture coordinates, with various formats.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Player buttons are only shown if a picture is not single in its sequence.*
|
|
21
|
+
- Do not query reverse geocoding at all when sequence is playing.
|
|
22
|
+
- URL to third-party services are grouped into a new `utils/services.js` file for simpler tweaking (thanks to [Brad Hards](https://gitlab.com/bradh)).
|
|
23
|
+
- Switch _Base Adresse Nationale_ geocoding API URL to use GeoPlateforme URL.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- In report form, using space key was starting sequence play.
|
|
28
|
+
- When going to a another flat picture sequence, view was not always moved to display picture center.
|
|
29
|
+
- Make sure MapLibre layers are loaded before applying filters (to prevent date filters not being applied on user layers).
|
|
30
|
+
- The _what is Panoramax_ label in map legend was not translatable.
|
|
31
|
+
- 360° pictures with partial crop panorama info were not shown correctly.
|
|
32
|
+
|
|
11
33
|
## [4.0.1] - 2025-05-05
|
|
12
34
|
|
|
13
35
|
### Fixed
|
|
@@ -34,7 +56,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
34
56
|
### Changed
|
|
35
57
|
|
|
36
58
|
- All code is managed using _Web components_ (with [Lit JS](https://lit.dev/)), and should be initialized through DOM instead of class constructors.
|
|
37
|
-
- Code is
|
|
59
|
+
- Code is split into more components, classes and packages.
|
|
38
60
|
- Events are moved nearer their dedicated component (map, photo). The `addEventListener` can still be called on parent component using a sub-component prefix (like `map:moveend` to pass event from Viewer to its Map).
|
|
39
61
|
- Styles are manage through common JS or CSS files.
|
|
40
62
|
- Viewer widgets can be fine-tuned using web component slots.
|
|
@@ -370,7 +392,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
370
392
|
|
|
371
393
|
### Added
|
|
372
394
|
- A `destroy` function is now available to properly get rid of the viewer, which is useful for single-page applications.
|
|
373
|
-
- A new component named `StandaloneMap` is available to show a coverage map of pictures and sequences, without full picture display. It can be controlled
|
|
395
|
+
- A new component named `StandaloneMap` is available to show a coverage map of pictures and sequences, without full picture display. It can be controlled programmatically.
|
|
374
396
|
|
|
375
397
|
### Changed
|
|
376
398
|
- Calls to API are now using STAC standard notation for IDs lists (`ids=bla` instead of `ids=["bla"]`). Old notation was based on GeoVisio API misunderstanding of STAC docs. This __breaks compatibility__ with GeoVisio API <= 2.1.4, but makes viewer compatible with any STAC-compliant API.
|
|
@@ -544,7 +566,8 @@ Empty release to follow the API's minor version
|
|
|
544
566
|
- [A Photo Sphere Viewer under Chrome issue](https://github.com/mistic100/Photo-Sphere-Viewer/issues/937) was making classic pictures not visible
|
|
545
567
|
|
|
546
568
|
|
|
547
|
-
[Unreleased]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.0.
|
|
569
|
+
[Unreleased]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.0.2...develop
|
|
570
|
+
[4.0.2]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.0.1...4.0.2
|
|
548
571
|
[4.0.1]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.0.0...4.0.1
|
|
549
572
|
[4.0.0]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/3.2.3...4.0.0
|
|
550
573
|
[3.2.3]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/3.2.2...3.2.3
|