You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Boubou

Trainee

  • "Boubou" started this thread

Posts: 67

Location: Paris

Occupation: Photographer

  • Send private message

1

Tuesday, July 13th 2010, 3:01pm

Google Map + Flash

Hi,
If you look at my website: Virtual Tour of Paris, I should like to put all my panoramics on the map but... I'm in front a blackboard and have not an once of idea to do it *cry*
Anybody could help me, please? *cool*

Boubou

Trainee

  • "Boubou" started this thread

Posts: 67

Location: Paris

Occupation: Photographer

  • Send private message

2

Monday, September 6th 2010, 7:24pm

Hi,
The Flash code is too complex for me, so I got into the basic and have intagrated the map in a html page.
But there is a problem ...
Here is the code and the error: xml parser error: unterminated element (#1096)????
Anybody to help me ;-)

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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<krpano version="1.0.8" logkey="false">

	<include url="garigliano0.xml"/>
	
	<plugin name="data" keep="true"/>
	
	<textstyle name="DEFAULT"
	  alpha="1" 
	  background="false" 
	  bold="true" border="false" 
	  effect="glow(0xffffff,0.7,4,2);dropshadow(4,45,0xffffff,4,1);" 
	  font="Verdana" 
	  fontsize="16" 
	  italic="false" 
	  textcolor="0xff000000"/>
	  
	<plugin name="out"
	  url="gariglianodata/graphics/menu/menu0.png"
	  align="bottom" 
	  keep="true"
	  onhover="showtext(Zoom-);" 
	  ondown="set(movevectorz,+0.2);" 
	  onout="set(blendmode,normal);" 
	  onover="set(blendmode,add);" 
	  onup="set(movevectorz,0);" 
	  x="-80" y="10"/>
	  
	<plugin name="in"
	  url="gariglianodata/graphics/menu/menu1.png" 
	  align="bottom" 
	  keep="true"
	  onhover="showtext(Zoom+);"  
	  ondown="set(movevectorz,-0.2);" 
	  onout="set(blendmode,normal);" 
	  onover="set(blendmode,add);" 
	  onup="set(movevectorz,0);" 
	  x="-40" y="10"/>
	  
	<plugin name="btnaide1" 
	  url="gariglianodata/graphics/menu/menu2.png" 
	  align="bottom" 
	  keep="true" 
	  onhover="showtext(Ouvrir/Fermer le menu d'aide);" 
	  state="closed" 
	  onclick="if(state==closed, action(openintro), action(closeintro));" 
	  onout="set(blendmode,normal);" 
	  onover="set(blendmode,add);"
	  x="40" y="10" />
	  
		<action name="openintro">
  			set(plugin[btnaide1].state, open);
	  		set(plugin[intro].visible, true);
		</action>
	
		<action name="closeintro">
  			set(plugin[btnaide1].state, closed);
	  		set(plugin[intro].visible, false);
		</action>
		
	<plugin name="intro" 
	  url="gariglianodata/graphics/intro.png" 
	  alpha="0.7" 
	  visible="false" 
	  keep="true" 
	  zorder="2" 
	  align="center" />	
	  	
	<plugin name="openfs"
	  url="gariglianodata/graphics/menu/menu4.png" 
	  align="bottom" 
	  visible="true" 
	  onclick="set(fullscreen,true);" 
	  onhover="showtext(Plein écran);" 
	  onout="set(blendmode,normal);" 
	  onover="set(blendmode,add);" 
	  x="80" y="10"/>
	  
	<plugin name="closefs"
	  url="gariglianodata/graphics/menu/menu5.png"  
	  align="bottom" 
	  visible="false" 
	  onclick="set(fullscreen,false);" 
	  onhover="showtext(Réduction);" 
	  onout="set(blendmode,normal);" 
	  onover="set(blendmode,add);" 
	  x="80" y="10"/>
	  
		<events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" 
	        	onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"/>
	  
	<plugin name="strap-google" 
  	url="strap-google.png"
  	state="closed"   
  	keep="false" 
  	visible="true" 
  	zorder="0"
  	enabled="true" handcursor="true" capture="true" children="true"
  	alpha="1" blendmode="normal" 
  	smoothing="true" 
  	origin="topleft" oy="10" ox="0" 
  	width="17" height="85" 
  	scale="1"
  	onhover=""
  	onclick="if(state == closed, action(openaction), action(closeaction));" />
	  
     	<action name="openaction">
         	set(plugin[strap-google].state, opened);
         	set(plugin[maps].visible,true);
     	</action>

     	<action name="closeaction">
         	set(plugin[strap-google].state, closed);
         	set(plugin[maps].visible,false);
     	</action>
		 					 
   <plugin name="maps" 
 	url="googlemaps.swf" 
 	visible="false"
 	handcursor="false"
 	align="leftbottom"
 	x="10" y="10"			
 	align="leftbottom"
 	width="500" height="400"
 	key="ABQIAAAAbZrUPCRCZTzX0HhJcyXQgBS.................................4FPeYxOPwwNLCi7Djjqx0tNQ"
 	lat="48.856670" lng="2.350995"
 	zoom="11"
 	maptype="HYBRID"  
 	dragging="true"
 	scrollwheel="true"
 	continuouszoom="false"
 	keyboard="false"
 	crosshairs="false"
 	onmapready=""
 	onmapmoved=""
 	onmapzoomed="">
	  
   	<positioncontrol visible="true" 
                    	anchor="topleft" x="2" y="2" 
                     	/>
                     	
   	<zoomcontrol visible="true" 
                	anchor="topleft" x="23" y="62" 
                	hasscrolltrack="true" 
                 	/>
					 

	<spot name="s1" lat="48.839401" lng="2.268471" 
          	onhover="showtext(Pont du Garigliano);" 
          	onclick="action(s1);"
			  heading="0" 
          	active="true" />
			  
	<spot name="s2" lat="48.846722" lng="2.275639" 
          	onhover="showtext(Pont Mirabeau);" 
          	onclick="action(s2);" 
          	heading="90" />
			  
	<spot name="s3" lat="48.850710" lng="2.279647" 
          	onhover="showtext(Pont de Grenelle);" 
          	onclick="action(s3);" 
          	heading="90" />
			  
	<spot name="s4" lat="48.850088" lng="2.280666" 
          	onhover="showtext(Pont de Grenelle);" 
          	onclick="action(s4);" 
          	heading="90" />
			  
	<spot name="s5" lat="48.855808" lng="2.287888" 
          	onhover="showtext(Pont de Bir-Hakeim);" 
          	onclick="action(s5);" 
          	heading="90" /> 	
  

    	<action name="s1">
    		plugin[maps].activatespot(s1);
    		plugin[maps].pantospot(s1);
    		loadpano(garigliano.xml,null,MERGE,BLEND(1));
		</action>

		<action name="s2">
   			plugin[maps].activatespot(s2);
        	plugin[maps].pantospot(s2);
    		loadpano(mirabeau.xml,null,MERGE,BLEND(1));
		</action>
	
		<action name="s3">
    		plugin[maps].activatespot(s3);
    		plugin[maps].pantospot(s3);
    		loadpano(grenelle.xml,null,MERGE,BLEND(1));
		</action>
	
		<action name="s4">
    		plugin[maps].activatespot(s4);
    		plugin[maps].pantospot(s4);
    		loadpano(grenelles.xml,null,MERGE,BLEND(1));
		</action>
	
			<action name="s5">
    		plugin[maps].activatespot(s5);
    		plugin[maps].pantospot(s5);
    		loadpano(bir-hakeim.xml,null,MERGE,BLEND(1));
		</action>
	
</krpano>

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

3

Tuesday, September 7th 2010, 4:54am

I don't see where you close the map plugin xml block with

</plugin>

It would go after the last "spot" is defined.

Boubou

Trainee

  • "Boubou" started this thread

Posts: 67

Location: Paris

Occupation: Photographer

  • Send private message

4

Tuesday, September 7th 2010, 8:02am

Hi Graydon,

Thanks a lot!!!

Best regards,

Laurent