Switching between multiple floor plans

Q&A about the latest versions
Post Reply
enertiv
Posts: 18
Joined: Thu Oct 11, 2018 10:49 am

Switching between multiple floor plans

Post by enertiv » Tue Jan 29, 2019 12:15 am

I have a tour with multiple floors with different floor plans for each floor. I want to be able to switch the floor plan in the map box without necessarily having to move nodes.

From looking at the skin.js file I see the function skin._floor_plan.ggChangeMap(<floor_plan_id>) and the floor plans are held under pano.Rh. Is there a public api way to get the current maps or do I have to parse the pano.xml

User avatar
Hopki
Gnome
Posts: 9512
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Switching between multiple floor plans

Post by Hopki » Tue Jan 29, 2019 5:11 am

Hi,
You can use a button to do this.
The action is: mouse click, maps, change map.
Regards,
Hopki

christoph
Gnome
Posts: 92
Joined: Mon Aug 20, 2012 3:01 pm

Re: Switching between multiple floor plans

Post by christoph » Tue Jan 29, 2019 12:48 pm

Hi!
At the moment there are no functions in the Javascript API for that.
But we plan to provide functions in Pano2VR 6.1, which give you all IDs of all maps in the project, and all maps for the current node.

Regards,
Christoph

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests