Custom Street View #1159
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
I created qgis2o.gis, which is an enhanced version designed solely for OpenLayers export from qgis2web. Two ideas come to mind:
Is it worth reaching out to the developer of this library? What do you think? It seems to work; the pointer moves between Google 360Β° images, but the image points are not visible, even though you can anchor to them. Only the blue roads are visible. If we take this road, we certainly need to find a solution for the leaflet as well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If I were to implement a custom UI for navigating through 360 photos, similar to Google Street View, would the developers be willing to merge it?
I have a bunch of 360 photos for a map I have in QGIS, but there's no easy way to browse amongst the photos. The best option is to hover over each point on the map and have a HTML popup showing the full (distorted) image, which isn't so great.
There are a few QGIS plugins that will display 360 photos but they aren't that reliable, they don't support navigation from photo to photo (like Google Street View where you click on arrows overlaid on the image) and they only work inside QGIS, so you can't share your 360 photos with others.
I was thinking about writing an exporter that produces a standalone web site similar in functionality to Google's Street View, however in order to know where you are, you still need a 2D overhead map visible for reference - of exactly the sort that qgis2web produces. It wouldn't make sense for me to reproduce that in my own plugin when qgis2web already does it.
So I'm thinking, rather than create an independent plugin for this, would it be better to add the functionality to qgis2web?
It would bend a couple of the stated development goals, namely 1) introducing a 3D library for the 360 photo rendering, and 2) adding new functionality that does not exist in QGIS, which is why I am asking. Of course I would implement it such that anyone using qgis2web without a custom Street View would not have these dependencies pulled in, so there would be no impact on those users.
What are your thoughts?
This is an example from the three.js library I am planning to use, showing a 360 photo in action: https://threejs.org/examples/webgl_panorama_equirectangular.html
I am imagining a small icon in the corner of the map to activate the panorama viewer, and then like Google Street View, it takes up the whole display but the original qgis2web map is still visible in the corner, and can be enlarged again to take up the bottom half of the display if the user wishes. The panorama can be closed again returning to the original qgis2web view.
Beta Was this translation helpful? Give feedback.
All reactions