@panoramax/web-viewer 4.0.1-develop-2f3000b7 → 4.0.1
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 +2 -22
- package/build/index.css.map +1 -1
- package/build/index.js +50 -149
- package/build/index.js.map +1 -1
- package/config/jest/mocks.js +1 -2
- package/docs/03_URL_settings.md +1 -1
- package/docs/09_Develop.md +1 -5
- package/docs/reference/components/ui/CopyButton.md +0 -1
- package/docs/reference/components/ui/Map.md +0 -13
- package/docs/reference/components/ui/MapMore.md +0 -13
- package/docs/reference/components/ui/Photo.md +1 -1
- package/docs/reference/utils/API.md +1 -1
- package/docs/reference.md +0 -1
- package/docs/tutorials/migrate_v4.md +1 -1
- package/docs/tutorials/synced_coverage.md +1 -1
- package/mkdocs.yml +0 -1
- package/package.json +1 -1
- package/src/components/core/CoverageMap.js +2 -2
- package/src/components/core/PhotoViewer.js +1 -5
- package/src/components/core/Viewer.js +4 -9
- package/src/components/menus/PictureLegend.js +4 -7
- package/src/components/menus/PictureMetadata.js +2 -23
- package/src/components/styles.js +0 -61
- package/src/components/ui/ButtonGroup.css +0 -2
- package/src/components/ui/CopyButton.js +1 -3
- package/src/components/ui/Map.js +4 -35
- package/src/components/ui/Photo.js +2 -4
- package/src/components/ui/TogglableGroup.js +1 -1
- 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 +0 -1
- package/src/components/ui/widgets/index.js +0 -1
- package/src/translations/en.json +2 -6
- package/src/translations/fr.json +2 -6
- package/src/translations/it.json +1 -3
- package/src/utils/API.js +1 -1
- package/src/utils/InitParameters.js +2 -2
- package/src/utils/geocoder.js +3 -5
- package/src/utils/index.js +1 -2
- package/src/utils/picture.js +1 -6
- package/src/utils/utils.js +5 -18
- package/tests/components/ui/Map.test.js +3 -7
- package/tests/utils/InitParameters.test.js +15 -15
- package/tests/utils/geocoder.test.js +1 -1
- package/tests/utils/utils.test.js +109 -136
- package/docs/reference/components/ui/widgets/CopyCoordinates.md +0 -32
- package/src/components/ui/widgets/CopyCoordinates.js +0 -75
- package/src/translations/ti.json +0 -9
- package/src/utils/services.js +0 -57
package/CHANGELOG.md
CHANGED
|
@@ -8,26 +8,6 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
-
### Added
|
|
12
|
-
|
|
13
|
-
- A button in EXIF tab for picture legend allows direct access to [Exiv2 tags documentation](https://exiv2.org/metadata.html).
|
|
14
|
-
- A button in Position tab for picture legend offer a simple copy-to-clipboard for picture coordinates, with various formats.
|
|
15
|
-
|
|
16
|
-
### Changed
|
|
17
|
-
|
|
18
|
-
- Player buttons are only shown if a picture is not single in its sequence.*
|
|
19
|
-
- Do not query reverse geocoding at all when sequence is playing.
|
|
20
|
-
- 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)).
|
|
21
|
-
- Switch _Base Adresse Nationale_ geocoding API URL to use GeoPlateforme URL.
|
|
22
|
-
|
|
23
|
-
### Fixed
|
|
24
|
-
|
|
25
|
-
- In report form, using space key was starting sequence play.
|
|
26
|
-
- When going to a another flat picture sequence, view was not always moved to display picture center.
|
|
27
|
-
- Make sure MapLibre layers are loaded before applying filters (to prevent date filters not being applied on user layers).
|
|
28
|
-
- The _what is Panoramax_ label in map legend was not translatable.
|
|
29
|
-
- 360° pictures with partial crop panorama info were not shown correctly.
|
|
30
|
-
|
|
31
11
|
## [4.0.1] - 2025-05-05
|
|
32
12
|
|
|
33
13
|
### Fixed
|
|
@@ -54,7 +34,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
54
34
|
### Changed
|
|
55
35
|
|
|
56
36
|
- All code is managed using _Web components_ (with [Lit JS](https://lit.dev/)), and should be initialized through DOM instead of class constructors.
|
|
57
|
-
- Code is
|
|
37
|
+
- Code is splitted in more components, classes and packages.
|
|
58
38
|
- 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).
|
|
59
39
|
- Styles are manage through common JS or CSS files.
|
|
60
40
|
- Viewer widgets can be fine-tuned using web component slots.
|
|
@@ -390,7 +370,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
390
370
|
|
|
391
371
|
### Added
|
|
392
372
|
- A `destroy` function is now available to properly get rid of the viewer, which is useful for single-page applications.
|
|
393
|
-
- A new component named `StandaloneMap` is available to show a coverage map of pictures and sequences, without full picture display. It can be controlled
|
|
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 programatically.
|
|
394
374
|
|
|
395
375
|
### Changed
|
|
396
376
|
- 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.
|