Map: link via pin to another webpage?

Q&A about the latest versions
Post Reply
User avatar
CStüben
Posts: 152
Joined: Mon Apr 24, 2017 6:00 pm
Location: Wuppertal, Germany
Contact:

Hi all,
i have a tour, with a map *1). There i can place the tour nodes, works perfect.

But in the city there is another branch, that already has a virtual tour (via streetview) *2).

Is it possible to place a pin on the map that links to the webpage / streetview tour of the other branch?
Until now, i only have linked to the other branch via the logo bottom left.

If possible, it should work with p2vr v6 and v7.

greetings from germany
Chris

*1) http://360.haifischbar.de/panoramen/bei ... it_debug=1
*2) https://www.google.de/maps/@51.2546244, ... 552!8i5776
---
Christian Stüben
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Chris,

Okay here's my take on a solution...

https://rebrand.ly/markeropenlink

preview0.jpg
preview0.jpg (81.76 KiB) Viewed 2567 times

So what I've done is add in a dummy pano. It's a small black equi image, only 14kb. I've set the User Data title for the node to 'openlink'

I've added the black equi to the floorplan/map.

In the skin I've added a variable openlink = false

In the marker I've ...

a. added a logic block to the marker color to turn it green if the user data title $(ut) = openlink change the color to green
b. added an Action to the marker Mouse Enter > Set Variable Value > Set (=) / true > openlink
c. added a modifier to the Action user data title $(ut) = openlink
d. added an Action to the marker Mouse Click > Go to URL > https://goo.gl/maps/VrVT3na8yrtLc1Si9
e. added a modifier to the Action user data title $(ut) = openlink > = > true
f. added an Action to the marker Mouse Leave > Set Variable Value > Set (=) / false > openlink

I've added logic blocks to show the Link banner and hide the other buttons.

But as I've said Hopki or others may have a better solution.

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Taka
Posts: 51
Joined: Fri May 28, 2021 3:15 pm
Location: Tokyo

Hello Chris and Tony.
I also put a dummy picture and added letters in the map.
However, as the number increases, it seems to become very slow.
Post Reply