hi erstmal!
beschäftige mich nun seit 3 wochen intensiver mit krpano. bin eigentlich kein "coder" und habe mich mit den krpano-beispielen und der doku "vorwärtsbewegt"
doch nun steh ich an bzw. werde durch einen forumspost hier nicht ganz schlau . und zwar gehts ums radar plug-in. bei mir werden die punkte auf der gmap nicht umgedated. es gibt zwar hier nen post zu dem thema, aber ganz klar ist mir das ganz trotzdem nicht bzw. ich brings einfach net hin. (http://www.krpano.com/forum/wbb/inde…atespot#post937)
hab mich am maps_example3 orientiert. kann mir einer von euch erklären welche funktionen/actions ich wo hinschreiben muss, damit dieses punktupdate/radarupdate funktioniert?
schon jetzt mal besten dank
ach ja. hier der code der xml datei
<action name="updatespot">
plugin[map].activatespot(%1);
plugin[map].pantospot(%1);
</action>
<action name="load_s1">
action(updatespot,s1);
action(loadpano,d_uhrturm_g.xml);
</action>
<action name="load_s2">
action(updatespot,s2);
action(loadpano,d_aiola.xml);
</action>
<plugin name="mapslogo"
url="pics/detail/googlemaps-logo.png"
keep="false"
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="1"
alpha="1.00" blendmode="normal"
smoothing="true"
origin="leftbottom" edge=""
x="" y=""
width="131" height="51"
scale="1"
onloaded=""
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick="tween(plugin[maps].x,0,0.3,easeoutquad,set(plugin[maps].onout,set(plugin[maps].onout,null);tween(plugin[maps].x,-400);));"
/>
<plugin name="maps"
url="%SWFPATH%/plugins/googlemaps.swf"
keep="false"
visible="true" enabled="true" handcursor="false" capture="true" children="true"
zorder="2"
alpha="1.00" blendmode="normal"
smoothing="true"
origin="leftbottom" edge=""
x="-300" y="0"
width="40%" height="40%"
scale="1"
onloaded=""
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick=""
continuouszoom="false"
crosshairs="false"
dragging="true"
key="ABQIAAAAlIikqBasuQJRN86dalcVdhSLuEdT0IkRUOz1cXWnhUpMpTaBJhSGnqjPcaGElMpUD_7aaHdqjOtz5w"
keyboard="false"
lat="47.07303741265809"
lng="15.438100397586823"
maptype="SATELLITE"
onmapmoved=""
onmapready="action(updatespot,s1) "
onmapzoomed=""
scrollwheel="true"
xonout="tween(plugin[maps].x,-300);"
xonover="tween(plugin[maps].x,0);"
zoom="17"
>
<radar alpha="0.33"
behindspots="true"
dragable="true"
fillalpha="1.0"
fillcolor="0xFFFFFF"
glow="true"
glowcolor="0"
glowstrength="3"
glowwidth="4"
linealpha="0.0"
linecolor="0xFFFFFF"
linewidth="0.0"
size="200"
visible="true"
/>
<spot name="s1"
active="true"
heading="-120"
lat="47.07303741265809"
lng="15.438100397586823"
onclick="loadpano(d_uhrturm_g.xml,null,MERGE,BLEND(1));"
onhover="showtext(Uhrturm/Clocktower);"
/>
<spot name="s2"
active="true"
heading="-120"
lat="47.07392338392843"
lng="15.437598824501038"
onclick="loadpano(d_aiola.xml,null,MERGE,BLEND(1));"
onhover="showtext(Schlossberglift/Elevator in the mountain);"
/>
</plugin>
Alles anzeigen
lg
christian