just one spot shown on the map, instead of more defined...

  • Hi

    I am new in krpano....

    I am trying to implement google maps with 3 spots. But in the result I have just one (the last one) spot shown on the map. Any idea why other spots are not shown?

    thanks

    result: http://www.spanish-menu.com/krpanotest/krpano.swf

    Code


    <!--
    googlemaps example with external (out of pano) map
    -->

    <krpano version="1.0.8">

    <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%" />


    <!-- 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() );"
    />


    <!-- google map -->
    <plugin name="map"
    parent="STAGE"
    url="%SWFPATH%/plugins/googlemaps.swf"
    keep="true"
    blendmode="layer"
    align="leftbottom"
    x="-25%"
    y="0"
    width="25%"
    height="100%"
    visible="true"
    key="..."
    lat="36.721084"
    lng="-4.422065"
    zoom="18"
    maptype="SATELLITE"
    dragging="true"
    scrollwheel="true"
    continuouszoom="false"
    onmapready="load_13_1();"
    >

    <radar visible="false" 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" />

    <!-- map spots -->

    <spotstyle name="DEFAULT"
    url="mapspot.png"
    overurl="mapspot_over.png"
    activeurl="mapspot_active.png"
    edge="bottom" x="0" y="0" shadow="true"
    />


    <spot name="14_1"
    lat="36.723235" lng="-4.417233" heading="165"
    onhover="showtext(Boyd3);"
    onclick="load_14_1();"
    />

    <spot name="15_1"
    lat="36.723235" lng="-4.417253" heading="165"
    onhover="showtext(test);"
    onclick="load_15_1();"
    />

    <spot name="13_1" active="true"
    lat="36.72351" lng="-4.416783" heading="190"
    onhover="showtext(Canadu2);"
    onclick="load_13_1();"
    />

    </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>

    <!-- load pano actions -->

    <action name="load_13_1">
    update_map_spot(13_1);
    load_map_pano('13_1.xml');
    </action>

    <action name="load_14_1">
    update_map_spot(14_1);
    load_map_pano('14_1.xml');
    </action>


    </krpano>

    2 Mal editiert, zuletzt von matus (4. Januar 2012 um 23:29)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!