Yesterday, I released Pannellum 2.4.0. It doesn’t contain any major new features, although it does finally include translation support, which was an often requested feature. Also included are numerous minor improvements, a few new API functions, and quite a few bug fixes; see the changelog for full details. It had been more than a year since the last release—and I’ve been meaning to create a new release for a few months—so it was high time for a new release.
Thanks for your awesome work and recent updates! Really appreciate your great work. Just wondering if you would also consider to support the cylindrical projection format in the near future? I do a lot of landscapes and often do not require the top and floor details – stitching is much more straight forward as well. Looking forward to your next release :) Thank you.
I have no intention of adding native support for cylindrical projection. Equirectangular is easier to deal with computationally, and it’s trivial to convert from cylindrical projection to equirectangular projection with desktop software. Cylindrical projection is nicer in many cases when a panorama is displayed as a static image, but there’s no reason for it when using a viewer such as Pannellum that renders a rectilinear view.
Many thanks for your hard work on this new release Matthew. Pannellum really is excellent. I have client who would like to set the minimum and maximum zoom levels for an image. I have looked through the documentation and cant figure out how I would achieve this. Is it possible and if so, are you able to point me in the direction of which settings I could adjust to achieve this? Thanks in advance.
The minHfov and maxHfov parameters are the ones you’re looking for.
I know that everybody has already congratulated you on this amazing work but I must say it: THANKS for sharing!! I was wondering: Is there a way to look for hotspots based on the text? I have 3 equirectangular scenes with different hotspots and want to create a search that the user will use to go directly to that particular scene.
You should be able to search the JSON configuration.
Thanks again for your work on this.
I have set up a test for my client and they are observing some strange behavior on an iMac 27inch screen.
When they click on the full screen button the image is stretched slightly.
I have been unable to replicate here on my PC.
Is there anything I can do to fix this for them?
What browser / browser version?
It appears that the onFullScreenChange method isn’t being called, which means the fullscreenchange event isn’t firing. I’ll take a wild guess that this is in Safari and that Apple went and broke something, again.
Apologies for the delay. I have just got the information back from my client. The browser is Safari Version 11.1.1 (13605.2.8). They have confirmed that the issue does not occur on either Firefox or Chrome, only Safari has the issue. Is there a workaround I can use to trigger the event?
I opened an issue on GitHub to track this. Until I can figure out the cause, I can’t suggest a workaround.