You are not logged in.

1

Monday, August 16th 2010, 7:38pm

Google map radar not inline with the photo

At this URL the problem

http://testclienti.delianet.eu/pano/goog…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

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<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>

and in the xml of this photo

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<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>


As you see i have try to set the heading of the radar as in this

Source code

1
http://krpano.com/forum/wbb/index.php?page=Thread&postID=54&highlight=hlookat#post54

but this not work....

What i have as error? *sad*

Thank you and BRAVO for this best tool!!!!
Ciao

2

Wednesday, August 18th 2010, 11:23am

Hi,

at the moment the heading for all spots is 45, this is the problem,

set them all to "0" for the first and then determinate the heading like here:
radar orientation

best regards,
Klaus

3

Thursday, August 26th 2010, 3:05pm

thank you all work fine now.