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.

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
<action name="make_map"> addplugin(Gmap); set(plugin[Gmap].url,%SWFPATH%/plugins/googlemaps.swf); set(plugin[Gmap].width,350); set(plugin[Gmap].height,350); [...] set(plugin[Gmap].subnode[zoomcontrol].visible, true); set(plugin[Gmap].subnode[zoomcontrol].anchor, topleft); </action> |


|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
<plugin name="Gmap" url="%SWFPATH%/plugins/googlemaps.swf" keep="true" visible="true" enabled="true" handcursor="false" capture="true" children="true" zorder="0" [...] </plugin> |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<action name="make_zoomcontrol"> addplugin(zoomcontrol); set(plugin[zoomcontrol].url,%SWFPATH%/plugins/googlemaps.swf); set(plugin[zoomcontrol].zorder,1); set(plugin[zoomcontrol].parent, Gmap); set(plugin[zoomcontrol].visible, true); set(plugin[zoomcontrol].enabled,true); set(plugin[zoomcontrol].anchor, topleft); set(plugin[zoomcontrol].x, 10); set(plugin[zoomcontrol].y, 5); set(plugin[zoomcontrol].hasscrollltrack, false); plugin[map].updatecontrols(); </action> |
|
|
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 |
<plugin name="mapslogo" url="gmaps.png" align="centerbottom" x="250" y="10" width="30" height="30" onhover="showtext(Click to open a Google Map,smalltext)" onover=" tween(plugin[mapslogo].width,35,distance(318,0.5),easeoutquad);tween(plugin[mapslogo].height,35,distance(120,0.5),easeoutquad);" onout="tween(plugin[mapslogo].width,30,distance(318,0.5),easeoutquad);tween(plugin[mapslogo].height,30,distance(120,0.5),easeoutquad);" onclick="tween(plugin[maps].x,25,0.3,easeoutquad,set(plugin[maps].onout,set(plugin[maps].onout,null);tween(plugin[maps].x,-400);));" zorder="4" keep="true" visible="true" /> <plugin name="maps" url="../core/plugins/googlemaps.swf" handcursor="false" align="rightcenter" x="-300" y="0" width="300" height="60%" zorder="0" xonover="tween(plugin[maps].x,40);" xonout="tween(plugin[maps].x,-300);" key="ABQIAAAAAOUDvWwlS_Wxbh9Jgbx1fBR5aKurEJ6TSpp_I-EAQPQB7zYUUxSK_8Sk1pOF8OJ8m4zZyG4T5QEXvQ" lat="46.784002" lng="-92.101951" zoom="16" maptype="SATELLITE" dragging="true" scrollwheel="true" continuouszoom="false" keyboard="false" crosshairs="false" onmapready="" onmapmoved="" onmapzoomed="" keep="true" > <positioncontrol visible="true" anchor="topleft" x="2" y="2" /> <zoomcontrol visible="true" anchor="topright" x="2" y="2" hasscrolltrack="true" /> <spot name="s1" lat="46.784002" lng="-92.101951" onhover="showtext(get directions to the Alworth/Lonsdale Buildings,smalltext);" onclick="openurl(http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=306+w+superior+st+55802&sll=46.784516,-92.101951&sspn=0.007449,0.013733&g=306+w+superior+st+duluth+mn&ie=UTF8&ll=46.784002,-92.101951&spn=0.007449,0.013733&t=h&z=16);" /> </plugin> |
|
|
Source code |
1 |
<plugin name="radar" url="../../core/plugins/radar.swf" zorder="13" Parent="maps" origin="lefttop" edge="center" visible="true" x="75" y="140" width="80" height="80" keep="true" heading="30" blendmode="subtract" alpha=".5"/> |

No, do not answer that....
|
|
Source code |
1 2 3 4 5 6 7 8 |
<action name="fill_map"> plugin[Gmap].addspot(test1, 45.394369, -121.69954, 94.4, true,); plugin[Gmap].addspot(test2, 45.39768, -121.704531, 81.4, false, action(load_location, test2), showtext(Spot 2)); plugin[Gmap].pantospot(test1); plugin[Gmap].setzoom(12); plugin[Gmap].updatespots(); </action> |
the spots itself will not be cleaned-up automatically normally,It seems that this clean-up is done automatically when switching from one location to another?
sorry, double-clicking is currently not possible,Now, if only ... double-clicking on the googlemap would zoom in as with a standard Google Map.