@panoramax/web-viewer 4.3.1-develop-e9d0b3c3 → 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 +86 -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/utils/indoor.js +6 -3
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,17 +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.
|
|
24
26
|
- Editor uses old style instead of _crowded_ style.
|
|
27
|
+
- Missing dependency `geojson-vt` in `package.json`.
|
|
25
28
|
|
|
26
29
|
## [4.3.1] - 2026-01-19
|
|
27
30
|
|
|
@@ -84,15 +87,15 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
84
87
|
|
|
85
88
|
### Changed
|
|
86
89
|
|
|
87
|
-
- ⚠️
|
|
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 :
|
|
88
91
|
|
|
89
92
|
| Old name | New name |
|
|
90
|
-
|
|
93
|
+
| -------------- | --------------- |
|
|
91
94
|
| `map` | `map-options` |
|
|
92
95
|
| `psv` | `psv-options` |
|
|
93
96
|
| `fetchOptions` | `fetch-options` |
|
|
94
97
|
| `mapstyle` | `map-style` |
|
|
95
|
-
|
|
98
|
+
|
|
96
99
|
Make sure to update all your components embeds for parameters to be correctly passed in.
|
|
97
100
|
|
|
98
101
|
- The semantics legend tab is now in a separated component named _SemanticsMetadata_.
|
|
@@ -127,7 +130,7 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
127
130
|
|
|
128
131
|
### Changed
|
|
129
132
|
|
|
130
|
-
- ⚠️
|
|
133
|
+
- ⚠️ **pnx-hashtags** widget has been renamed into `pnx-annotations-switch`, and only displays a switch button to show/hide annotations on pictures.
|
|
131
134
|
- In picture legend, in _General_ tab, capture date shows seconds and is clickable to access _Camera_ tab.
|
|
132
135
|
- Map legend font size a bit reduced, map attribution integrated in a sentence.
|
|
133
136
|
- In picture legend, the "..." keeps the same entries between collapsed and expanded display.
|
|
@@ -174,7 +177,7 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
174
177
|
|
|
175
178
|
### Changed
|
|
176
179
|
|
|
177
|
-
- 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.\*
|
|
178
181
|
- Do not query reverse geocoding at all when sequence is playing.
|
|
179
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)).
|
|
180
183
|
- Switch _Base Adresse Nationale_ geocoding API URL to use GeoPlateforme URL.
|
|
@@ -204,7 +207,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
204
207
|
- New languages: 🇸🇪 Swedish, 🇯🇵 Japanese and 🇳🇱 Dutch.
|
|
205
208
|
- Loader features a progress bar, and adopts a new look.
|
|
206
209
|
- Viewer map filter by date input checks if min date is lower than max date, and eventually inverts if necessary.
|
|
207
|
-
- 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.
|
|
208
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.
|
|
209
212
|
- `ready` events for API, Map & Photo components.
|
|
210
213
|
- Player widget size adapts based on container height at load.
|
|
@@ -289,11 +292,13 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
289
292
|
## [3.2.0] - 2024-11-20
|
|
290
293
|
|
|
291
294
|
### Added
|
|
295
|
+
|
|
292
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.
|
|
293
297
|
- In viewer, picture metadata popup can be closed using _Escape_ key.
|
|
294
298
|
- Viewer map filters has now a shortcut to select your own pictures.
|
|
295
299
|
|
|
296
300
|
### Changed
|
|
301
|
+
|
|
297
302
|
- In map filters widget, selected filters show up in blue.
|
|
298
303
|
- Improve readability of cities labels on map for default style.
|
|
299
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_.
|
|
@@ -303,6 +308,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
303
308
|
- Viewer short links use `;` separator instead of `|` for better display in various applications. The older links are not supported anymore.
|
|
304
309
|
|
|
305
310
|
### Fixed
|
|
311
|
+
|
|
306
312
|
- Map was not loading if style file didn't contain `metadata` property.
|
|
307
313
|
- A 360° vertically cropped panorama without tiles available was not shown properly.
|
|
308
314
|
- Option `lang` was not applied to basemap.
|
|
@@ -311,12 +317,14 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
311
317
|
## [3.1.1] - 2024-10-16
|
|
312
318
|
|
|
313
319
|
### Added
|
|
314
|
-
|
|
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.
|
|
315
322
|
- Streets background supports translations (if offered in vector tiles).
|
|
316
323
|
- Viewer search bar supports search by picture UUID.
|
|
317
324
|
- Simple display of available/unavailable API features in browser console.
|
|
318
325
|
|
|
319
326
|
### Changed
|
|
327
|
+
|
|
320
328
|
- Better rendering of cities names in streets background (for default vector tiles).
|
|
321
329
|
- Viewer page link offered in _Share_ widget is a short link, for simpler URL sharing. Example:
|
|
322
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`
|
|
@@ -325,6 +333,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
325
333
|
- Full support of browser's back/next buttons, even with _Alt + Right/Left Arrow_ shortcuts when picture is maximized.
|
|
326
334
|
|
|
327
335
|
### Fixed
|
|
336
|
+
|
|
328
337
|
- Cropped panorama with 360° field of view were not using tiles.
|
|
329
338
|
|
|
330
339
|
## [3.1.0] - 2024-10-03
|
|
@@ -332,6 +341,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
332
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.
|
|
333
342
|
|
|
334
343
|
### Added
|
|
344
|
+
|
|
335
345
|
- Support for 🇨🇳 traditionnal Chinese language (`zh_Hant`) thanks to [Kevin32950](https://gitlab.com/kevinlin18)
|
|
336
346
|
- Support for 🇩🇪 German language (`de`) thanks to [Bastian Greshake Tzovaras](https://gitlab.com/gedankenstuecke)
|
|
337
347
|
- Support for 🇪🇸 Spanish language (`es`) thanks to Daniel Callejas Sevilla
|
|
@@ -343,6 +353,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
343
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)).
|
|
344
354
|
|
|
345
355
|
### Changed
|
|
356
|
+
|
|
346
357
|
- **Library has been renamed to `Panoramax`** and moved on NPM to `@panoramax/web-viewer` package.
|
|
347
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).
|
|
348
359
|
- When viewer is loaded inside through an iframe, a lot less widgets are shown for better usability.
|
|
@@ -358,6 +369,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
358
369
|
- Proper handling of search by coordinates (done in viewer instead of calling geocoder API).
|
|
359
370
|
|
|
360
371
|
### Fixed
|
|
372
|
+
|
|
361
373
|
- `selectedPicture` parameter for Viewer was not taken into account at load and blocking everything.
|
|
362
374
|
- Editor orientation change preview was not showing coherent links, they are now removed.
|
|
363
375
|
- Picture orientation symbol where not shown correctly when switching from specific user to general tiles.
|
|
@@ -371,6 +383,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
371
383
|
## [3.0.2] - 2024-06-26
|
|
372
384
|
|
|
373
385
|
### Added
|
|
386
|
+
|
|
374
387
|
- Metadata for pitch & roll correction are read and used for picture display.
|
|
375
388
|
- Develop version can be tested at [viewer.geovisio.fr](https://viewer.geovisio.fr/).
|
|
376
389
|
- Mkdocs is now used to generate documentation.
|
|
@@ -378,6 +391,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
378
391
|
- Legend is reduced by default on mobile, and can be shown on a single click.
|
|
379
392
|
|
|
380
393
|
### Changed
|
|
394
|
+
|
|
381
395
|
- Doc and links changed following Gitlab organization renaming from GeoVisio to Panoramax.
|
|
382
396
|
- Map markers are showing picture type and orientation even before clicking on it.
|
|
383
397
|
- Arrows to change current picture are using are using images instead of 3D model and can't render outside of view.
|
|
@@ -388,6 +402,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
388
402
|
- Mini-map is reduced by default on mobile.
|
|
389
403
|
|
|
390
404
|
### Fixed
|
|
405
|
+
|
|
391
406
|
- Partially translated language had "undefined" labels showing when no translation was available.
|
|
392
407
|
- `xyz` URL parameter was not correctly restored on initial load.
|
|
393
408
|
- Restore user name in filter widget on page reload.
|
|
@@ -404,16 +419,18 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
404
419
|
|
|
405
420
|
## [3.0.0] - 2024-04-30
|
|
406
421
|
|
|
407
|
-
⚠️ This release introduces
|
|
422
|
+
⚠️ This release introduces **many breaking changes**, make sure to update your code to follow new namings and function calls.
|
|
408
423
|
|
|
409
424
|
### Added
|
|
425
|
+
|
|
410
426
|
- A new `Editor` view is available, for previewing changes applied to a sequence or picture.
|
|
411
427
|
- In viewer, popup for picture metadata has _Copy to clipboard_ buttons for sequence and picture IDs.
|
|
412
428
|
- Viewer supports printing, either through browser menus (or Ctrl+P) or through _Share_ widget.
|
|
413
429
|
- Viewer GPS precision quality also takes in account EXIF tag `GPSHPositioningError`.
|
|
414
430
|
|
|
415
431
|
### Changed
|
|
416
|
-
|
|
432
|
+
|
|
433
|
+
- Source code was **widely refactored**. The new logic is:
|
|
417
434
|
- `Map` and `Photo` are designated as _components_, basic bricks which can be embed elsewhere.
|
|
418
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.
|
|
419
436
|
- Utilitary functions are moved into various files or `utils` folder.
|
|
@@ -424,17 +441,17 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
424
441
|
- Moved to `components/CoreView`: `isSmall (renamed isWidthSmall)`
|
|
425
442
|
- Some events were renamed:
|
|
426
443
|
|
|
427
|
-
| Old event name
|
|
428
|
-
|
|
|
429
|
-
| `map-background-changed`
|
|
430
|
-
| `users-changed`
|
|
431
|
-
| `hover`
|
|
432
|
-
| `picture-loading`
|
|
433
|
-
| `picture-loaded`
|
|
434
|
-
| `picture-preview-started`
|
|
435
|
-
| `picture-preview-stopped`
|
|
436
|
-
| `view-rotated`
|
|
437
|
-
| `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` |
|
|
438
455
|
| `transition-duration-changed` | `psv:transition-duration-changed` |
|
|
439
456
|
|
|
440
457
|
- In Viewer, double click on reduced widget makes it wide.
|
|
@@ -450,141 +467,155 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
450
467
|
- Labels from vector tiles are always shown on top of other layers, including STAC API ones.
|
|
451
468
|
|
|
452
469
|
### Removed
|
|
470
|
+
|
|
453
471
|
- Option `picturesTiles` is removed in favor of advertised `xyz` link from STAC API.
|
|
454
472
|
- `Viewer` functions `getMap` and `getPhotoViewer`, in favor of direct properties `map` and `psv`.
|
|
455
473
|
- `Viewer` function `goToPicture`, in favor of `select` function.
|
|
456
474
|
|
|
457
475
|
### Fixed
|
|
476
|
+
|
|
458
477
|
- Popup wasn't opening if a picture didn't have a heading value set.
|
|
459
478
|
- Date filter fields were overflowing in certain cases.
|
|
460
479
|
- Viewer popup was not showing correct value for _GPS dilution of precision_ if value was a fraction (`10/2`).
|
|
461
480
|
|
|
462
|
-
|
|
463
481
|
## [2.5.1] - 2024-03-08
|
|
464
482
|
|
|
465
483
|
### Fixed
|
|
466
|
-
- Some map filters where broken due to picture zoom level change from 2.5.0
|
|
467
484
|
|
|
485
|
+
- Some map filters where broken due to picture zoom level change from 2.5.0
|
|
468
486
|
|
|
469
487
|
## [2.5.0] - 2024-03-07
|
|
470
488
|
|
|
471
489
|
### Changed
|
|
472
|
-
- In map rendering, pictures exact position are shown from zoom level 15 (instead of 14) to reduce size of vector tiles.
|
|
473
490
|
|
|
491
|
+
- In map rendering, pictures exact position are shown from zoom level 15 (instead of 14) to reduce size of vector tiles.
|
|
474
492
|
|
|
475
493
|
## [2.4.2] - 2024-03-05
|
|
476
494
|
|
|
477
495
|
### Fixed
|
|
496
|
+
|
|
478
497
|
- Sequence and picture thumbnail popup was not showing/hiding smoothly due to delay introduced in past version.
|
|
479
498
|
- If hash option was disabled, viewer was not loading properly.
|
|
480
499
|
|
|
481
|
-
|
|
482
500
|
## [2.4.1] - 2024-03-05
|
|
483
501
|
|
|
484
502
|
### Added
|
|
503
|
+
|
|
485
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.
|
|
486
505
|
- A new method in Viewer named `getPictureRelativeHeading` allow to get information about relative heading of camera compared to vehicle movement.
|
|
487
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.
|
|
488
507
|
- A new event `broken` can be fired by Viewer in case of initial loading error.
|
|
489
508
|
|
|
490
509
|
### Changed
|
|
510
|
+
|
|
491
511
|
- Improved styling of _Share_ panel (better contrast, more icons)
|
|
492
512
|
- Updated Maplibre GL to 3.6.2, PMTiles to 2.11.0, Photo Sphere Viewer to 5.7.0
|
|
493
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
|
|
494
514
|
- Improved performance of thumbnail display
|
|
495
515
|
|
|
496
|
-
|
|
497
516
|
## [2.4.0] - 2024-01-31
|
|
498
517
|
|
|
499
518
|
### Added
|
|
519
|
+
|
|
500
520
|
- Viewer can be filtered to only display data from a single user. This can be done through user interface, or through parameters (`users`).
|
|
501
521
|
|
|
502
522
|
### Removed
|
|
523
|
+
|
|
503
524
|
- In standalone map, `setFilters` is dropped in favor of `users` parameter passed in constructor.
|
|
504
525
|
- In viewer, `setFilters` doesn't support `user` parameter anymore, in favor of `switchVisibleUsers` and `getVisibleUsers` methods and `users` constructor parameter.
|
|
505
526
|
|
|
506
|
-
|
|
507
527
|
## [2.3.1] - 2024-01-18
|
|
508
528
|
|
|
509
529
|
### Added
|
|
530
|
+
|
|
510
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.
|
|
511
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).
|
|
512
533
|
|
|
513
534
|
### Changed
|
|
535
|
+
|
|
514
536
|
- User interface reworked to improve readability and usability, both on desktop and mobile.
|
|
515
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.
|
|
516
538
|
- Default vector map background is showing worldwide data (instead of only France).
|
|
517
539
|
|
|
518
540
|
### Fixed
|
|
541
|
+
|
|
519
542
|
- Loader showed up when clicking on already selected picture on map.
|
|
520
543
|
|
|
521
544
|
### Removed
|
|
522
|
-
- 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
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.
|
|
524
547
|
|
|
525
548
|
## [2.3.0] - 2023-11-27
|
|
526
549
|
|
|
527
550
|
### Added
|
|
551
|
+
|
|
528
552
|
- `StandaloneMap` supports now `reloadVectorTiles` function, in a similar fashion as classic viewer.
|
|
529
553
|
- Support of `rel=related` pictures links to travel to nearby, related sequences.
|
|
530
554
|
- Hover on nearby picture arrow in viewer shows picture location in map.
|
|
531
555
|
- 🇭🇺 Hungarian translation (thanks to [Balázs Meskó](https://gitlab.com/meskobalazs))
|
|
532
556
|
|
|
533
557
|
### Changed
|
|
558
|
+
|
|
534
559
|
- Nearby pictures arrows are shown with a color depending of their status (blue if in same sequence, orange if in a nearby sequence).
|
|
535
560
|
- Library _Photo Sphere Viewer_ updated to 5.5.0.
|
|
536
561
|
|
|
537
|
-
|
|
538
562
|
## [2.2.1] - 2023-10-30
|
|
539
563
|
|
|
540
564
|
### Added
|
|
565
|
+
|
|
541
566
|
- When multiple _producer_ names are associated to a picture, all are shown in details widget (instead of only first one).
|
|
542
567
|
|
|
543
568
|
### Changed
|
|
569
|
+
|
|
544
570
|
- In `StandaloneMap`, the `select` method also make a thumbnail visible on selected feature.
|
|
545
571
|
- The "Move around" widget is not shown when container height is too small.
|
|
546
572
|
|
|
547
|
-
|
|
548
573
|
## [2.2.0] - 2023-10-10
|
|
549
574
|
|
|
550
575
|
### Added
|
|
576
|
+
|
|
551
577
|
- A `destroy` function is now available to properly get rid of the viewer, which is useful for single-page applications.
|
|
552
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.
|
|
553
579
|
|
|
554
580
|
### Changed
|
|
555
|
-
|
|
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.
|
|
556
583
|
- A new button in player advanced settings allows to augment image brightness & contrast (_☀️_ button).
|
|
557
584
|
- Mini map/viewer is now responsive, with a size increasing based on screen size.
|
|
558
585
|
- Photo Sphere Viewer updated to 5.4.3.
|
|
559
586
|
|
|
560
587
|
### Fixed
|
|
561
|
-
- Invalid map bounding box received from API was preventing viewer from loading. Now, a warning is shown instead in web console.
|
|
562
588
|
|
|
589
|
+
- Invalid map bounding box received from API was preventing viewer from loading. Now, a warning is shown instead in web console.
|
|
563
590
|
|
|
564
591
|
## [2.1.4] - 2023-09-05
|
|
565
592
|
|
|
566
593
|
### Added
|
|
594
|
+
|
|
567
595
|
- Custom widgets can be inserted in viewer through `widgets.customWidget` option.
|
|
568
596
|
- A `ready` event is launched by viewer when it has done all its first loading process.
|
|
569
597
|
|
|
570
598
|
### Changed
|
|
599
|
+
|
|
571
600
|
- Advanced examples of how to use the viewer are moved into a dedicated documentation named [04_Advanced_examples](./docs/04_Advanced_examples.md).
|
|
572
601
|
|
|
573
602
|
### Fixed
|
|
603
|
+
|
|
574
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`.
|
|
575
605
|
- Player widget could not init with pre-loaded image metadata due to empty CSS class string.
|
|
576
606
|
- If a STAC item was not having `roles` defined, code was failing.
|
|
577
607
|
|
|
578
|
-
|
|
579
608
|
## [2.1.3] - 2023-08-30
|
|
580
609
|
|
|
581
610
|
### Added
|
|
611
|
+
|
|
582
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.
|
|
583
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.
|
|
584
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.
|
|
585
615
|
- Selected sequence is shown on map with a different color (blue).
|
|
586
616
|
|
|
587
617
|
### Changed
|
|
618
|
+
|
|
588
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.
|
|
589
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.
|
|
590
621
|
- Legend is also shown in mini map/picture component, not only on main component.
|
|
@@ -593,32 +624,34 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
593
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).
|
|
594
625
|
|
|
595
626
|
### Fixed
|
|
627
|
+
|
|
596
628
|
- In _Filters_ panel, clicking on _Enter_ key was resetting all input fields.
|
|
597
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)).
|
|
598
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)).
|
|
599
631
|
- Map had an empty background if no vector tiles were available on some places, now a white background is always shown.
|
|
600
632
|
|
|
601
|
-
|
|
602
633
|
## [2.1.2] - 2023-08-20
|
|
603
634
|
|
|
604
635
|
### Added
|
|
636
|
+
|
|
605
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`).
|
|
606
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.
|
|
607
639
|
- Keyboard shortcuts are introduced for all actions in the viewer ([listed here](./docs/01_Start.md)).
|
|
608
640
|
|
|
609
641
|
### Changed
|
|
610
|
-
- Transition between pictures and sequences are perfectly synced ([thanks to Damien Sorel](https://github.com/mistic100/Photo-Sphere-Viewer/issues/1049)).
|
|
611
642
|
|
|
643
|
+
- Transition between pictures and sequences are perfectly synced ([thanks to Damien Sorel](https://github.com/mistic100/Photo-Sphere-Viewer/issues/1049)).
|
|
612
644
|
|
|
613
645
|
## [2.1.1] - 2023-08-01
|
|
614
646
|
|
|
615
647
|
### Added
|
|
648
|
+
|
|
616
649
|
- Meaningful error messages are displayed when possible (instead of generic message)
|
|
617
650
|
- A "share" button allows to get direct link to current viewer, and offers ready-to-paste iframe snippet
|
|
618
651
|
|
|
619
652
|
### Changed
|
|
620
|
-
- Buttons and widgets have coherent design and behaviour between map and photo viewer
|
|
621
653
|
|
|
654
|
+
- Buttons and widgets have coherent design and behaviour between map and photo viewer
|
|
622
655
|
|
|
623
656
|
## [2.1.0] - 2023-07-20
|
|
624
657
|
|
|
@@ -627,73 +660,82 @@ Empty release to follow the API's minor version
|
|
|
627
660
|
## [2.0.7] - 2023-07-10
|
|
628
661
|
|
|
629
662
|
### Added
|
|
663
|
+
|
|
630
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.
|
|
631
665
|
|
|
632
666
|
### Changed
|
|
667
|
+
|
|
633
668
|
- Map is updated sooner to be more in sync when loading incoming picture
|
|
634
669
|
|
|
635
670
|
### Fixed
|
|
636
|
-
- Thumbnail of hidden sequences where not correctly shown
|
|
637
671
|
|
|
672
|
+
- Thumbnail of hidden sequences where not correctly shown
|
|
638
673
|
|
|
639
674
|
## [2.0.6] - 2023-06-30
|
|
640
675
|
|
|
641
676
|
### Added
|
|
677
|
+
|
|
642
678
|
- A `fetchOptions` parameter for Viewer allows to embed custom settings for internal `fetch` calls, for example to enable authenticated calls against API
|
|
643
679
|
- Hidden sequences or pictures for an user are shown on map if user is authenticated (rendered in a gray tone)
|
|
644
680
|
- A loader screen is shown while API, map and first picture loads. It also displays an user-friendly error message if necessary.
|
|
645
681
|
|
|
646
682
|
### Changed
|
|
683
|
+
|
|
647
684
|
- Transitions between flat pictures are smoother
|
|
648
685
|
- Arrows are more visible in zoom 0 to 70% for classic pictures
|
|
649
686
|
|
|
650
|
-
|
|
651
687
|
## [2.0.5] - 2023-06-09
|
|
652
688
|
|
|
653
689
|
### Changed
|
|
690
|
+
|
|
654
691
|
- Transition between pictures is lowered to 500ms
|
|
655
692
|
|
|
656
693
|
### Fixed
|
|
657
|
-
- Viewer was not showing vector tiles anymore for GeoVisio API <= 2.0.1
|
|
658
694
|
|
|
695
|
+
- Viewer was not showing vector tiles anymore for GeoVisio API <= 2.0.1
|
|
659
696
|
|
|
660
697
|
## [2.0.4] - 2023-06-08
|
|
661
698
|
|
|
662
699
|
### Changed
|
|
700
|
+
|
|
663
701
|
- Read sequence info from vector tiles if available
|
|
664
702
|
|
|
665
703
|
## [2.0.3] - 2023-06-08
|
|
666
704
|
|
|
667
705
|
### Changed
|
|
668
|
-
|
|
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.
|
|
669
708
|
- Viewer `endpoint` parameter should now be a direct link to API landing page, instead of its search endpoint.
|
|
670
709
|
|
|
671
710
|
### Fixed
|
|
672
|
-
- Default image shown at start is better oriented
|
|
673
711
|
|
|
712
|
+
- Default image shown at start is better oriented
|
|
674
713
|
|
|
675
714
|
## [2.0.2] - 2023-06-05
|
|
676
715
|
|
|
677
716
|
### Added
|
|
717
|
+
|
|
678
718
|
- A download button is shown to get the HD picture currently shown by viewer.
|
|
679
719
|
- Version and git commit are shown at viewer start-up in web browser console.
|
|
680
720
|
|
|
681
721
|
### Changed
|
|
722
|
+
|
|
682
723
|
- Map maximum zoom is set by default to 24, but still can be changed through Viewer `options.map.maxZoom` parameter.
|
|
683
724
|
- Error message from viewer doesn't block using navbar
|
|
684
725
|
|
|
685
|
-
|
|
686
726
|
## [2.0.1] - 2023-05-26
|
|
687
727
|
|
|
688
728
|
### Added
|
|
729
|
+
|
|
689
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`).
|
|
690
731
|
|
|
691
732
|
### Changed
|
|
733
|
+
|
|
692
734
|
- Updated Photo Sphere Viewer to 1.5.0, solves some low-quality display issues
|
|
693
735
|
|
|
694
736
|
### Fixed
|
|
695
|
-
- 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
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)
|
|
697
739
|
|
|
698
740
|
## [2.0.0] - 2023-04-27
|
|
699
741
|
|
|
@@ -707,7 +749,7 @@ Empty release to follow the API's minor version
|
|
|
707
749
|
### Changed
|
|
708
750
|
|
|
709
751
|
- Viewer dependencies have been updated :
|
|
710
|
-
- Photo Sphere Viewer 5.1 (inducing
|
|
752
|
+
- Photo Sphere Viewer 5.1 (inducing **breaking changes**)
|
|
711
753
|
- MapLibre 2.4
|
|
712
754
|
- JS Library Boilerplate 2.7
|
|
713
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.
|
|
@@ -722,7 +764,6 @@ Empty release to follow the API's minor version
|
|
|
722
764
|
- MapLibre was raising issues on built versions on NPM
|
|
723
765
|
- [A Photo Sphere Viewer under Chrome issue](https://github.com/mistic100/Photo-Sphere-Viewer/issues/937) was making classic pictures not visible
|
|
724
766
|
|
|
725
|
-
|
|
726
767
|
[Unreleased]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.3.1...develop
|
|
727
768
|
[4.3.1]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.3.0...4.3.1
|
|
728
769
|
[4.3.0]: https://gitlab.com/panoramax/clients/web-viewer/-/compare/4.2.0...4.3.0
|