Sie sind nicht angemeldet.

1

Samstag, 17. Dezember 2011, 12:56

googlemaps mit Zoombuttons und radar

Liebe Community, jetzt sitze ich schon wider seit ein paar Stunden an meiner xml und bekomme es einfach nicht mehr hin einen Zoombutton und den Radar einzubauen.
Hatte es schon mal wie in der Abbildung und so hätte ich es auch gerne wieder. Ich denke irgendein Denk-Fehler ist noch versteckt. Hier die xml und danke schon mal für eure Hilfe:

<krpano version="1.0.8">

<include url="skin/defaultskin.xml" />

<view hlookat="0" vlookat="0" fisheye="0.35" maxpixelzoom="1.0" fov="70" [VIEWLIMITS]/>
<display details="22" />

<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"
/>
<!-- pano area -->
<area x="0%" width="100%" y="0" height="100%" />

<!-- <plugin name="options" url="options.swf" -->

<autorotate enabled="true"
waittime="7.0"
speed="2"
horizon="0"
tofov="on"
/>
<!-- pano area -->
<area x="0%" width="100%" y="0" height="100%"/>


<!-- hide map button -->

<plugin name="showmap"
keep="true"
url="googlemaps-logo.png"
align="leftbottom"
onclickA="set(state,'A'); tween(plugin[map].x,0%); tween(area.x,25%); tween(area.width,75%);"
onclickB="set(state,'B'); tween(plugin[map].x,-25%); tween(area.x,0%); tween(area.width,100%);"
onclick="if(state == 'A', onclickB(), onclickA() );"
/>

<plugin name="logo"
url="augenblende_2.png"
alturl=""
keep="true"
devices="all"
visible="true"
enabled="true"
handcursor="true"
zorder=""
style=""
align="rightbottom"
edge=""
x="10"
y="10"
rotate="0.0"
width=""
height=""
scale="0.7"
altscale=""
alpha="0.7"
onover=""
onhover=""
onout=""
onclick="openurl('http://www.dachsteinpano.at');"
ondown=""
onup=""
onloaded=""
altonloaded=""
/>

<!-- google map -->

<plugin name="map"
parent="STAGE"
url="%SWFPATH%googlemaps.swf"
keep="true"
blendmode="layer"
align="leftbottom"
x="-25%"
y="0"
width="25%"
height="100%"
visible="true"

key="ABQIAAAAP5AxVI__zIUsk7kkxIXnWRQ0f-OZX4iQfgssKxyT4rgyOfI_fxSfdEZ16VOpfL2EowTujQ85fGwPXQ"

lat="47.42802974030295"
lng="13.644753322005272"
zoom="18"
maptype="satellite"

dragging="true"
scrollwheel="true"
continuouszoom="false"
/>


<radar visible="true"
dragable="true"
size="100"
zoomwithmap="false"
alpha="0.5"
fillcolor="0xFFFFFF"
fillalpha="1.0"
linecolor="0xFFFFFF"
linealpha="0.0"
linewidth="0.0"
glow="true"
glowcolor="0"
glowwidth="4"
glowstrength="4"
dragable="true"
/>

<zoomcontrol visible="true" align="lefttop" x="10" y="10"
hasscrolltrack="true"
/>

<maptypecontrol visible="true" align="lefttop" x="2" y="2"
buttonalign="V"
/>

<spot name="s1"
lat="47.42802974030295" lng="13.644753322005272" heading="0"
onhover="showtext(Standpunkt);"
heading="0"
active="true"
onhover="showtext(Standpunkt);"
onclick="load_s1();"
/>


[PREVIEW]

[IMAGE]

</krpano>
»augenblende« hat folgendes Bild angehängt:
  • Zoom_radar.jpg

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »augenblende« (17. Dezember 2011, 18:43)


2

Samstag, 17. Dezember 2011, 13:19

Versuch mal

$this->cacheCode('[php]','<plugin name="map"
parent="BGLAYER"
.
.
.
/>')

3

Samstag, 17. Dezember 2011, 13:26

Danke Horsty, probier ich gleich aus.

Hat leider nicht funktioniert. Hier das Testpanorama:
Steirerstubn

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »augenblende« (17. Dezember 2011, 13:36)


4

Samstag, 17. Dezember 2011, 17:39

Sofern noch nicht geschehen, solltest du krpano auf die neueste Version updaten.
Bei mir funktioniert das sehr geschmeidig, bis auf die Geländeansicht, aber das kann auch am Google Maps Plugin liegen.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Horsty« (18. Dezember 2011, 10:21)


5

Samstag, 17. Dezember 2011, 18:07

Folgende Änderungen sollten eine Erlösung bringen. Das Google-Map Plugin muß das Radar und die Spots beinhalten!
Beim Google-Plugin das schließende Tag in Spitze Klammer > zu ohne Schrägstrich geändert und ganz unten das Google-Plugin mit </plugin> geschlossen:

$this->cacheCode('[php]','
<!-- google map -->

<plugin name="map"
parent="STAGE"
url="%SWFPATH%googlemaps.swf"
keep="true"
blendmode="layer"
align="leftbottom"
x="-25%"
y="0"
width="25%"
height="100%"
visible="true"

key="ABQIAAAAP5AxVI__zIUsk7kkxIXnWRQ0f-OZX4iQfgssKxyT4rgyOfI_fxSfdEZ16VOpfL2EowTujQ85fGwPXQ"

lat="47.42802974030295"
lng="13.644753322005272"
zoom="18"
maptype="satellite"

dragging="true"
scrollwheel="true"
continuouszoom="false"
>


<radar visible="true"
dragable="true"
size="100"
zoomwithmap="false"
alpha="0.5"
fillcolor="0xFFFFFF"
fillalpha="1.0"
linecolor="0xFFFFFF"
linealpha="0.0"
linewidth="0.0"
glow="true"
glowcolor="0"
glowwidth="4"
glowstrength="4"
dragable="true"
/>

<zoomcontrol visible="true" align="lefttop" x="10" y="10"
hasscrolltrack="true"
/>

<maptypecontrol visible="true" align="lefttop" x="2" y="2"
buttonalign="V"
/>

<spot name="s1"
lat="47.42802974030295" lng="13.644753322005272" heading="0"
onhover="showtext(Standpunkt);"
heading="0"
active="true"
onhover="showtext(Standpunkt);"
onclick="load_s1();"
/>

</plugin>

')

6

Samstag, 17. Dezember 2011, 18:43

Hey super, das wars.

Danke Angelheini und alle anderen.

Ähnliche Themen