Bug in krpano 1.19-pr3 and 1.19-pr4 bing spot styles

  • dear forum, dear klaus
    --
    as i wrote in this thread ---bing spot style not found after update to 1.19.3
    there is a bug in the new krpano 1.19- pr3 and 4

    to get sure i used the krpano example "scenes-with-bingmaps" and added a simple style to the mapspots like this

    .........
    <spotstyle name="mapspot1" url="vtourskin_mapspot.png" activeurl="vtourskin_mapspotactive.png" edge="bottom" x="0" y="10" scale="0.5" />
    <!-- map spots -->
    <spot name="scene1" style="mapspot1" lat="47.60064458005677" lng="16.62461042404176" heading="+90" active="true" onclick="loadscene(scene1, null, MERGE, BLEND(1));" />
    <spot name="scene2" style="mapspot1" lat="47.59582263650143" lng="16.61809265613557" heading="+155" onclick="loadscene(scene2, null, MERGE, BLEND(1));" />
    <spot name="scene3" style="mapspot1" lat="47.58584924485768" lng="16.63300573825835" heading="-127" onclick="loadscene(scene3, null, MERGE, BLEND(1));" />

    this works as it should with krpano 1.18.3

    after updating to 1.19-pr3 and also with the 1.19-pr4 a error message like this

    INFO: krpano 1.19-pr4 (build 2016-04-07)
    INFO: Internet Explorer 11.0 - WebGL
    INFO: Registered to: klaus karnutsch
    ERROR: plugin[map].spot[scene1] - style not found: mapspot1
    ERROR: plugin[map].spot[scene2] - style not found: mapspot1
    ERROR: plugin[map].spot[scene3] - style not found: mapspot1

    appears

    ps.: if spots are added with .....addspot(name, lat, lng, heading, active, onclick, onhover, onover, onout)..... the spot styles were found correctly

  • thank you klaus

    after changing .....<spot name="scene1" style="mapspot1" ..... to <spot name="scene1" spotstyle="mapspot1"

    every thing works ok.


    but now i have found a other problem after updating to 1.19...

    it seems thet there is a problem with parent direktory. for example

    <include url="../../global/gmap_standart.xml" /> works fine under 1.18
    but after updating there comes an errormessage ...xml not found error 404

    wbr
    klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!