Hi,
I am using the tour example provided with krpano and there is map plugin that uses some map points. In this example, when loading a panorama these actions are performed:
set(plugin[spotx].x,165);
set(plugin[spotx].y,71);
set(plugin[radar].x,165);
set(plugin[radar].y,71);
This code is then copy-pasted and adapted to match the coordinates of each point of the map.
Instead, I would like to do something like this:
set(plugin[spotx].x,get(plugin[spot1].x));
set(plugin[spotx].y,get(plugin[spot1].y));
set(plugin[radar].x,get(plugin[spot1].x));
set(plugin[radar].y,get(plugin[spot1].y));
This way, the values for the map spots are hard coded in only one place and I don't have to run all over the code if i want to change the location of one spot.
Unfortunately, it doesn't seem to work.
Any help please?