Radar plugin positioning on map

  • Hi everyone!

    Total newby without any coding experience whatsoever here!

    I have a tour with 4 panos and 4 spots positioned in a map representing the position of each pano.


    I have gotten the radar plugin to work, but for the life of me can not get the radar to change position to the pano you are currently viewing.

    If someone could point me in the correct direction I would be immensely grateful!


    This is what I have in my .xml at the moment.

    Thank you very much!

  • I'm far from an expert, but this is what I found in my 'old' code.

    Code
    <!-- move the radar -->
    		txtadd(activespot, spot_, get(panoramas.current));
    		set(plugin[radar].visible, false);		
    		delayedcall(0.01, 
    			copy(plugin[radar].parent, activespot);
    			set(plugin[radar].visible, true);
    			copy(plugin[radar].heading, floors.floor[get(panoramas.pano[get(panoramas.current)].floor)].spot[get(panoramas.current)].heading);
    		);

    and the heading setting

    Code
    <spot name="scene_kitchen" x="255" y="285" heading="90" />"

    Maybe it might help.
    S

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!