Dear All,
Please help i am working on project with large set of panorama and hotspot 1000+
please suggest how we can add search box for panoram and hotspot?
i checked Fuzzysearch but i think that only work for scene , please help .
Regards
Dear All,
Please help i am working on project with large set of panorama and hotspot 1000+
please suggest how we can add search box for panoram and hotspot?
i checked Fuzzysearch but i think that only work for scene , please help .
Regards
Hi,
as I know, there is no way to get the list of hotspots on other scenes.
that`s why the Fuzzy Search plugin doesn`t support searching on the hotspots.
but you can use the addItem action on the Fuzzy Search plugin to add the hotspots to the search engine manually.
maybe a code like this can helps you to automate "creating the hotspot`s list": (you can run it in the browser`s developer console)
var krpano = document.getElementById("krpanoSWFObject");
var time = 3000;
var hotspot_print = "";
scenes_list = krpano.get("scene").getArray();
scenes_list.forEach(function (key) {
setTimeout( function(){
console.log(key.name);
krpano.call("loadscene(" + key.name + ",null,MERGE,BLEND(1))");
setTimeout( function(){
hotspots_list = krpano.get("hotspot").getArray();
hotspots_list.forEach(function (key2) {
//console.log(key.name + " | " + key2.ath + " | " + key2.atv + " | " + key2.linkedscene + " | " + key2.url);
hotspot_print += "plugin[fuzzysearch].addItem('" + key2.tooltip + "','loadscene(" + key.name + ",null,MERGE,BLEND(1));lookat(" + key2.ath + "," + key2.atv + ");','" + key.title + "');\n\r";
});
console.log(hotspot_print);
}, 2500);
}, time);
time += 3000;
});
console.log(hotspot_print);
Display More
Thanks,
Hamid
Hi,
as I know, there is no way to get the list of hotspots on other scenes.
that`s why the Fuzzy Search plugin doesn`t support searching on the hotspots.
but you can use the addItem action on the Fuzzy Search plugin to add the hotspots to the search engine manually.
maybe a code like this can helps you to automate "creating the hotspot`s list": (you can run it in the browser`s developer console)Code Display Morevar krpano = document.getElementById("krpanoSWFObject"); var time = 3000; var hotspot_print = ""; scenes_list = krpano.get("scene").getArray(); scenes_list.forEach(function (key) { setTimeout( function(){ console.log(key.name); krpano.call("loadscene(" + key.name + ",null,MERGE,BLEND(1))"); setTimeout( function(){ hotspots_list = krpano.get("hotspot").getArray(); hotspots_list.forEach(function (key2) { //console.log(key.name + " | " + key2.ath + " | " + key2.atv + " | " + key2.linkedscene + " | " + key2.url); hotspot_print += "plugin[fuzzysearch].addItem('" + key2.tooltip + "','loadscene(" + key.name + ",null,MERGE,BLEND(1));lookat(" + key2.ath + "," + key2.atv + ");','" + key.title + "');\n\r"; }); console.log(hotspot_print); }, 2500); }, time); time += 3000; }); console.log(hotspot_print);
Thanks,
Hamid
Hello Hamid,
You always Rock, i have very little knowledge for pogramming. i tried reached somewhere.
additem is working fine , but above code is not working can you help more.
Two more questions
1. Search result got shifted right, when output of panotour project map open from left. In panotour google map open through bootstrap.
2. Streetview pegman and zoom in and out icon also disapper when we add fuzzysearch.
Please help in this also.
Best Regards
Sakshi
Hi Sakshi,
Do you use the plugin in the PTP?
Can you please send the tour Link in PM? I need to check the problem online
Thanks,
Hamid
Hi Sakshi,
Do you use the plugin in the PTP?
Can you please send the tour Link in PM? I need to check the problem onlineThanks,
Hamid
Nope i saw in some sample.
Show by freelancer . I send you sample link.
Regards
Sakshi
Hello Hamid,
please check below link
https://www.opsaop.com/360/?startscene=casa1-fachada[/size]
when i take this link to landscape fullscreen search result disappper please help
Regards
Hi,
as I know, there is no way to get the list of hotspots on other scenes.
that`s why the Fuzzy Search plugin doesn`t support searching on the [size=10]hotspots.
but you can use the addItem action on the Fuzzy Search plugin to add the hotspots to the search engine manually.
maybe a code like this can helps you to automate "creating the hotspot`s list": (you can run it in the browser`s developer console)Code Display Morevar krpano = document.getElementById("krpanoSWFObject"); var time = 3000; var hotspot_print = ""; scenes_list = krpano.get("scene").getArray(); scenes_list.forEach(function (key) { setTimeout( function(){ console.log(key.name); krpano.call("loadscene(" + key.name + ",null,MERGE,BLEND(1))"); setTimeout( function(){ hotspots_list = krpano.get("hotspot").getArray(); hotspots_list.forEach(function (key2) { //console.log(key.name + " | " + key2.ath + " | " + key2.atv + " | " + key2.linkedscene + " | " + key2.url); hotspot_print += "plugin[fuzzysearch].addItem('" + key2.tooltip + "','loadscene(" + key.name + ",null,MERGE,BLEND(1));lookat(" + key2.ath + "," + key2.atv + ");','" + key.title + "');\n\r"; }); console.log(hotspot_print); }, 2500); }, time); time += 3000; }); console.log(hotspot_print);
Thanks,
Hamid
Hello Hmaid i tried scrpit, but that not working
Display MoreHello Hamid,
please check below link
[size=10]https://www.opsaop.com/360/?startscene=casa1-fachada[/size]
when i take this link to landscape fullscreen search result disappper please help
Regards
Hello
did you find a solution to search hotspots?
I would need it too
Hello, what exactly do you need? Perhaps I can help you and write the necessary functionality.
I like search for hotspots and add list in fuzzysearch
Don’t have an account yet? Register yourself now and be a part of our community!