Hi,
My first attempt at getting Bing maps to work and so far I can't get it to goto the lat and long. I have zoom set also, and it is not zooming on load, so all I get is the whole world when the map is activated.
The map comes up no problem so I can confirm my key is working. The Bing maps license is also working fine with no watermark. The tour is published online and all else is fine. All code is default from the krpano release 1.0.8.15 on 8/12.
http://www.360rama.com/flowhouse/tour.html
What am I missing?
Code
<skin_settings bingmaps="true" bingmaps_key="myKey_NotShown"
gyro="false" lat="13.720176844529918" lng="100.56796252727509" zoom="16" activespotenabled="false"
/>
...
<layer name="skin_map" state="hidden" url="" flash_url="%swfpath%/plugins/bingmaps.swf" html5_url="%swfpath%/plugins/bingmaps.js" visible="false" align="lefttop" width="100%" height="50%" x="0" y="0" zorder="1" lat="" lng="" zoom="1" bgalpha="0" maptype="satellite" onmapready="skin_addmapspots();">
<maptypecontrol visible="true" align="righttop" x="5" y="5" buttonalign="v" />
...
<action name="skin_addmapspots">
for(set(i,0), i LT scene.count, inc(i),
if(scene[get(i)].lat,
txtadd(spotname, 'spot', get(i));
txtadd(spotevent, 'activatespot(',get(spotname),'); loadscene(', get(scene[get(i)].name), ',null,MERGE,BLEND(1)); skin_updatescroll(); delayedcall(0.5,skin_showmap(false));');
copy(scene[get(i)].mapspotname, spotname);
addspot(get(spotname), get(scene[get(i)].lat), get(scene[get(i)].lng), get(scene[get(i)].heading), false, get(spotevent));
);
);
activatespot(spot0);
zoomToSpotsExtent();
</action>
Display More