Loading panorama after creating viewer instance
See original GitHub issueIssues guidelines
Hi, first of all thank you for your plugin. I’m currently trying to “lazy load” a panorama with markers, but the image is always grey. It works if i resize the window.
Example https://imgur.com/a/lj0fb9u
Code: https://gist.github.com/query-wow/1e17b4a25d98863ae9a35e35f701f6e8
Example of the code
var manager = new PanoramaManager(document.getElementById('VTImage'));
if (media.waypoints.length)
{
markers = manager.createHtmlMarkers(media, media.waypoints);
}
if (media.doorways.length)
{
if ($.isArray(markers))
{
markers.push(manager.createHtmlMarkers(media, media.doorways));
}
else
{
markers = manager.createHtmlMarkers(media, media.doorways);
}
}
manager.addPanorama(media.imageSrc, markers);
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Load a Partial Firewall Configuration into Panorama
Load a Partial Firewall Configuration into Panorama · On Panorama, select. Panorama. Setup. Operations . · Click. Import named Panorama configuration snapshot. ,....
Read more >WebGL ContextLost when load image many times #169 - GitHub
When I load image with ImagePanorama class, it makes WebGL ContextLost after many ... ImagePanorama(imageSource1 ); viewer = new PANOLENS.
Read more >Panorama Administrator's Guide
Create, modify, or delete Panorama or firewall administrators and roles. • Export, validate, revert, save, load, or import a configuration ...
Read more >Loading Google Street View Image API by panorama ID rather ...
When calling the street view image API using a pano id, try use &pano=#panoid. The monkey · Share.
Read more >panorama/Panorama.js - Panolens
Mesh.prototype ), {; constructor: Panorama,; /**; * Create a skybox ... This will be called when panorama is loaded; * @memberOf Panorama; *...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
use
dataHelper.viewerCoordsToVector3
thendataHelper.vector3ToSphericalCoords
Please put the demo online.
Issue guidelines :