@panoramax/web-viewer 4.3.1-develop-2084d822 → 4.3.1-develop-f14157a9
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 +87 -45
- package/build/index.css +1 -1
- package/build/index.css.map +1 -1
- package/build/index.js +560 -560
- package/build/index.js.map +1 -1
- package/build/photoviewer.js +1 -1
- package/config/jest/mocks.js +3 -0
- package/package.json +3 -2
- package/src/components/core/Editor.js +1 -1
- package/src/utils/indoor.js +6 -3
- package/src/utils/map.js +73 -62
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
2
3
|
All notable changes to this project will be documented in this file.
|
|
3
4
|
|
|
4
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
@@ -11,16 +12,19 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
11
12
|
### Added
|
|
12
13
|
|
|
13
14
|
- A `share-base-url` parameter allows to change base URL used in _Share_ widget, to permit displaying public links in closed environments.
|
|
14
|
-
- Support for
|
|
15
|
+
- Support for **Indoor Mapping** : show building indoors maps from [indoor=](https://indoorequal.org/) and filter pictures and sequences based on the `osm|level=n` semantic tag. Thanks to [Cartocité](https://cartocite.fr/) for sponsoring this feature!
|
|
15
16
|
|
|
16
17
|
### Changed
|
|
17
18
|
|
|
18
19
|
- The _one click to hide all widgets_ feature shows back widgets after mouse move (similar to video players).
|
|
19
20
|
- Semantics overlays (_Tags_ layer button on map) are now using a more progressive loading, 100 features per tile at zoom 15, 1000 at zoom 19. This improves loading performance from API.
|
|
21
|
+
- Updated MapLibre to 5.17
|
|
20
22
|
|
|
21
23
|
### Fixed
|
|
22
24
|
|
|
23
25
|
- Fix issue with Editor using thumbnail instead of SD picture on first load.
|
|
26
|
+
- Editor uses old style instead of _crowded_ style.
|
|
27
|
+
- Missing dependency `geojson-vt` in `package.json`.
|
|
24
28
|
|
|
25
29
|
## [4.3.1] - 2026-01-19
|
|
26
30
|
|
|
@@ -83,15 +87,15 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
83
87
|
|
|
84
88
|
### Changed
|
|
85
89
|
|
|
86
|
-
- ⚠️
|
|
90
|
+
- ⚠️ **This is a breaking change** : some component attributes names have been changed, for both coherence and avoid conflicting names with component properties. The changes are :
|
|
87
91
|
|
|
88
92
|
| Old name | New name |
|
|
89
|
-
|
|
93
|
+
| -------------- | --------------- |
|
|
90
94
|
| `map` | `map-options` |
|
|
91
95
|
| `psv` | `psv-options` |
|
|
92
96
|
| `fetchOptions` | `fetch-options` |
|
|
93
97
|
| `mapstyle` | `map-style` |
|
|
94
|
-
|
|
98
|
+
|
|
95
99
|
Make sure to update all your components embeds for parameters to be correctly passed in.
|
|
96
100
|
|
|
97
101
|
- The semantics legend tab is now in a separated component named _SemanticsMetadata_.
|
|
@@ -126,7 +130,7 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
126
130
|
|
|
127
131
|
### Changed
|
|
128
132
|
|
|
129
|
-
- ⚠️
|
|
133
|
+
- ⚠️ **pnx-hashtags** widget has been renamed into `pnx-annotations-switch`, and only displays a switch button to show/hide annotations on pictures.
|
|
130
134
|
- In picture legend, in _General_ tab, capture date shows seconds and is clickable to access _Camera_ tab.
|
|
131
135
|
- Map legend font size a bit reduced, map attribution integrated in a sentence.
|
|
132
136
|
- In picture legend, the "..." keeps the same entries between collapsed and expanded display.
|
|
@@ -173,7 +177,7 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
173
177
|
|
|
174
178
|
### Changed
|
|
175
179
|
|
|
176
|
-
- Player buttons are only shown if a picture is not single in its sequence
|
|
180
|
+
- Player buttons are only shown if a picture is not single in its sequence.\*
|
|
177
181
|
- Do not query reverse geocoding at all when sequence is playing.
|
|
178
182
|
- 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)).
|
|
179
183
|
- Switch _Base Adresse Nationale_ geocoding API URL to use GeoPlateforme URL.
|
|
@@ -203,7 +207,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
203
207
|
- New languages: 🇸🇪 Swedish, 🇯🇵 Japanese and 🇳🇱 Dutch.
|
|
204
208
|
- Loader features a progress bar, and adopts a new look.
|
|
205
209
|
- Viewer map filter by date input checks if min date is lower than max date, and eventually inverts if necessary.
|
|
206
|
-
- Viewer map center, zoom, background and theme are stored in `localStorage` to permit restoring map position at load. This position is used
|
|
210
|
+
- Viewer map center, zoom, background and theme are stored in `localStorage` to permit restoring map position at load. This position is used **only if no URL parameter is set** for these settings.
|
|
207
211
|
- New main component: `<pnx-photo-viewer>` for showing up only picture (without any map). This leads classic viewer `<pnx-viewer>` to not allow removing its map anymore.
|
|
208
212
|
- `ready` events for API, Map & Photo components.
|
|
209
213
|
- Player widget size adapts based on container height at load.
|
|
@@ -288,11 +292,13 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
288
292
|
## [3.2.0] - 2024-11-20
|
|
289
293
|
|
|
290
294
|
### Added
|
|
295
|
+
|
|
291
296
|
- In map filters, shortcuts to set date filter to latest month or year are now available. A visual indicator also shows if a filter is active or not when widget is collapsed.
|
|
292
297
|
- In viewer, picture metadata popup can be closed using _Escape_ key.
|
|
293
298
|
- Viewer map filters has now a shortcut to select your own pictures.
|
|
294
299
|
|
|
295
300
|
### Changed
|
|
301
|
+
|
|
296
302
|
- In map filters widget, selected filters show up in blue.
|
|
297
303
|
- Improve readability of cities labels on map for default style.
|
|
298
304
|
- We don't use the _Yaw_ value for display if no _Pitch_ & _Roll_ values are defined, to avoid orientation issues with pictures where _PoseHeadingDegrees_ was used instead of _GPSImgDirection_.
|
|
@@ -302,6 +308,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
302
308
|
- Viewer short links use `;` separator instead of `|` for better display in various applications. The older links are not supported anymore.
|
|
303
309
|
|
|
304
310
|
### Fixed
|
|
311
|
+
|
|
305
312
|
- Map was not loading if style file didn't contain `metadata` property.
|
|
306
313
|
- A 360° vertically cropped panorama without tiles available was not shown properly.
|
|
307
314
|
- Option `lang` was not applied to basemap.
|
|
@@ -310,12 +317,14 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
310
317
|
## [3.1.1] - 2024-10-16
|
|
311
318
|
|
|
312
319
|
### Added
|
|
313
|
-
|
|
320
|
+
|
|
321
|
+
- 💯 **Quality Score** is now available ! It shows a rating of picture quality based on its resolution and GPS accuracy. This is made available through different part of Web Viewer: as a map theme, in map filters, and in picture metadata popup. **Note** that it only works with compatible API.
|
|
314
322
|
- Streets background supports translations (if offered in vector tiles).
|
|
315
323
|
- Viewer search bar supports search by picture UUID.
|
|
316
324
|
- Simple display of available/unavailable API features in browser console.
|
|
317
325
|
|
|
318
326
|
### Changed
|
|
327
|
+
|
|
319
328
|
- Better rendering of cities names in streets background (for default vector tiles).
|
|
320
329
|
- Viewer page link offered in _Share_ widget is a short link, for simpler URL sharing. Example:
|
|
321
330
|
- Shortened URL: `https://panoramax.xyz/#s=fp|s2|pb829b21a-f733-45f7-ba7d-2d28405e6a5c|c58.48/-1.91/30|m17/48.12237/-1.663654|bs`
|
|
@@ -324,6 +333,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
324
333
|
- Full support of browser's back/next buttons, even with _Alt + Right/Left Arrow_ shortcuts when picture is maximized.
|
|
325
334
|
|
|
326
335
|
### Fixed
|
|
336
|
+
|
|
327
337
|
- Cropped panorama with 360° field of view were not using tiles.
|
|
328
338
|
|
|
329
339
|
## [3.1.0] - 2024-10-03
|
|
@@ -331,6 +341,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
331
341
|
⚠️ Library has been renamed on NPM into `@panoramax/web-viewer`, you are invited to change your dependencies to keep track of new updates. Also, default import `GeoVisio` has been renamed into `Panoramax`, so you have to update your code as well.
|
|
332
342
|
|
|
333
343
|
### Added
|
|
344
|
+
|
|
334
345
|
- Support for 🇨🇳 traditionnal Chinese language (`zh_Hant`) thanks to [Kevin32950](https://gitlab.com/kevinlin18)
|
|
335
346
|
- Support for 🇩🇪 German language (`de`) thanks to [Bastian Greshake Tzovaras](https://gitlab.com/gedankenstuecke)
|
|
336
347
|
- Support for 🇪🇸 Spanish language (`es`) thanks to Daniel Callejas Sevilla
|
|
@@ -342,6 +353,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
342
353
|
- Clicking on browser's back button makes viewer go to previously shown picture. Note that browser shortcut _Alt + Right/Left Arrow_ only works if map is maximized ([related issue](https://gitlab.com/panoramax/clients/web-viewer/-/issues/161)).
|
|
343
354
|
|
|
344
355
|
### Changed
|
|
356
|
+
|
|
345
357
|
- **Library has been renamed to `Panoramax`** and moved on NPM to `@panoramax/web-viewer` package.
|
|
346
358
|
- Proper support for picture yaw correction (from `Xmp.GPano.PoseHeadingDegrees, Xmp.Camera.Yaw, Exif.MpfInfo.MPFYawAngle` EXIF tags). This replaces the past behaviour of viewer using `GPSImgDirection` as yaw value. A picture can now have a different GPS direction (corresponding to capture direction, geographically speaking) and a yaw correction (relative to camera). This means that **PSV getPosition** and similar functions doesn't return GPS heading value in X, but yaw correction. GPS heading is available through `viewer.psv.getPictureOriginalHeading` function. Functions `getXY` and `getXYZ` stay unchanged in their behaviour (X value is GPS heading).
|
|
347
359
|
- When viewer is loaded inside through an iframe, a lot less widgets are shown for better usability.
|
|
@@ -357,6 +369,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
357
369
|
- Proper handling of search by coordinates (done in viewer instead of calling geocoder API).
|
|
358
370
|
|
|
359
371
|
### Fixed
|
|
372
|
+
|
|
360
373
|
- `selectedPicture` parameter for Viewer was not taken into account at load and blocking everything.
|
|
361
374
|
- Editor orientation change preview was not showing coherent links, they are now removed.
|
|
362
375
|
- Picture orientation symbol where not shown correctly when switching from specific user to general tiles.
|
|
@@ -370,6 +383,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
370
383
|
## [3.0.2] - 2024-06-26
|
|
371
384
|
|
|
372
385
|
### Added
|
|
386
|
+
|
|
373
387
|
- Metadata for pitch & roll correction are read and used for picture display.
|
|
374
388
|
- Develop version can be tested at [viewer.geovisio.fr](https://viewer.geovisio.fr/).
|
|
375
389
|
- Mkdocs is now used to generate documentation.
|
|
@@ -377,6 +391,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
377
391
|
- Legend is reduced by default on mobile, and can be shown on a single click.
|
|
378
392
|
|
|
379
393
|
### Changed
|
|
394
|
+
|
|
380
395
|
- Doc and links changed following Gitlab organization renaming from GeoVisio to Panoramax.
|
|
381
396
|
- Map markers are showing picture type and orientation even before clicking on it.
|
|
382
397
|
- Arrows to change current picture are using are using images instead of 3D model and can't render outside of view.
|
|
@@ -387,6 +402,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
387
402
|
- Mini-map is reduced by default on mobile.
|
|
388
403
|
|
|
389
404
|
### Fixed
|
|
405
|
+
|
|
390
406
|
- Partially translated language had "undefined" labels showing when no translation was available.
|
|
391
407
|
- `xyz` URL parameter was not correctly restored on initial load.
|
|
392
408
|
- Restore user name in filter widget on page reload.
|
|
@@ -403,16 +419,18 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
403
419
|
|
|
404
420
|
## [3.0.0] - 2024-04-30
|
|
405
421
|
|
|
406
|
-
⚠️ This release introduces
|
|
422
|
+
⚠️ This release introduces **many breaking changes**, make sure to update your code to follow new namings and function calls.
|
|
407
423
|
|
|
408
424
|
### Added
|
|
425
|
+
|
|
409
426
|
- A new `Editor` view is available, for previewing changes applied to a sequence or picture.
|
|
410
427
|
- In viewer, popup for picture metadata has _Copy to clipboard_ buttons for sequence and picture IDs.
|
|
411
428
|
- Viewer supports printing, either through browser menus (or Ctrl+P) or through _Share_ widget.
|
|
412
429
|
- Viewer GPS precision quality also takes in account EXIF tag `GPSHPositioningError`.
|
|
413
430
|
|
|
414
431
|
### Changed
|
|
415
|
-
|
|
432
|
+
|
|
433
|
+
- Source code was **widely refactored**. The new logic is:
|
|
416
434
|
- `Map` and `Photo` are designated as _components_, basic bricks which can be embed elsewhere.
|
|
417
435
|
- `Viewer`, `StandaloneMap` and `Editor` are designated as _views_, which embed either Map, Photo or both. They also add custom logic beyond common behaviour of components.
|
|
418
436
|
- Utilitary functions are moved into various files or `utils` folder.
|
|
@@ -423,17 +441,17 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
423
441
|
- Moved to `components/CoreView`: `isSmall (renamed isWidthSmall)`
|
|
424
442
|
- Some events were renamed:
|
|
425
443
|
|
|
426
|
-
| Old event name
|
|
427
|
-
|
|
|
428
|
-
| `map-background-changed`
|
|
429
|
-
| `users-changed`
|
|
430
|
-
| `hover`
|
|
431
|
-
| `picture-loading`
|
|
432
|
-
| `picture-loaded`
|
|
433
|
-
| `picture-preview-started`
|
|
434
|
-
| `picture-preview-stopped`
|
|
435
|
-
| `view-rotated`
|
|
436
|
-
| `picture-tiles-loaded`
|
|
444
|
+
| Old event name | New event name |
|
|
445
|
+
| ----------------------------- | --------------------------------- |
|
|
446
|
+
| `map-background-changed` | `map:background-changed` |
|
|
447
|
+
| `users-changed` | `map:users-changed` |
|
|
448
|
+
| `hover` | `map:sequence-hover` |
|
|
449
|
+
| `picture-loading` | `psv:picture-loading` |
|
|
450
|
+
| `picture-loaded` | `psv:picture-loaded` |
|
|
451
|
+
| `picture-preview-started` | `psv:picture-preview-started` |
|
|
452
|
+
| `picture-preview-stopped` | `psv:picture-preview-stopped` |
|
|
453
|
+
| `view-rotated` | `psv:view-rotated` |
|
|
454
|
+
| `picture-tiles-loaded` | `psv:picture-tiles-loaded` |
|
|
437
455
|
| `transition-duration-changed` | `psv:transition-duration-changed` |
|
|
438
456
|
|
|
439
457
|
- In Viewer, double click on reduced widget makes it wide.
|
|
@@ -449,141 +467,155 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
449
467
|
- Labels from vector tiles are always shown on top of other layers, including STAC API ones.
|
|
450
468
|
|
|
451
469
|
### Removed
|
|
470
|
+
|
|
452
471
|
- Option `picturesTiles` is removed in favor of advertised `xyz` link from STAC API.
|
|
453
472
|
- `Viewer` functions `getMap` and `getPhotoViewer`, in favor of direct properties `map` and `psv`.
|
|
454
473
|
- `Viewer` function `goToPicture`, in favor of `select` function.
|
|
455
474
|
|
|
456
475
|
### Fixed
|
|
476
|
+
|
|
457
477
|
- Popup wasn't opening if a picture didn't have a heading value set.
|
|
458
478
|
- Date filter fields were overflowing in certain cases.
|
|
459
479
|
- Viewer popup was not showing correct value for _GPS dilution of precision_ if value was a fraction (`10/2`).
|
|
460
480
|
|
|
461
|
-
|
|
462
481
|
## [2.5.1] - 2024-03-08
|
|
463
482
|
|
|
464
483
|
### Fixed
|
|
465
|
-
- Some map filters where broken due to picture zoom level change from 2.5.0
|
|
466
484
|
|
|
485
|
+
- Some map filters where broken due to picture zoom level change from 2.5.0
|
|
467
486
|
|
|
468
487
|
## [2.5.0] - 2024-03-07
|
|
469
488
|
|
|
470
489
|
### Changed
|
|
471
|
-
- In map rendering, pictures exact position are shown from zoom level 15 (instead of 14) to reduce size of vector tiles.
|
|
472
490
|
|
|
491
|
+
- In map rendering, pictures exact position are shown from zoom level 15 (instead of 14) to reduce size of vector tiles.
|
|
473
492
|
|
|
474
493
|
## [2.4.2] - 2024-03-05
|
|
475
494
|
|
|
476
495
|
### Fixed
|
|
496
|
+
|
|
477
497
|
- Sequence and picture thumbnail popup was not showing/hiding smoothly due to delay introduced in past version.
|
|
478
498
|
- If hash option was disabled, viewer was not loading properly.
|
|
479
499
|
|
|
480
|
-
|
|
481
500
|
## [2.4.1] - 2024-03-05
|
|
482
501
|
|
|
483
502
|
### Added
|
|
503
|
+
|
|
484
504
|
- Picture metadata are visible in a popup, accessible through picture legend ("_i_" button). It displays summarized information, as well as all EXIF and XMP tags available.
|
|
485
505
|
- A new method in Viewer named `getPictureRelativeHeading` allow to get information about relative heading of camera compared to vehicle movement.
|
|
486
506
|
- A new method in Viewer named `clearPictureMetadataCache` allows to force refresh the metadata of all loaded pictures and map display of selected picture (if any). Useful when a picture or a sequence has changed on server-side after first load.
|
|
487
507
|
- A new event `broken` can be fired by Viewer in case of initial loading error.
|
|
488
508
|
|
|
489
509
|
### Changed
|
|
510
|
+
|
|
490
511
|
- Improved styling of _Share_ panel (better contrast, more icons)
|
|
491
512
|
- Updated Maplibre GL to 3.6.2, PMTiles to 2.11.0, Photo Sphere Viewer to 5.7.0
|
|
492
513
|
- Improved display of place search results (geocoding) by using either returned bounding box (Nominatim) or place type (BAN) for a more precise map positioning
|
|
493
514
|
- Improved performance of thumbnail display
|
|
494
515
|
|
|
495
|
-
|
|
496
516
|
## [2.4.0] - 2024-01-31
|
|
497
517
|
|
|
498
518
|
### Added
|
|
519
|
+
|
|
499
520
|
- Viewer can be filtered to only display data from a single user. This can be done through user interface, or through parameters (`users`).
|
|
500
521
|
|
|
501
522
|
### Removed
|
|
523
|
+
|
|
502
524
|
- In standalone map, `setFilters` is dropped in favor of `users` parameter passed in constructor.
|
|
503
525
|
- In viewer, `setFilters` doesn't support `user` parameter anymore, in favor of `switchVisibleUsers` and `getVisibleUsers` methods and `users` constructor parameter.
|
|
504
526
|
|
|
505
|
-
|
|
506
527
|
## [2.3.1] - 2024-01-18
|
|
507
528
|
|
|
508
529
|
### Added
|
|
530
|
+
|
|
509
531
|
- Support of [PMTiles](https://docs.protomaps.com/pmtiles/) as vector tile input data. They have to be declared in your MapLibre style JSON, using a prefixed URL (like `pmtiles://https://example.com/example.pmtiles`). [PMTiles docs](https://docs.protomaps.com/pmtiles/maplibre) can help you.
|
|
510
532
|
- A second map background (for aerial imagery) can be defined, in complement of current streets map rendering. This is done through the `map.raster` parameter, using the [MapLibre raster source definition](https://maplibre.org/maplibre-style-spec/sources/#raster).
|
|
511
533
|
|
|
512
534
|
### Changed
|
|
535
|
+
|
|
513
536
|
- User interface reworked to improve readability and usability, both on desktop and mobile.
|
|
514
537
|
- Click on map at low zoom levels (where only sequence geometry is shown) better directs to nearby picture (instead of last one in sequence). Also, in thumbnail popup on mouse hover, a closer picture is shown.
|
|
515
538
|
- Default vector map background is showing worldwide data (instead of only France).
|
|
516
539
|
|
|
517
540
|
### Fixed
|
|
541
|
+
|
|
518
542
|
- Loader showed up when clicking on already selected picture on map.
|
|
519
543
|
|
|
520
544
|
### Removed
|
|
521
|
-
- Dependency to MapLibre GL Geocoder. Consequently, `geocoder` settings for viewer and map only uses parameter `engine` to choose between Nominatim and BAN geocoding service.
|
|
522
545
|
|
|
546
|
+
- Dependency to MapLibre GL Geocoder. Consequently, `geocoder` settings for viewer and map only uses parameter `engine` to choose between Nominatim and BAN geocoding service.
|
|
523
547
|
|
|
524
548
|
## [2.3.0] - 2023-11-27
|
|
525
549
|
|
|
526
550
|
### Added
|
|
551
|
+
|
|
527
552
|
- `StandaloneMap` supports now `reloadVectorTiles` function, in a similar fashion as classic viewer.
|
|
528
553
|
- Support of `rel=related` pictures links to travel to nearby, related sequences.
|
|
529
554
|
- Hover on nearby picture arrow in viewer shows picture location in map.
|
|
530
555
|
- 🇭🇺 Hungarian translation (thanks to [Balázs Meskó](https://gitlab.com/meskobalazs))
|
|
531
556
|
|
|
532
557
|
### Changed
|
|
558
|
+
|
|
533
559
|
- Nearby pictures arrows are shown with a color depending of their status (blue if in same sequence, orange if in a nearby sequence).
|
|
534
560
|
- Library _Photo Sphere Viewer_ updated to 5.5.0.
|
|
535
561
|
|
|
536
|
-
|
|
537
562
|
## [2.2.1] - 2023-10-30
|
|
538
563
|
|
|
539
564
|
### Added
|
|
565
|
+
|
|
540
566
|
- When multiple _producer_ names are associated to a picture, all are shown in details widget (instead of only first one).
|
|
541
567
|
|
|
542
568
|
### Changed
|
|
569
|
+
|
|
543
570
|
- In `StandaloneMap`, the `select` method also make a thumbnail visible on selected feature.
|
|
544
571
|
- The "Move around" widget is not shown when container height is too small.
|
|
545
572
|
|
|
546
|
-
|
|
547
573
|
## [2.2.0] - 2023-10-10
|
|
548
574
|
|
|
549
575
|
### Added
|
|
576
|
+
|
|
550
577
|
- A `destroy` function is now available to properly get rid of the viewer, which is useful for single-page applications.
|
|
551
578
|
- 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.
|
|
552
579
|
|
|
553
580
|
### Changed
|
|
554
|
-
|
|
581
|
+
|
|
582
|
+
- 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.
|
|
555
583
|
- A new button in player advanced settings allows to augment image brightness & contrast (_☀️_ button).
|
|
556
584
|
- Mini map/viewer is now responsive, with a size increasing based on screen size.
|
|
557
585
|
- Photo Sphere Viewer updated to 5.4.3.
|
|
558
586
|
|
|
559
587
|
### Fixed
|
|
560
|
-
- Invalid map bounding box received from API was preventing viewer from loading. Now, a warning is shown instead in web console.
|
|
561
588
|
|
|
589
|
+
- Invalid map bounding box received from API was preventing viewer from loading. Now, a warning is shown instead in web console.
|
|
562
590
|
|
|
563
591
|
## [2.1.4] - 2023-09-05
|
|
564
592
|
|
|
565
593
|
### Added
|
|
594
|
+
|
|
566
595
|
- Custom widgets can be inserted in viewer through `widgets.customWidget` option.
|
|
567
596
|
- A `ready` event is launched by viewer when it has done all its first loading process.
|
|
568
597
|
|
|
569
598
|
### Changed
|
|
599
|
+
|
|
570
600
|
- Advanced examples of how to use the viewer are moved into a dedicated documentation named [04_Advanced_examples](./docs/04_Advanced_examples.md).
|
|
571
601
|
|
|
572
602
|
### Fixed
|
|
603
|
+
|
|
573
604
|
- Default `box-sizing` CSS property (overridden by some CSS frameworks) was breaking size of some widgets. This is now explicitly defined at top-level viewer `div`.
|
|
574
605
|
- Player widget could not init with pre-loaded image metadata due to empty CSS class string.
|
|
575
606
|
- If a STAC item was not having `roles` defined, code was failing.
|
|
576
607
|
|
|
577
|
-
|
|
578
608
|
## [2.1.3] - 2023-08-30
|
|
579
609
|
|
|
580
610
|
### Added
|
|
611
|
+
|
|
581
612
|
- A widget allows to change speed of sequence playing. It actually changes the duration of stay on a single picture on sequence playing. The speed can also be changed programmatically.
|
|
582
613
|
- Viewer displays a _RSS_ button in _Share_ panel to have a feed of recently uploaded sequences on visible map area. This is shown only if API landing page advertises RSS feed availability.
|
|
583
614
|
- In _Filters_ panel, the map color scheme can be changed to visually find sequences and pictures based on their capture "age" or camera type.
|
|
584
615
|
- Selected sequence is shown on map with a different color (blue).
|
|
585
616
|
|
|
586
617
|
### Changed
|
|
618
|
+
|
|
587
619
|
- In _Share_ panel, current page, RSS and HD image links are grouped into a _Links_ section, replacing the previous _Link to this page_ section.
|
|
588
620
|
- When applying filters, if map is at a zoom level < 7, it zooms automatically to zoom 7 to make applied filters having a visible effect on map data.
|
|
589
621
|
- Legend is also shown in mini map/picture component, not only on main component.
|
|
@@ -592,32 +624,34 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
592
624
|
- Transitions in 360° sequences are fine-tuned according to relative orientation in viewer (fade effect and rotation only if looking in capture path direction).
|
|
593
625
|
|
|
594
626
|
### Fixed
|
|
627
|
+
|
|
595
628
|
- In _Filters_ panel, clicking on _Enter_ key was resetting all input fields.
|
|
596
629
|
- Thumbnails were not updating when mouse wasn't going out of pictures/sequences layer ([reported by Stéphane Peneau](https://gitlab.com/panoramax/clients/web-viewer/-/issues/40)).
|
|
597
630
|
- Map picture pointer was not pointing to correct direction during picture loading ([reported by Stéphane Peneau](https://gitlab.com/panoramax/clients/web-viewer/-/issues/39)).
|
|
598
631
|
- Map had an empty background if no vector tiles were available on some places, now a white background is always shown.
|
|
599
632
|
|
|
600
|
-
|
|
601
633
|
## [2.1.2] - 2023-08-20
|
|
602
634
|
|
|
603
635
|
### Added
|
|
636
|
+
|
|
604
637
|
- A new widget is available on map to filter shown pictures by date, type (flat/equirectangular) or camera. Pictures are filtered only on zoom levels >= 7 (due to availability of required metadata in vector tiles). Filters are also persisted in URL hash with new parameters (`date_from`, `date_to`, `pic_type`, `camera`).
|
|
605
638
|
- In "share" button, links to edit OpenStreetMap with iD and JOSM editors are now available. JOSM is automatically synced when a new picture is loaded. iD editor instance to use can be changed through `widgets.editIdUrl` Viewer parameter.
|
|
606
639
|
- Keyboard shortcuts are introduced for all actions in the viewer ([listed here](./docs/01_Start.md)).
|
|
607
640
|
|
|
608
641
|
### Changed
|
|
609
|
-
- Transition between pictures and sequences are perfectly synced ([thanks to Damien Sorel](https://github.com/mistic100/Photo-Sphere-Viewer/issues/1049)).
|
|
610
642
|
|
|
643
|
+
- Transition between pictures and sequences are perfectly synced ([thanks to Damien Sorel](https://github.com/mistic100/Photo-Sphere-Viewer/issues/1049)).
|
|
611
644
|
|
|
612
645
|
## [2.1.1] - 2023-08-01
|
|
613
646
|
|
|
614
647
|
### Added
|
|
648
|
+
|
|
615
649
|
- Meaningful error messages are displayed when possible (instead of generic message)
|
|
616
650
|
- A "share" button allows to get direct link to current viewer, and offers ready-to-paste iframe snippet
|
|
617
651
|
|
|
618
652
|
### Changed
|
|
619
|
-
- Buttons and widgets have coherent design and behaviour between map and photo viewer
|
|
620
653
|
|
|
654
|
+
- Buttons and widgets have coherent design and behaviour between map and photo viewer
|
|
621
655
|
|
|
622
656
|
## [2.1.0] - 2023-07-20
|
|
623
657
|
|
|
@@ -626,73 +660,82 @@ Empty release to follow the API's minor version
|
|
|
626
660
|
## [2.0.7] - 2023-07-10
|
|
627
661
|
|
|
628
662
|
### Added
|
|
663
|
+
|
|
629
664
|
- A new function `reloadVectorTiles` allows users to force full refresh of GeoVisio/STAC API tiles, for example to reflect backend changes done on sequences or pictures data.
|
|
630
665
|
|
|
631
666
|
### Changed
|
|
667
|
+
|
|
632
668
|
- Map is updated sooner to be more in sync when loading incoming picture
|
|
633
669
|
|
|
634
670
|
### Fixed
|
|
635
|
-
- Thumbnail of hidden sequences where not correctly shown
|
|
636
671
|
|
|
672
|
+
- Thumbnail of hidden sequences where not correctly shown
|
|
637
673
|
|
|
638
674
|
## [2.0.6] - 2023-06-30
|
|
639
675
|
|
|
640
676
|
### Added
|
|
677
|
+
|
|
641
678
|
- A `fetchOptions` parameter for Viewer allows to embed custom settings for internal `fetch` calls, for example to enable authenticated calls against API
|
|
642
679
|
- Hidden sequences or pictures for an user are shown on map if user is authenticated (rendered in a gray tone)
|
|
643
680
|
- A loader screen is shown while API, map and first picture loads. It also displays an user-friendly error message if necessary.
|
|
644
681
|
|
|
645
682
|
### Changed
|
|
683
|
+
|
|
646
684
|
- Transitions between flat pictures are smoother
|
|
647
685
|
- Arrows are more visible in zoom 0 to 70% for classic pictures
|
|
648
686
|
|
|
649
|
-
|
|
650
687
|
## [2.0.5] - 2023-06-09
|
|
651
688
|
|
|
652
689
|
### Changed
|
|
690
|
+
|
|
653
691
|
- Transition between pictures is lowered to 500ms
|
|
654
692
|
|
|
655
693
|
### Fixed
|
|
656
|
-
- Viewer was not showing vector tiles anymore for GeoVisio API <= 2.0.1
|
|
657
694
|
|
|
695
|
+
- Viewer was not showing vector tiles anymore for GeoVisio API <= 2.0.1
|
|
658
696
|
|
|
659
697
|
## [2.0.4] - 2023-06-08
|
|
660
698
|
|
|
661
699
|
### Changed
|
|
700
|
+
|
|
662
701
|
- Read sequence info from vector tiles if available
|
|
663
702
|
|
|
664
703
|
## [2.0.3] - 2023-06-08
|
|
665
704
|
|
|
666
705
|
### Changed
|
|
667
|
-
|
|
706
|
+
|
|
707
|
+
- Viewer calls API based on its advertised capabilities in its landing page, so many API calls are faster. This is particularly useful for **tiles URL**, which can be now determined based on API response, making it not necessary to define it on Viewer settings.
|
|
668
708
|
- Viewer `endpoint` parameter should now be a direct link to API landing page, instead of its search endpoint.
|
|
669
709
|
|
|
670
710
|
### Fixed
|
|
671
|
-
- Default image shown at start is better oriented
|
|
672
711
|
|
|
712
|
+
- Default image shown at start is better oriented
|
|
673
713
|
|
|
674
714
|
## [2.0.2] - 2023-06-05
|
|
675
715
|
|
|
676
716
|
### Added
|
|
717
|
+
|
|
677
718
|
- A download button is shown to get the HD picture currently shown by viewer.
|
|
678
719
|
- Version and git commit are shown at viewer start-up in web browser console.
|
|
679
720
|
|
|
680
721
|
### Changed
|
|
722
|
+
|
|
681
723
|
- Map maximum zoom is set by default to 24, but still can be changed through Viewer `options.map.maxZoom` parameter.
|
|
682
724
|
- Error message from viewer doesn't block using navbar
|
|
683
725
|
|
|
684
|
-
|
|
685
726
|
## [2.0.1] - 2023-05-26
|
|
686
727
|
|
|
687
728
|
### Added
|
|
729
|
+
|
|
688
730
|
- Support of translations of viewer labels. This is defined based on user browser preferences, or a `lang` setting that can be passed to Viewer. Available languages are English (`en`) and French (`fr`).
|
|
689
731
|
|
|
690
732
|
### Changed
|
|
733
|
+
|
|
691
734
|
- Updated Photo Sphere Viewer to 1.5.0, solves some low-quality display issues
|
|
692
735
|
|
|
693
736
|
### Fixed
|
|
694
|
-
- Label shown on small action button (bottom left corner) was showing [wrong label when map was hidden](https://gitlab.com/panoramax/clients/web-viewer/-/issues/16)
|
|
695
737
|
|
|
738
|
+
- Label shown on small action button (bottom left corner) was showing [wrong label when map was hidden](https://gitlab.com/panoramax/clients/web-viewer/-/issues/16)
|
|
696
739
|
|
|
697
740
|
## [2.0.0] - 2023-04-27
|
|
698
741
|
|
|
@@ -706,7 +749,7 @@ Empty release to follow the API's minor version
|
|
|
706
749
|
### Changed
|
|
707
750
|
|
|
708
751
|
- Viewer dependencies have been updated :
|
|
709
|
-
- Photo Sphere Viewer 5.1 (inducing
|
|
752
|
+
- Photo Sphere Viewer 5.1 (inducing **breaking changes**)
|
|
710
753
|
- MapLibre 2.4
|
|
711
754
|
- JS Library Boilerplate 2.7
|
|
712
755
|
- Viewer unit tests are covering a broader part of functionalities. To make this possible, Photo Sphere Viewer is differently associated to GeoVisio viewer (as a property `this.psv` instead of GeoVisio inheriting directly from PSV). Original PSV object is accessible through `getPhotoViewer` function.
|
|
@@ -721,7 +764,6 @@ Empty release to follow the API's minor version
|
|
|
721
764
|
- MapLibre was raising issues on built versions on NPM
|
|
722
765
|
- [A Photo Sphere Viewer under Chrome issue](https://github.com/mistic100/Photo-Sphere-Viewer/issues/937) was making classic pictures not visible
|
|
723
766
|
|
|
724
|
-
|
|
725
767
|
[Unreleased]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.3.1...develop
|
|
726
768
|
[4.3.1]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.3.0...4.3.1
|
|
727
769
|
[4.3.0]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.2.0...4.3.0
|