Hello,
I try to switch all my panos from flash to HTML5 and I find some malfunction with the showtext-function
Of course, I include showtext.xml - and it works generally as exspected.
But, if I have a showtext() within a Map-plugin, in order to put a label on a spot, it does not work (see line 14)
It always did run under flash without any problems.
Is this a known limitation, or have I overseen something?
This behavior is also true for Viewer 1.18.6
Below, you see the draft script.
Regards
Code
<krpano version="1.18" >
<include url="%SWFPATH%/showtext.xml" keep="true" />
<plugin name="map"
parent="STAGE"
url.html5="%SWFPATH%/bingmaps.js"
url.flash="%SWFPATH%/bingmaps.swf"
key=".."
activespotenabled="true"
lat=".." lng=".." zoom=".."
onmapready="selectpano('startpano');"
>
<spot name="spot1"
lat=".." lng=".." zoom=".." active="false"
onhover="showtext(this text will NOT be shown under HTML5);"
onover="showtext(onover is the same);"
onclick="load_pano1();"
/>
</plugin>
<action name="load_pano1">
...
</action>
</krpano>
Alles anzeigen