"show/hide map" troubles on iPad

  • Hello there,

    I made a tour with map and and a show/hide button for the map.
    When there's only one level, no problem.
    When more levels are involved the following happens (most of the time) :

    - after I changed level, using the hotspots or the level indicators on the left, I can hide the map but most of the times I can't get it back.
    - I see that the images show/hide map are changing though.
    - With the map active (but not visible),I go back to level 0, and there map 0 appears..
    - But once the map has failed to come back it won't stop

    Here is the project : http://www.immo-virtueel.be/360_cam_d/

    Does someone has an idea what this could be ?
    see script below

    THANKS !

    =servaas=


    map.xml

    related parts out of interface.xml :

  • i just was quick looking @ your code and maybe this will do some change?

    you have:

    Code
    <plugin name="showhidemap" url="%SWFPATH%/images/plan_verberg.png"
    			onclick="toggle_map()" align="topright" keep="true"
    			zorder="101" children="false"
    			alpha="1.0"

    maybe this is better? onclick="toggle_map();"

    *question*

    Hope it helps

    Tuur *thumbsup*

  • Hi,

    I have tested your link too several times (on the iPad of course),
    but I'm also not sure what you mean... the tour seems to work correctly...

    maybe try adding 'trace' outputs at particular steps to be able to follow and analyze what is happening...

    best regards,
    Klaus

  • Hello Klaus,

    Thanks for you reaction !

    Strange..
    I tried on several iPad's and almost each time the problem appears.
    - After changing level, often the map doesn't come back after been hidden..

    But as you guys don't have this problem.. maybe I should blame the belgian network *smile*
    (same problem offline though...)

    Anyway, I gonna look how to add 'trace' outputs, so maybe I'll be back with a 'how to' questions *wink*

    Cheers !
    =servaas=

  • *cry* strange issue again..

    - plan is ok now
    - but when I open the Photo Album it act weird on the iPad... *blink*
    http://immo-virtueel.be/360_cam_beta/

    per exemple:
    - when tapping on the arrow next to the picture it thinks that I'm clicking on the map in the tour. So the slideshow doesn't react.
    (if I hide the map before opening the album, the arrow next to the picture does work..)

    - when tapping on close, it thinks that i'm tapping on the image at the right bottom on the tour.
    So nothing happens.

    So to me it's like the buttons in tour are 'in front of the lightbox'.

    Before the update the photo album worked perfect : see here

    What have I done to 'update' ?
    I my tools to create this virtual tours I've replaced the swf en js files by the new ones.


    Is there a setting that I should change in my script ?

    Thanks again for helping me out *unsure*

    UPDATE : I have this problem on the iPad2. On the iPad1 this doesn't happen... *huh*

    Cheers,
    =servaas=

  • I also had some problems in a test project with the latest update.
    Action overflows, wait problems in actions again..
    Maybe there is some?

    Did you look to the z order of the lightbox?

    *question*


    Tuur *thumbsup*

  • Hello Tuur,

    Thanks for your reaction.

    This is the code to open the lightbox :

    Code
    <plugin name="foto_onder" url="%SWFPATH%/images/foto.png" keep="true" x="310" y="0" align="topleft" zorder="102"  style="button_style"
    		onhover="show_tooltip('open de fotogalerij - ouvrir la gallerie photo')"
    		onclick="js(openPopup(gallerij2/index.html))"
    	/>

    Don't know if I can change the zorder ?

    =servaas:

  • Hi,

    about the problem with the overlaying html element - this is a part of the distorted hotspots problem, that was addressed in the 1.0.8.15 version:

    The safari browser doesn't correctly respect the html dom z-index settings for detecting the clicks, it give more priority to the CSS 3d transfrom deep sizes. To fix that the overlayed html element would need to moved to 'front' also via CSS 3d transforms.

    Try adding this css to the html container of your photo album:

    Code
    style="-webkit-transform:translateZ(+2000000000000px);"

    Action overflows, wait problems in actions again..

    Sorry, but I'm not aware about action overflow or wait bugs!
    Please report bugs/problem if you found ones, I want to release a as-bug-free-as-possible version of course .

    Best regards,
    Klaus

  • Hello Klaus,

    sorry for disturbing again..
    But can you tell me in which file I should add this code....? *confused*

    I suppose somewhere in the index.html of the photo album ?
    This is the content at this moment :

    I've tried to put it on every possible place mais no succes..

    Is this the page ?

    You can download the content of the gallery map here
    (I've deleted the pictures to make it lighter)

    Thanks a ton in advance for your advice !
    =servaas=

Participate now!

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