var panos = [
{ id:"pano22" , name:"Bedroom", description:"OG-P1", thumb:"./indexdata/_2_nd_fl_22/thumbnail.jpg" },
{ id:"pano23" , name:"Corridor", description:"OG-P2", thumb:"./indexdata/_2_nd_fl_23/thumbnail.jpg" },
{ id:"pano275" , name:"Entrance", description:"OG-P3", thumb:"./indexdata/entrance_275/thumbnail.jpg" },
{ id:"pano20" , name:"Entrance", description:"EG-P1", thumb:"./indexdata/_1_st_fl_20/thumbnail.jpg" },
{ id:"pano21" , name:"Entrance by night", description:"EG-P2", thumb:"./indexdata/_1_st_fl_21/thumbnail.jpg" },
];
360-compunics-com-ni wrote:A quick solution would be to just remove the definitions of duplicate/multiple panos from the "YourProject.html"-file:
- Code: Select all
var panos = [
{ id:"pano22" , name:"Bedroom", description:"OG-P1", thumb:"./indexdata/_2_nd_fl_22/thumbnail.jpg" },
{ id:"pano23" , name:"Corridor", description:"OG-P2", thumb:"./indexdata/_2_nd_fl_23/thumbnail.jpg" },
{ id:"pano275" , name:"Entrance", description:"OG-P3", thumb:"./indexdata/entrance_275/thumbnail.jpg" },
{ id:"pano20" , name:"Entrance", description:"EG-P1", thumb:"./indexdata/_1_st_fl_20/thumbnail.jpg" },
{ id:"pano21" , name:"Entrance by night", description:"EG-P2", thumb:"./indexdata/_1_st_fl_21/thumbnail.jpg" },
];
In this example, remove 2 of the 3 lines containing "Entrance" as part of the panoname.
It is also possible to restrict the search function programatically to a groupid or groupname, contact me at any time if you would like such customization service.
Users browsing this forum: No registered users and 0 guests