[3.1.0] - 2024-10-03
⚠️ 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.
Added
- Support for 🇨🇳 traditionnal Chinese language (
zh_Hant
) thanks to Kevin32950 - Support for 🇩🇪 German language (
de
) thanks to Bastian Greshake Tzovaras - Support for 🇪🇸 Spanish language (
es
) thanks to Daniel Callejas Sevilla - Viewer new option
iframeBaseURL
which allows to change the start of URL given in "Website integration" code from Share widget. - Viewer new option
picturesNavigation
to eventually restrict possible navigation in photo (limit to same sequence or only current picture). Also manageable through nav
URL hash parameter. - An automatic geolocate button added to the address search bar for showing user's position based on GPS on map.
- Form to send reports about pictures (blur issues, copyright infringement...) against compatible API. This is available in Viewer, click on bottom-right corner legend of a picture, then "Report picture" in metadata popup.
- In browser console, API information is shown: title, endpoint URL, STAC and GeoVisio versions.
- 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).
Changed
- Library has been renamed to
Panoramax
and moved on NPM to @panoramax/web-viewer
package. - 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). - When viewer is loaded inside through an iframe, a lot less widgets are shown for better usability.
- URL hash parameter
map
can also take a none
value on first page load to disable viewer map. - Viewer popup now has a close button in its top-right corner.
- Transition between two flat pictures keeps image position and zoom if current view is inside visible image.
- When a fast enough Internet connection is available (more than 10 MBit/s), flat pictures are loaded in HD instead of SD definition.
- EXIF tags table in viewer is now sorted alphabetically.
- URL hash doesn't update until viewer is fully loaded (to avoid broken URL in the while).
- Button to edit in OSM iD editor directly opens current viewer image.
- Update of Photo Sphere Viewer to 5.10 (for yaw/pitch/roll fix).
- Some error messages are dismissable.
- Proper handling of search by coordinates (done in viewer instead of calling geocoder API).
Fixed
selectedPicture
parameter for Viewer was not taken into account at load and blocking everything.- Editor orientation change preview was not showing coherent links, they are now removed.
- Picture orientation symbol where not shown correctly when switching from specific user to general tiles.
- Sphere correction values were inverted (reported by Peter Bremer).
- Click on certain elements of a widget panel could close it unexpectedly.
- Date filter fields were too large on mobile.
- Proper support of cropped panoramas.
- JS class names are hard-coded to avoid issues with Webpack/bundled environments.
- Viewer event
psv:view-rotated
was giving incorrect x
value when moving around.