Hi All!
coding isnt my strong point... I am a photographer.
I am putting many of my panos (165) into one document that can be navigated via google maps.
I can not see a spot on the map. There was, but now it disappeared! But it didnt load the pano anyway!
The map is scrollable and draggable, but not in the middle. with the mouse in the middle third of the map, it drags the pano instead of the map! There is also a krpano logo there! I do have a license in the folder.
http://www.itsrich.info/locations
Please help as I have a lot of coding to do and I cant get the first bit right!
Rich!
original xml can be found at http://www.itsrich.info/360vr/locations/itsrich.xml
Code
<!--************** MAPS ***********************************************************-->
<!-- action performed when mouse hovers over a thumbnail preview -->
<action name="magnify">
tween(plugin[%1].alpha, 1.5, 0.3, easeInOutCubic);
tween(plugin[%1].scale, 1.05, 0.3, easeInOutCubic);</action>
<!-- action performed when mouse goes away from a thumbnail preview -->
<action name="lie">
tween(plugin[%1].alpha, 0.8, 0.3, easeInOutCubic);
tween(plugin[%1].scale, 1, 0.3, easeInOutCubic);</action>
<!-- open the thumbnail -->
<action name="slide_action_in">
tween(plugin[slide].y,30%,1,easeOutQuint);
set(plugin[strapArrow].rotate,180) ;
tween(plugin[thumbArray].y,30%,1,easeOutQuint, set(plugin[strap].onclick,action(slide_action_out)); );</action>
<!-- close the thumbnail -->
<action name="slide_action_out">
tween(plugin[slide].y,0,1,easeOutQuint);
set(plugin[strapArrow].rotate,0) ;
tween(plugin[thumbArray].y,0,1,easeOutQuint, set(plugin[strap].onclick,action(slide_action_in)); );</action>
<plugin name="slide"
keep="true"
zorder="0"
url="googlemaps.swf"
key="ABQIAAAAIPBMz07hMD7cQimqzIVcoBSKZLXCtr9Bcqwpv4jNo7t_i8WznhQceqNzttFH9hql8gGBIf85dY0Ddg"
visible="true"
enabled="true"
handcursor="true"
dragging="true"
capture="false"
children="true"
alpha="0.9"
blendmode="normal"
smoothing="true"
align="bottom"
edge="top"
width="100%" height="30%"
onloaded="set(plugin[slide].y,0);set(plugin[strapArrow].rotate,0) ;set(plugin[thumbArray].y,0);"
onclick="action(slide_action_in)"
lat="42"
lng="-5"
zoom="2"
maptype="SATELLITE"
scrollwheel="true"
continuouszoom="true"
crosshairs="false"
onmapready=""
>/>
<positioncontrol visible="true"
anchor="topleft" x="2" y="2"
/>
<zoomcontrol visible="true"
anchor="topright" x="2" y="2"
hasscrolltrack="true"
/>
</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>
<plugin name="thumbArray"
keep="true"
zorder="0"
url="itsrichdata/graphics/transparent.png"
visible="true" enabled="true"
handcursor="false" capture="false"
children="true"
alpha="0.6" onover="tween(alpha,0.8);"onout="tween(alpha,0.6);"
blendmode="normal"
smoothing="true"
x="0" y="0"
scale="1"
align="bottom"
edge="top" oy="0" ox="0" width="prop" height="30%" rotate="0"/>
<plugin name="strap" keep="true" zorder="0" url="itsrichdata/graphics/strap.png" parent="thumbArray" scale="1" align="top" edge="left" rotate="-90" alpha="1.0" handcursor="true" onclick="action(slide_action_in)"/>
<plugin name="strapArrow" keep="true" parent="strap" zorder="0" url="itsrichdata/graphics/arrow.png" align="center" edge="center" capture="false"/>
<action name="closeglobalobjects">slide_action_out();</action>
<action name="combobox:zapcat_equi">loadpano(itsrich163.xml,NULL,NULL,BLEND(1));</action>
<spot name="zapcat" lat="50.4161" lng="-5.1"
onhover="showtext(ZapCat Boat Racing Newquay);"
onclick="action(zapcat);"
heading="0"
active="true"
/>
<action name="zapcat">
plugin[maps].activatespot(zapcat);
plugin[maps].pantospot(zapcat);
loadpano(itsrich163.xml,null,MERGE,BLEND(1));
</action>
Alles anzeigen