Best method for custom map navigation?

  • I have a map of a new park where I intend to shoot a tour sequence. I'd like to use the map as the main tour navigation. Nothing too fancy - just the map with a bunch of clickable spots to navigate to the other panoramas.

    What's the easiest way to do that ? I'm thinking just to drop the whole thing into Flash, include some onclick or onrelease events that load the relevant panorama xml files, then export from Flash as a single swf file and use that as a plugin.

    Does that sound the easiest method ?

    Any thoughts appreciated.

  • I did this map using krpano code and xml files:

    National Space Cente

    At the beginning I tried to do it using flash but I realized that I had to type a lot and the chances that something were wrong (and it was wrong) were bigger.

    The xml file looks quite intimidating xml file but believe me, it is the same thing copied and pasted 35 times plus some minor changes *smile*

    In my case using xml files worth it as because of it's simplier to type and easier to read.

  • Hi,

    both ways are possible, via Flash or via XML

    Zitat

    The xml file looks quite intimidating xml file but believe me, it is the same thing copied and pasted 35 times plus some minor changes *smile*

    here some small hints to reduce the xml code lines and make it easier to change:

    instead of repeating always the same code with different attributes,
    like here from your xml:


    you could create a action that creates dynamically the plugins and sets the attributes:

    and then call just this action a serveral times:

    Code
    <action name="setup_thumbs">
      action(create_thumb, exploring_the_universe, 02_exploring_the_universe_2.xml, -40, -144, -86, -300);
      action(create_thumb, the_planets_1, 03_the_planets_1.xml, 39, -136, -7, -292);
      ...
    </action>

    best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!