hallo,
ich versuche gerade meine panos über eine karte wie im beispiel einzubinden - klappt grundsätzlich auch.
ich habe in jeder xml-datei meiner panos ein einblendfenster mit infotext.
das fenster, bzw. der button, um das fenster wird aber nicht angezeigt, vermutlich weil ich ja "KEEPALL" hier eingesetzt habe, was ich aber doch brauche, damit meine MAP nicht verschwindet
was kann ich denn manchen, damit ich die map behalte und die infofenster in den einzellen xml haben?
danke
sascha
hier meine map-xml:
<krpano version="1.0.8" onstart="action(load1);">
<!-- vorladen der einzelen panos -->
<action name="loadpano1">loadpano(x_pano1.xml, null, KEEPALL|KEEPHOTSPOTS, BLEND(1));</action>
<action name="loadpano2">loadpano(x_pano2.xml, null, KEEPALL|KEEPHOTSPOTS, BLEND(1));</action>
<plugin name="map" url="map/map.png" zorder="1" align="righttop" edge="righttop" x="16" y="16" alpha="15.85" handcursor="false"
width="265"
height="304"
onhover="showtext(Karte schließen,smalltext);"
onclick="action(closemap);"
/>
<!-- Map Points -->
<plugin name="spot1" url="map/mappoint.png" zorder="2" align="righttop" edge="center" x="180" y="120" onhover="showtext(Zimmer);" onclick="action(load1);" />
<plugin name="spot2" url="map/mappoint.png" zorder="2" align="righttop" edge="center" x="190" y="180" onhover="showtext(Lobby);" onclick="action(load2);" />
<plugin name="spot3" url="map/mappoint.png" zorder="2" align="righttop" edge="center" x="230" y="260" onhover="showtext(Terasse);" onclick="action(load3);" />
<!-- first hotpot --> <plugin name="spotx" url="map/mappointactive.png" zorder="4" align="righttop" edge="center" x="180" y="120" /> <!-- first hotpot -->
<!-- actions fuer die hotspots -->
<action name="startloading">
set(hotspot.visible,false);
push(view.fovmin);
set(view.fovmin,1);
</action>
<action name="loadingdone">
pop(view.fovmin);
set(hotspot.visible,true);
</action>
<action name="lookinterrupt">
action(loadingdone);
breakall();
</action>
<action name="load1">
set(plugin[spotx].x,180);
set(plugin[spotx].y,120);
set(plugin[radar].x,180);
set(plugin[radar].y,120);
loadpano(x_pano1.xml,null,KEEPALL,BLEND(1));
</action>
<action name="load2">
set(plugin[spotx].x,190);
set(plugin[spotx].y,180);
set(plugin[radar].x,190);
set(plugin[radar].y,180);
loadpano(x_pano2.xml,null,KEEPALL,BLEND(1));
</action>
<action name="showspots">
set(plugin[spot1].alpha,0);
set(plugin[spot2].alpha,0);
set(plugin[spotx].alpha,0);
set(plugin[spot1].visible,true);
set(plugin[spot2].visible,true);
set(plugin[spotx].visible,true);
tween(plugin[spot1].alpha,1);
tween(plugin[spot2].alpha,1);
tween(plugin[spotx].alpha,1);
</action>
<action name="hidespots">
set(plugin[spot1].visible,false);
set(plugin[spot2].visible,false);
set(plugin[spotx].visible,false);
</action>
<action name="closemap">
action(hidespots);
set(plugin[map].onhover,showtext(Karte öffnen,smalltext););
set(plugin[map].onclick,action(openmap););
tween(plugin[map].width,32,distance(318,0.5),easeoutquad);
tween(plugin[map].height,32,distance(120,0.5),easeoutquad);
</action>
<action name="openmap">
set(plugin[map].onhover,showtext(Karte schließen,smalltext););
set(plugin[map].onclick,action(closemap););
tween(plugin[map].width,265,distance(318,0.5),easeoutquad);
tween(plugin[map].height,304,distance(120,0.5),easeoutquad,action(showspots););
</action>
</krpano>