You are not logged in.

Search results

Search results 1-5 of 5.

Friday, June 16th 2017, 7:50am

Author: sameer4

solved

i solved it by replacing Quoted krpano.call("openurl("http:\\www.google.com",_self);"; with Quoted krpano.call("openurl('http:\\www.google.com',_self);";

Thursday, June 15th 2017, 3:36pm

Author: sameer4

calling action defined in xml from objective c

i have Source code 1 <action name="click1" type="javascript"> var mx = krpano.get("mouse.x"); var my = krpano.get("mouse.y"); var pt = krpano.screentosphere(mx,my); krpano.trace(1, "mouse="+pt.x+"/"+pt.y); krpano.trace(1, "pano="+pt.x+"/"+pt.y); var uniqname = "hs" + Date.now(); krpano.call("addhotspot(" + uniqname + ");"); krpano.call("set(hotspot[" + uniqname + "].ath," + pt.x + ");"); krpano.call("set(hotspot[" + uniqname + "].atv, " + pt.y + ");"); krpano.call("set(hotspot[" + uniqname + "]....

Thursday, June 15th 2017, 8:14am

Author: sameer4

map coordinates from flat image to it's krpano sphere

i'm using screen to sphere to place hotspot at the points which i took from flat image.and it's not being placed at the right positions. i tried to find image 0,0 points and they are different, they aren't image start.now i do i map?

Wednesday, June 14th 2017, 2:30pm

Author: sameer4

map coordinates from flat image to it's krpano sphere

i need help.i'm displaying a panorama as a flat image in the app to get hotspot from user.now how do i map them to krpano generated panorama. screentosphere not working for me.

Tuesday, May 30th 2017, 1:13pm

Author: sameer4

can not add hotspot at mouse clicked coordinates

i'm trying to add hotspot at mouse clicked coordinates. i tried Source code 1 2 3 4 5 6 7 8 9 <action name="click1" > showlog(true); addhotspot(newspot); screentosphere(mouse.x,mouse.y,toh, tov); trace(toh); trace(tov); set(hotspot[newspot].url,q.mark.png); set(hotspot[newspot].ath,toh); set(hotspot[newspot].atv,tov); set(hotspot[newspot].onclick, removehotspot(newspot) ); </action> it's not working for me.but if i replace toh and tov with values then it works perfectly.what could be the problem...