You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "jeremyfukunaga" started this thread

Posts: 25

Location: Oakland, CA

Occupation: Photographer

  • Send private message

1

Tuesday, March 3rd 2020, 4:52am

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

spacerywirtualne

Professional

Posts: 980

Location: Poland, Europe

Occupation: krpano developer : virtual tours

  • Send private message

2

Tuesday, March 3rd 2020, 12:22pm

Hi,

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

Source code

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 online, cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube

cms4vr team *thumbsup*