Suchergebnisse
Suchergebnisse 1-5 von insgesamt 5.
Thanks, that'd be nice - I can't really use a <plugin> due to not being able to set ath/atv. Looking forward to seeing this in the next version! :)
It is a hotspot, but setting accuracy in <hotspot> doesn't do the trick here. IE: <krpano> <hotspot name="label17" url="/layouts/trainstation/clients/tjs/panorama/plugins/sortable.js" alturl="/layouts/trainstation/clients/tjs/panorama/plugins/sortable.js" enabled="true" ath="-79" atv="9" keep="true" edge="lefttop" accuracy="0" todo="1" label="Pompen" id="7" subjects="{"87":"Kennis brandstoffen 1"}"/> </krpano> Also tried using accuracy="1" Still blurry however. Hotspot files are included via an ...
I'm creating a JS plugin for my Panorama. However, text appears to be rather blurry sometimes when I rotate my pano (Safari, Mac). I have found the cause, it's due to the webkit-transform values not being rounded. IE: webkit-transform: translate(217.09142528458045px, 225.4742243902969px) I tried doing a Math.round around the WebKitPoint's in the krpanoiphone.js file without any luck (the values just weren't being rounded). Maybe that was the wrong place to do so, but the code is a little hard to...
Hey Andrey :) I knew about keep false, which indeed does the trick with removing the hotspot when I change scene, however when I come back to the scene where I added it, it's also still disappeared (I want it to be kept, but only for that current scene). Cheers, Sam
I have a xml with various scenes and hotspots. I currently have functionality to add hotspots dynamically. However, how can I have it so that my dynamically added hotspot stays in the scene I added it to, so that when I go to a different scene, I can't see the hotspot, but when I go back it's there again? Sample action that I'm currently using: Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 <action name="addlocation"> removelocation(get(location)); removehotspot(get(location)); addhotspot(get(location)...