You are not logged in.

1

Sunday, September 9th 2012, 9:55am

Bing Maps Plugin

Forgive me in advance, I don't write code but I'm learning..

I am trying to use the Bing Maps plugin for some big projects but have decided to
start off small and at least get one working before I take on the bigger projects.
For some reason I can not get the onhover="showtext('Mountain Village');" to
work properly or the onclick action to work. I also can't figure out how to load the
first scene. Any help would be greatly appreciated. XML attached.
Sven has attached the following file:
  • master1.xml (2.12 kB - 70 times downloaded - latest: Oct 4th 2023, 3:53am)

2

Sunday, September 9th 2012, 11:30am

Hi,

for loading the first scene - just load it in the onstart event of the <krpano> element (your current code there can be removed),
e.g.

Source code

1
2
<krpano onstart="loadscene(spot4,null,MERGE);">
...


about onhover and onclick of the spot - the active spot is disabled by default for that,
to enable it add and set the activespotenabled setting to true, see:
http://krpano.com/plugins/bingmaps/#activespotenabled
e.g.

Source code

1
<plugin name="bm" ... activespotenabled="true" ... />


best regards,
Klaus

3

Tuesday, October 2nd 2012, 7:10pm

Thank you very much!

This post has been edited 3 times, last edit by "Sven" (Oct 7th 2012, 11:40pm)


Similar threads