At this URL the problem
http://testclienti.delianet.eu/pano/googlemaps/googlemaps.html
As you see the radar and the hotspot are not inline: the hotspot is visible in the photo but it is not into the radar. And this only in this hotspot: if you click into the hotspot the radar work fine.
The xml file is a general googlemap.xml as
Code
<krpano version="1.0.8">
<textstyle name="DEFAULT" font="Arial" fontsize="14" bold="true"
textcolor="0"
background="false" backgroundcolor="16777215" border="false" bordercolor="0"
alpha="1" blendmode="layer" effect="glow(0xFFFFFF,0.85,4,4);dropshadow(2,45,0x000000,4,1);"
origin="cursor" edge="bottom" textalign="center" xoffset="0" yoffset="-3" showtime="0.1"
/>
<progress showload="bar(center,115px,5px,-7px,50px,shaded,0x000000,0xffffff,0xAAAAAA)" showwait="none" />
<!-- google map --><!--" -->
<plugin name="map"
url="%SWFPATH%/plugins/googlemaps.swf"
keep="true"
blendmode="layer"
align="leftbottom"
x="0"
y="0"
width="250"
height="200"
visible="true"
key="ABQIAAAAKIST-9Vg3pfeBKjmPKu-5xTRcsVh18wEYhwrrHs0h9dPjkSDghQa-iagmn_sRDqFmie6bedt39eg7A"
lat="39.623846"
lng="19.928588"
zoom="8"
maptype="NORMAL"
dragging="true"
scrollwheel="false"
continuouszoom="false"
onmapready="load_korfustadt_altefestung_oben();"
>
<radar visible="true" size="500" alpha="0.63" fillcolor="0xFF0000" fillalpha="1.0"
linecolor="0xFFFFFF" linealpha="0.0" linewidth="0.0"
glow="true" glowcolor="0" glowwidth="1" glowstrength="3"
behindspots="true" dragable="true"
/>
<zoomcontrol visible="false" anchor="topleft" x="2" y="2" hasscrolltrack="false" />
<!-- map spots 45.79960567470238, 6.947479248046875-->
<spot name="korfustadt_altefestung"
lat="45.79960567470238" lng="6.947479248046875" heading="45"
onhover="showtext(Mont Chetif - ESEMPIO);"
onclick="load_korfustadt_altefestung();"
/>
<!-- 45.7964939814375, 7.3615264892578125-->
<spot name="korfustadt_altefestung_oben" active="true"
lat="45.7964939814375" lng="7.3615264892578125" heading="45"
onhover="showtext(Becca di Viou - ESEMPIO);"
onclick="load_korfustadt_altefestung_oben();"
/>
<!-- 45.85558643964395, 7.86895751953125 CORNO BIANCO-->
<spot name="corno_bianco" active="true"
lat="45.85558643964395" lng="7.86895751953125" heading="45"
onhover="showtext(Corno Bianco - ESEMPIO);"
onclick="load_corno_bianco();"
/>
</plugin>
<!-- load and update map actions -->
<action name="update_map_spot">
plugin[map].activatespot(%1);
plugin[map].pantospot(%1);
</action>
<action name="load_map_pano">
loadpano('%CURRENTXML%/%1', null, MERGE, BLEND(1));
</action>
<!-- load pano actions -->
<action name="load_korfustadt_altefestung_oben">
<!--<action name="load_korfustadt_altefestung">-->
update_map_spot(korfustadt_altefestung);
load_map_pano('chetif.xml');
</action>
<!--<action name="load_korfustadt_altefestung_oben">-->
<action name="load_korfustadt_altefestung">
update_map_spot(korfustadt_altefestung_oben);
load_map_pano('prova1.xml');
</action>
<action name="load_corno_bianco">
update_map_spot(corno_bianco);
load_map_pano('provaroberto.xml');
</action>
</krpano>
Display More
and in the xml of this photo
Code
<krpano version="1.0.8">
<memory maxmem="350" />
<network downloadqueues="auto" decodequeues="auto" caching="true" cachesize="7" retrycount="2" />
<progress showload="bar(center,100px,5px,-7px,50px,shaded,0x000000,0xffffff,0xAAAAAA)" showwait="none" />
<plugin name="barre" align="bottomcenter" y="0" url="barre.png" alpha="0.8" zorder="-1"/>
<plugin name="options" url="../plugins/options.swf" />
<events onxmlcomplete="action(load1);"
onpreviewcomplete=""
onloadcomplete=""
onloaderror=""
onkeydown=""
onkeyup=""
onclick=""
onmousedown=""
onmouseup=""
onmousewheel=""
onidle=""
onviewchange=""
onresize=""
onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);"
onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"
/>
<display fps="60"
details="16"
tessmode="0"
movequality="LOW"
stillquality="HIGH"
flash10="on"
movequality10="HIGH"
stillquality10="HIGH"
stilltime="0.25"
/>
<preview type="CYLINDER" url="chetif360_temp.jpg" details="8" striporder="LFRBUD" />
<image type="CYLINDER" hfov="340" vfov="38.99214179897407">
<cylinder url="chetif360.jpg" />
</image>
<view hlookat ="-100"
vlookat ="0.000000"
camroll ="0.000000"
fovtype ="MFOV"
fov ="50.000000"
fovmin ="32.278319"
fovmax ="50.000000"
maxpixelzoom ="3.000000"
limitfov ="true"
fisheye ="0.00"
fisheyefovlink="0.50"
stereographic ="false"
pannini ="false"
architectural ="0.0"
architecturalonlymiddle="false"
limitview ="auto"
/>
<textstyle name="buttonstyle" font="Arial" fontsize="10" bold="true" italic="false"
textcolor="16777215" background="false" backgroundcolor="16777215" border="false" bordercolor="0"
alpha="1" blendmode="normal" effect="glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);"
origin="cursor" edge="bottom" textalign="none" xoffset="0" yoffset="-3" noclip="true" showtime="0.1" fadetime="0" fadeintime="0"
/>
<action name="load1">
set(plugin[radar].heading,-100);
</action>
<action name="update_map_spot">
plugin[map].activatespot(%1);
plugin[map].pantospot(%1);
</action>
<action name="load_map_pano">
loadpano('%CURRENTXML%/%1', null, MERGE, BLEND(1));
</action>
<action name="load_korfustadt_altefestung">
update_map_spot(korfustadt_altefestung);
load_map_pano('chetif.xml');
</action>
<action name="load_korfustadt_altefestung_oben">
update_map_spot(korfustadt_altefestung_oben);
load_map_pano('prova1.xml');
</action>
<spot name="korfustadt_altefestung_oben"
active="true"
heading="45"
lat="45.7964939814375"
lng="7.3615264892578125"
onclick="load_korfustadt_altefestung_oben();"
onhover="showtext(Becca di Viou - ESEMPIO);"
/>
<hotspot name="hs1"
url="marker_doc.png"
keep="false"
ath="266.322826471443" atv="0.28650264659966984"
zoom="false" distorted="false"
width="25" height="25"
scale="1" scale9grid="" scalechildren="false" rotate="0"
rx="0" ry="0" rz="0"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
alpha="1.00" blendmode="normal" smoothing="true"
refreshrate="auto"
onloaded=""
onover=""
onhover="showtext(Becca di Viou)"
onout=""
ondown=""
onup=""
onclick="load_korfustadt_altefestung_oben();"
details="8"
effect=""
flying="0"
inverserotation="false"
usecontentsize="false"
/>
<!-- aggiunta text field-->
<plugin name="htmltext" url="../plugins/textfield.swf"
html="data:htmldata1"
css="data:cssdata1"
borderwidth="1"
bordercolor="0xFFFFFF"
backgroundcolor=""
selectable="false"
autosize="right"
/>
<data name="htmldata1">
<p align="center">
<font face="times" size="+4">
<b>Mont Chetif 2764 m </b>
</font>
Gruppo Monte Bianco
</p>
</data>
<data name="cssdata1">
a { text-decoration:underline; font-weight:bold; }
a:hover { color:#885500; }
</data>
</krpano>
Display More
As you see i have try to set the heading of the radar as in this
but this not work....
What i have as error?
Thank you and BRAVO for this best tool!!!!
Ciao