Search found 6 matches

by nikolakakis.manolis
Wed Dec 11, 2019 3:31 pm
Forum: Pano2VR general
Topic: Custom Node Id in javascript
Replies: 3
Views: 220

Re: Custom Node Id in javascript

var currentnode = pano.getCurrentNode();
var currentnodedata = pano.getNodeUserdata(currentnode);
var currentcustomnodeid = currentnodedata.customnodeid;

At least I figured out not to waste time to post questions in this forum
by nikolakakis.manolis
Tue Dec 10, 2019 7:33 pm
Forum: Pano2VR general
Topic: Custom Node Id in javascript
Replies: 3
Views: 220

Re: Custom Node Id in javascript

Hello again (...)
I see the values in the output pano.xml file e.g customnodeid="seljavallalaug". Shall I parse this xml, or is there an existing function that can return it?
Thank you in advance (...)
by nikolakakis.manolis
Sat Nov 30, 2019 10:04 am
Forum: Pano2VR general
Topic: Custom Node Id in javascript
Replies: 3
Views: 220

Custom Node Id in javascript

Hello! How can I get the current panorama Custom Node id from javascript? Longer version of the question :p I want to be able to get the full url of specific panorama (eg https:// vrurl/index.html#CUSTOMNODEID,Pan,Tilt,FOV,Projection) at any time that will contain the Pan, Tilt, Fov and Projection c...
by nikolakakis.manolis
Fri Aug 02, 2019 11:05 am
Forum: Pano2VR general
Topic: SOLVED: Open the nearest panorama of given coordinates / Geolocation API
Replies: 3
Views: 458

Re: Open the nearest panorama of given coordinates / Geolocation API

Just posting this as an answer in case it is useful for someone else, or even better if someone with better background and understanding of coding than me, decide to polish this. I managed to check all the panoramas from the pano.xml and compare the distances to the user position (acquired from geol...
by nikolakakis.manolis
Sun Feb 17, 2019 10:37 am
Forum: Pano2VR general
Topic: SOLVED: Open the nearest panorama of given coordinates / Geolocation API
Replies: 3
Views: 458

Re: Open the nearest panorama of given coordinates / Geolocation API

Thank you for your fast reply but I failed to explain the functionality that I am looking for. I wish my english was better! I will try to elaborate a bit more (sorry for that!) :lol: As a side note I will add that I am now starting with Pano2VR, I was using Kolor PT pro. In a HTML5 output of a virt...
by nikolakakis.manolis
Sat Feb 16, 2019 7:16 pm
Forum: Pano2VR general
Topic: SOLVED: Open the nearest panorama of given coordinates / Geolocation API
Replies: 3
Views: 458

SOLVED: Open the nearest panorama of given coordinates / Geolocation API

Does somebody know or indicate a way to open a virtual tour panorama that is closest to a given point? The idea is to pass the coordinates as variables and the virtual tour will display the nearest panorama of the given point. The coordinates might come either as url params or from geolocation api f...