Automatic Map (XML plugin)

  • Hi!
    I want to represent you automap XML plugin.
    Made for easy creating map for virtual tours.
    DEMO
    just add this code and map wil apear automaticaly:


    full list of available attributes:
    keep="true"
    editmode="false"
    edge="righttop"
    align="righttop"
    x="10" y="10"
    path="%CURRENTXML%/automap/"
    map="%CURRENTXML%/map_images/map.jpg"
    mask="%CURRENTXML%/map_images/mapmask.png"
    zorder="1"
    scale="1"
    alpha="1"
    radar_alpha="0.5"
    point_url="%CURRENTXML%/map_images/viewpoint.png"
    point_crop="32"
    onclick="switch(map[map1].scale,1,0.2); tween(plugin[map1].scale,get(map[map1].scale), 0.3);"
    viewpoint_auto="false"

  • One more thing...

    1) You can add more than one map in one tour. (for different levels for example)
    2) Add viewpoints automaticaly (from scene node attributes)
    3) Each radar can have own mask
    4) Each radar can be scaled
    5) Map own mask
    6) Map has EDIT MODE - shows X/Y and radar heading for current scene (easy to place viewpoints and radar direction)
    7) And this is only XML plugin (no swf plugins needed) HTML5 version coming soon

    It seems everything *thumbup*

    Almost forgot, here you can BUY this plugin.

    Andrey!

  • Any ideas how to activate the first viewpoint after loading has completed, i.e. the map is displayed for the first time? gotoscene(xy); afterbuildmap(); just didnt work for me ?!
    Thx for a respone - great job so far, the plugin is really usefull!
    Regards,

    Arndt

  • Yes that solved it - needs to be the very first action, even before the default startup action is called.. Thx for helping me out, now I can put a lot of maps online with this little problem gone...
    Nice support, thx!

  • The xml version already work with the ipad - only the radar beams look.. very special :( So I need to get rid of radar when viewed on non-flash devices.. What about the html5 update mentioned above? You´re on it yet?
    Kind regards,

    Arndt

  • Mhh after a hard day of trial-and-error I quit trying to get it going by myself. Can you think of a proper way to simply disable the radarbeams when client (isflash=false)? I tried to set radar_alpha to zero and played with the zorder.. Didn´t work for me :(
    I think most users of this plugin will need such a solution?
    Best regards,

    Arndt

  • Great support again, with the added switch I can now disable the (html5 non-working) radarbeams for iPad/iPhone with a simple line in automap.xml

    if(isflash, set(map[%1].radar_visible,true); );

    The map still shows on iPad and the viewpoints are active and functional, only the beams are not visible anymore..

    Thanks from a very content customer!

    Arndt
    *love*

  • Hi!

    I have another problem: How can I switch between for ex. 2 maps (for 2 floors)?
    Is there any "visible" parameter for map?
    Is there any option to auto-change the map according to data in scene node (auto_viewpoint)?

    simon

  • Hi!
    thanks abuethe *smile*
    SimonK - about two or more maps


    Just make few maps 'map1', 'map2', 'map3' (levels maps)
    And for example simple action code

    <action name="showhidemaps">
    if(%1 == "map1",
    set(plugin[map1].visible,true);
    set(plugin[map2].visible,false);
    set(plugin[map3].visible,false);
    );

    if(%1 == "map2",
    set(plugin[map1].visible,false);
    set(plugin[map2].visible,true);
    set(plugin[map3].visible,false);
    );

    if(%1 == "map3",
    set(plugin[map1].visible,false);
    set(plugin[map2].visible,false);
    set(plugin[map3].visible,true);
    );
    </action>

    In scene add this action to onstart event:
    If scene belongs to level3, code will be
    <scene name="sc1" title="sc1" onstart="showhidemaps(map3);">


    Hope it help, and regards

    Andrey *thumbup*

    PS - about auto-viewpoint, yes, plugin has this feature (look in readme.txt in package)

  • Hello,

    I tried to use this code to disable radarbeams in htrml 5 version: if(isflash, set(map[%1].radar_visible,true); );
    Unfortunately it didn`t work.

    I put it in like this:

    <action name="mapdefault">
    ...
    if(isflash, set(map[%1].radar_visible,true); );
    ...
    </action>

    Do I have to put it in another place, is there another document to change too, or what went wrong?

    Josh

Participate now!

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