﻿<krpano version="1.0.7">


	
	<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" noclip="true"
	           />



<!-- Servidor ABQIAAAAoSllMnO2VaR5v8WcJI2ysRQbtiKj2v8XzIs27iIOSPQyEJhgVBT9d-LtTuTOybt9JwPUBAfWR8UNeg -->
	<plugin name="map"
	        url="%SWFPATH%/plugins/googlemaps.swf"
	        keep="true"
	        align="leftbottom" 
	        x="0" 
	        y="0"
	        width="200"
	        height="350"
	        visible="false"

	        key="ABQIAAAAoSllMnO2VaR5v8WcJI2ysRT8Drxn33R6Iex190N9dyRGtE6DahSpdoQtVCoJHED_G7aCsQE2EdyfyA"

			lat="43.523846"
			lng="-5.615864"
			zoom="15"
			maptype="SATELLITE"

			dragging="true"
			scrollwheel="true"
			continuouszoom="false"
			>
			
		<radar visible="true"
			   size="300"
			   alpha="0.33"
			   fillcolor="0xFFFFFF"
			   fillalpha="1.0"
			   linecolor="0xFFFFFF"
			   linealpha="0.0"
			   linewidth="0.0"
			   glow="true"
			   glowcolor="0"
			   glowwidth="4"
			   glowstrength="3"
			   behindspots="true"
			   dragable="true"
			   />
		
	
		<zoomcontrol     visible="true" anchor="topleft" x="2" y="2" hasscrolltrack="false" />
		

		<!-- LISTA DE PUNTOS EN EL MAPA -->
		<spot name="uno" 			
			  lat="43.523846"
			  lng="-5.615864"
		      heading="18"  
		      active="true" 
		      onhover="showtext(Laboral);"
			  onclick="action(cargar_uno)" 
		/>
			  
		<spot name="dos" 			
			  lat="43.520905"
			  lng="-5.615156"
		      heading="-85"  
		      active="true" 
  		      onhover="showtext(Botánico Puente);"
		      onclick="action(cargar_dos)" 
		/>	
			  	      
		<spot name="tres" 			
			  lat="43.520372"
			  lng="-5.616809"
		      heading="18"  
		      active="true" 
		      onhover="showtext(Botánico Jardín);"			  
		      onclick="action(cargar_tres)" 
		/>


	</plugin>




	<plugin name="buttongoogle"
 	        url="%SWFPATH%/plugins/textfield.swf"
	        keep="false"
 	        visible="true" enabled="true" handcursor="true" capture="true" children="false"
 	        zorder="0"
 	        alpha="1.00" blendmode="normal"
 	        smoothing="true"
 	        origin="bottomleft" edge=""
 	        x="0" y="150"
 	        width="250" height="150"
	        scale="1"
	        onloaded=""
	        onover=""
	        onhover=""
	        onout=""
	        ondown=""
	        onup=""
	        onclick="action(show_google);"
	        autosize="center"
	        background="false"
	        backgroundcolor="16777215"
	        blur="0"
	        bordercolor="0"
	        borderwidth="0"
	        css=""
	        glow="0"
	        glowcolor="16777215"
	        html="data:buttontextgoogle"
	        roundedge="0"
	        selectable="true"
	        shadow="0"
	        textblur="0"
	        textglow="0"
	        textglowcolor="0xFFFFFF"
	        textshadow="0"
	        />	
						
	<plugin name="buttongooglecerrar"
 	        url="%SWFPATH%/plugins/textfield.swf"
	        keep="false"
 	        visible="true" enabled="true" handcursor="true" capture="true" 
			parent="map"
			children="false"
 	        zorder="0"
 	        alpha="1.00" blendmode="normal"
 	        smoothing="true"
 	        origin="topleft" edge=""
 	        x="10" y="0"
 	        width="75" height="50"
	        scale="1"
	        onloaded=""
	        onover=""
	        onhover=""
	        onout=""
	        ondown=""
	        onup=""
	        onclick="action(hide_google);"
	        autosize=""
	        background="false"
	        backgroundcolor="16777215"
	        blur="0"
	        bordercolor="0"
	        borderwidth="1"
	        css=""
	        glow="0"
	        glowcolor="16777215"
	        html="data:buttontextgooglecerrar"
	        roundedge="0"
	        selectable="true"
	        shadow="0"
	        textblur="0"
	        textglow="4"
	        textglowcolor="0xFFFFFF"
	        textshadow="3"
	        />
				
	<plugin name="buttongoogleagrandar"
 	        url="%SWFPATH%/plugins/textfield.swf"
	        keep="false"
 	        visible="true" enabled="true" handcursor="true" capture="true" 
			parent="map"
			children="false"
 	        zorder="0"
 	        alpha="1.00" blendmode="normal"
 	        smoothing="true"
 	        origin="topleft" edge=""
 	        x="80" y="0"
 	        width="75" height="50"
	        scale="1"
	        onloaded=""
	        onover=""
	        onhover=""
	        onout=""
	        ondown=""
	        onup=""
	        onclick="
			set(plugin[map].width,700);		
			set(plugin[buttongoogleagrandar].visible,false);
			set(plugin[buttongooglecerrar].width,70);	
			set(plugin[buttongooglecerrar].x,10);
			"
	        autosize=""
	        background="false"
	        backgroundcolor="16777215"
	        blur="0"
	        bordercolor="0"
	        borderwidth="1"
	        css=""
	        glow="0"
	        glowcolor="16777215"
	        html="data:buttontextgoogleagrandar"
	        roundedge="0"
	        selectable="true"
	        shadow="0"
	        textblur="0"
	        textglow="4"
	        textglowcolor="0xFFFFFF"
	        textshadow="3"
	        />	
				
	<data name="buttontextgoogle">
		<p align="center"><img src="mapa.png" align="top"/></p>
	</data>	
	
	<data name="buttontextgooglecerrar">
		<p align="center">Cerrar</p>
	</data>	
	
	<data name="buttontextgoogleagrandar">
		<p align="center">Expandir</p>
	</data>		
	

	<action name="showbuttongoogle">
		set(plugin[buttongoogle].visible,true);
		set(plugin[buttongoogle].enabled,true);
		tween(plugin[buttongoogle].alpha,1);
	</action>
	
	<action name="show_google">
		set(plugin[buttongoogle].enabled,false);
		set(plugin[buttongoogleagrandar].visible,true);
		set(plugin[map].y,-1500);
		tween(plugin[buttongoogle].alpha,0,,,set(plugin[buttongoogle].visible,false));
		tween(plugin[map].alpha,1,0);
		tween(plugin[map].textblur,0,0);
		tween(plugin[map].blur,0,0);
		set(plugin[map].visible,true);
		set(plugin[map].enabled,true);
		tween(plugin[map].y,0);
		set(plugin[map].width,260);
		set(plugin[buttongooglecerrar].x,10);
		set(plugin[buttongooglecerrar].width,70);
		set(plugin[buttongoogleagrandar].width,70);		
		set(plugin[buttongoogleagrandar].x,80);
		set(plugin[buttongoogleagrandar].parent,map);
	</action>
	
	<action name="hide_google">
	
		set(plugin[map].visible,false);
		set(plugin[buttongoogle].y,-200);
		tween(plugin[map].alpha,0,,,);

		tween(plugin[buttongoogle].alpha,1,0);
		tween(plugin[buttongoogle].textblur,0,0);
		tween(plugin[buttongoogle].blur,0,0);
		set(plugin[buttongoogle].visible,true);
		set(plugin[buttongoogle].enabled,true);
		tween(plugin[buttongoogle].y,150);
		
		set(plugin[map].width,150);

	</action>	


	<!-- load and update map actions -->
	<action name="loadpano">
		action(hidewindow,htmltext);
		tween(hotspot.alpha,0);
		loadpano(%1,null,MERGE,BLEND(1));
		tween(hotspot.alpha,1);
	</action>

	<action name="updatespot">
		plugin[map].activatespot(%1);
		plugin[map].pantospot(%1);
	</action>



	<!-- panorama loading actions -->

	<!-- Korfu Stadt -->
	<action name="cargar_uno">
		action(updatespot,uno);
		action(loadpano,laboral_1.xml);
	</action>

	<action name="cargar_uno_hdr">
		action(updatespot,uno);
		action(loadpano,laboral_1_hdr.xml);
	</action>
	
	<action name="cargar_dos">
		action(updatespot,dos);
		action(loadpano,laboral_2.xml);
	</action>

	<action name="cargar_tres">
		action(updatespot,tres);
		action(loadpano,laboral_3.xml);
	</action>
	
	
	
	
	
	
	
	
	
	
	
	
	
	
</krpano>

