• dear forum

    we are using a camera_icon for looking to a view points of interest.

    is it possible to use more then 2 states using oncklick

    for example

    <layer name="kam" ......state="1" onclick="if (state == 1, action(move1), action(move2), action(move3), action(move4););"/>

    <action name="move1">
    lookto(-272.763,-90.000,75,smooth(100,50,20));
    set(state, 2);
    </action>

    <action name="move3">
    lookto(122.763,-90.000,75,smooth(100,50,20));
    set(state, 3);
    </action>

    <action name="move3">
    lookto(-272.763,-90.000,75,smooth(100,50,20));
    set(state,4);
    </action>

    <action name="move4">
    lookto(100.763,0.000,75,smooth(100,50,20));
    set(state,1);
    </action>

    wbr
    klaus

Participate now!

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