bing地图

<layer name="control_map" keep="true" url="skin/button_map.png" align="rightcenter" scale="0.8" x="10" y="-15%"  onclick="if(layer[mapcontainer].visible,tween(layer[mapcontainer].alpha,0);delayedcall(0.5,set(layer[mapcontainer].visible,false)) ,set(layer[mapcontainer].visible,true);tween(layer[mapcontainer].alpha,1) )" />

<!--bing地图-->
<layer name="mapcontainer" type="container" keep="true" visible="false" bgcolor="0xFFFFFF" bgalpha="0.5" align="righttop" x="10%" y="10%" width="80%" height="80%">
    <plugin name="map" keep="true" key="Amo-W07h63_9nBffUGVKzOi787vf7l1u6eDzMQ6URlwX0dwJKfQcEDzLDgfgTu08"  
        url="%SWFPATH%/plugins/bingmaps.swf"  
        alturl="%SWFPATH%/plugins/bingmaps.js"  
        align="leftbottom" x="0" y="0" width="100%" height="100%"  
        bgcolor="0x000000" bgalpha="0.5"  
        maptype="normal"  
        zoom="10"  
        onmapready="loadscene(); zoomToSpotsExtent();"  
        onmapmoved=""  
        onmapzoomed=""  >  
        <radar visible="true" dragable="true" size="100" zoomwithmap="false" headingoffset="90" alpha="0.5" fillcolor="0xFFFFFF" fillalpha="1.0" linecolor="0xFFFFFF" linealpha="0.0" linewidth="0.0" glow="true" glowcolor="0xFFFFFF" glowwidth="4" glowstrength="4" />  
        <maptypecontrol visible="true" anchor="righttop" x="2" y="2"  buttonalign="v"  />  
        <spot name="scene1" lat="40.123157" lng="116.573018" heading="+90"  active="true" onclick="loadscene(scene_1, null, MERGE, BLEND(1));" />
    </plugin>  
</layer>

猜你喜欢

转载自blog.csdn.net/m0_37285193/article/details/80414859
今日推荐