Sie sind nicht angemeldet.

  • »jeremyfukunaga« ist der Autor dieses Themas

Beiträge: 43

Wohnort: Oakland, CA

Beruf: Photographer

  • Nachricht senden

1

Dienstag, 3. März 2020, 04:52

Maps pins load scenes?

Hi Community,

Is it possible to have the pins that appear on the Google map load the scene they are referencing? I looked through all the posts here and did not see that covered.

Thank you,

Jeremy

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Dienstag, 3. März 2020, 12:22

Hi,

you can add any action you want to the event marker. In this case it will be something like this:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
<plugin name="map" devices="html5"
        ...
>
  <spotstyle name="style1" ... />
  ...
  
  <spot name="spot1" ... onclick="loadscene(scene1)"/>
  <spot name="spot2" ... onclick="loadscene(scene2)" />
  <spot name="spot3" ... onclick="loadscene(scene3)"/>
  ...
  
  <radar visible="true" ... />
</plugin>


https://krpano.com/plugins/googlemaps/#spot.onclick


Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*