question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Markers in MarkersPlugin cause node markers from VirtualTourPlugin to disappear

See original GitHub issue

Sorry for all the questions lately! Is there an official example of a virtual tour using manual positionMode and markers renderMode? I am trying to set up a small example and while I can see my node on the compass, I cannot see it in the scene.

image

It is defined like this:

        [
          VirtualTourPlugin,
          {
            dataMode: "client",
            positionMode: "manual",
            renderMode: "markers",
            startNodeId: "node-1",
            nodes: [
              {
                id: "node-1",
                panorama: "./assets/pano.jpg",
                name: "One",
                links: [
                  {
                    nodeId: "node-2",
                    latitude: 0,
                    longitude: 0,
                    markerStyle: {
                      html: null, // needed for other marker styles
                      id: "temppp",
                      square: 30,
                      latitude: "0deg",
                      longitude: "0deg",
                      svgStyle: {
                        fill: "rgba(200, 0, 0, 0.2)",
                        stroke: "rgba(200, 0, 50, 0.8)",
                        strokeWidth: "2px",
                      },
                    },
                  },
                ],
              },
              {
                id: "node-2",
                panorama: "./assets/pano_2.jpg",
                name: "Two",
                links: [
                  { nodeId: "node-1", latitude: "0deg", longitude: "0deg" },
                ],
              },
            ],
          },
        ],

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mistic100commented, Aug 25, 2022

I will add a warning and clear the config if this case happens

No default markers can be configured on Markers plugin when using VirtualTour plugin. Consider defining markers on each tour node.

0reactions
github-actions[bot]commented, Sep 3, 2022

This feature/bug fix has been released in version 4.7.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Displaying some markers causing disappearing of the others
1st time I display a map every marker is in its place. However, after 5 seconds my stops markers disappear and only trams...
Read more >
VirtualTourPlugin - Photo Sphere Viewer
This plugin is available in the @photo-sphere-viewer/virtual-tour-plugin package. It has a stylesheet. ... This works exactly like the placement of markers.
Read more >
Photo-Sphere-Viewer - Bountysource
MarkersPlugin, { markers: [{ // image marker that opens the panel when ... Recently I was experimenting with the Virtual Tour Plugin, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found