Suchergebnisse
Suchergebnisse 1-20 von insgesamt 21.
Greetings, I've finished one web based application's panorama module with krpano. Thanks for that. Now I am working on a mobile application that will include panoramic views. Therefore I will be using krpano in html5. I already have read the explanation about krpano Android OS problems. That happens to my application as well, sometimes cube's parts look divided from each other and sometimes it works fine. I can provide screenshots when I get back to office. I want to ask that if there any kind o...
I am trying to make 3d direction arrows, When I make hotspot flying (which is not documented I guess) it puts the hotspot on the center. When I set ath, atv, nothing changes. There is no x,y property. Only way is changing ox, oy. However changing ox and oy cannot change hotspot's rotatation origin. When I use rotate, hotspot still rotates around the center. Plugin is not a solution since it is not possible to set rx,ry,rz properties for plugins.
Yes I did check that plugin, however it only gives built in functions for php and doesn't export generic functionality for different purposes. Also I checked one of the old posts which was written by chinese (or japanese) user but it was embedded to flash. The problem is a person who knows nothing about actionscript cannot use that plugin for his requirements. Therefore I decided and managed to achieve that on serverside. It would be great if we had a plugin which will get bounding box start and...
Greetings, I am not familiar to the action script therefore this problem makes me confused. Right now working on a project and the last part is creating reports. For this I need to take some part (and the hotspot on that part) from the panorama as a picture and add it to the printable report. However with using javascript explicitly there is no way to get picture from panorama. Therefore, I am pretty hopeless :) Is there any kind of way, plugin or any other method in clientside to take pictures ...
I found the issue, the problem was in the next pano photograph hotspots were coming earlier than picture load. now problem is solved after binding hot spot loading function to events.onloadcomplete. Thanx for the help.
As an example these codes doesn't work right after krpano().call('loadxml(... row, after that when I check console I see spotTest hotspot is placed but point coordinates weren't: krpano().call("wait(LOAD)"); krpano().call("addHotSpot(spotTest)"); krpano().set("hotspot[spotTest].point[0].ath", 35); krpano().set("hotspot[spotTest].point[0].atv", 35); krpano().set("hotspot[spotTest].point[1].ath", 37); krpano().set("hotspot[spotTest].point[1].atv", 37); krpano().set("hotspot[spotTest].point[2].ath"...
Hello, I am trying to draw polygons after getting data from server (geometry points). When I try following rows it doesn't fire test() function: Test case: function test(){ console.log("fired"); } krpano().call("addhotspot(testhotspot)"); krpano().set("hotspot[testhotspot].onloaded","js(test())"); When I can exactly know if hotspot is loaded to put it's points or it's picture? If I try to put its points right after addhotspot() function with: krpano().set("hotspot[testhotspot].point[0].ath","22"...
Greetings, While hotspots are rotating with respect to center point, plugins can be rotated from top left corner. Is there a way to rotate plugin with respect to it's center point? Or is there a better way to do direction icons that will be always in user's vision? Best regards,
Thank you for the answers, For question 2, the only part for me is cropping some part of of the panorama main image and save it or hold to somewhere, canvas is not so important. Best regards,
Hello there, 1- Does krpano throws exceptions to javascript side? How can I catch krpano's exceptions from javascript (chrome/firefox console doesn't show any error or exception) 2- Is it possible to crop some part of the panorama image and paste it into html 5 canvas? 3- Is it possible to put "double click" event on hotspots? In documentation I could see on click on hover etc but double click is not possible? Best Regards,
if you are holding your data in text files or in database etc, in my opinion: 1- You can create a script to create xml dynamically up to your data, there are various ways to create xml strings and adding elements into them. 2- You can get your data and programmatically create panorama/hotspots/buttons or add panoramic pictures etc. I don't know action script much but even in javascript you can do it easily. I saw in some topics, people suggest action script because of performance benefits. Which...
Hello, I changed from 1.16.1 to 1.16.3 I tryed once more and it works correctly now. I am not sure actually if it was because of version or my mistake to be honest. But if anyone finds time to try in 1.16.1 my test is: var originalAth=krpano().get("hotspot[spot783d78f7-f3ca-44f4-adf7-e63e1a5727dc].point[0].ath"); console.log(originalAth); krpano().set("hotspot[spot783d78f7-f3ca-44f4-adf7-e63e1a5727dc].name", "spottestcase"); setTimeout(function(){checkTheChange();},2500); function checkTheChange...
Greetings, I want to change the id of hotspot with another id. I use this code (in javascript): krpano().set("hotspot[" + hotspotIdToBeChanged + "].name", "spot"+newUniqueId); A hotspot with newUniqueId can be created but It doesn't have the same properties of original hotspot, plus original hotspot stands still, therefore, I guess I am not successful to change the name of the hotspot. Is there a way to clone hotspot with another id/name or can I change the hotspot's name programmatically? Best ...
Thank you very much, Regards
Let's say my panoramic picture is width: 1600px, height:1400px I am capturing mouse.x and mouse.y -> 55,65 Now I go to left 200 degree in panoramic view I put mouse pointer to exactly same position on the screen and capture mouse.x and mouse.y -> 55,65 v and h values differ. However I cannot find out the position of my mouse on the 1600 x 1400 picture (for example like x: 1200px y: 600px) if at the middle top of picture v=90degree and h=0degree I guess I can convert these values with javascript ...
Hi there, I can get mouse.x mouse.y with respect to my looking direction, and h and v values. However I couldn't find a place to get the mouse positions's real position on the picture. mouse.stagex gives same value with mouse.x.
Thank you, I could manage creating polygonal hotspots and rectangles with listening mouse events, right now I am working on elliptical surfaces...
Greetings, There is so little documentation about krpano editor plugin. I am trying to make it possible to put polygonal hotspots by the user with using javascript. But the page about editor plugin is this: http://krpano.com/plugins/editor/ Could anyone tell me where can I find editor plugin methods to use them explicitly? like startDrawingPolygon or polygonEnds methods/callbacks etc. I think I am looking at wrong documentation, or was it meant to be embedded as it is and no explicit usage is al...
Zitat von »klaus.krpano« Hi, note - some browsers are closing the Flashplayer when using display=none on it - and when showing again, they will restart and with a new instance. Best regards, Klaus I see, thank you for the answer. After creating this post I realized that in Internet Explorer 9 and 10 when you try to hide the parent div it erases all the methods because of Internet Explorer's bug. Unfortunately, since I cannot enforce my customers to use different browsers (government foundation)...