Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Holm 18 posts 37 karma points
    Oct 14, 2011 @ 02:22
    Martin Holm
    0

    Google Maps

    Hi guys

    Know this isn't exactly umbraco related, But I have some troulble getting google maps working with at jquery show/hide Toggle..

    Really hope somebody can help me with this one..

    you can se the page here if you press Kontakt.. Only the top left corner of the map is displayed. Do anybody know what causes this? and maybe have a solution ? :)

    Thanks

    Martin

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 14, 2011 @ 11:59
    Dirk De Grave
    0

    Martin,

    your post isn't really helpful atm, no links, no additional info, hard for people to help you out on this... are you using a package from the project section?

     

    Looking forward to more info

    Cheers,

    /Dirk

  • Martin Holm 18 posts 37 karma points
    Oct 14, 2011 @ 12:19
    Martin Holm
    0

    Hi, Dirk

    Sorry, my bad.. Forgot to put the link to my page on the post..

    http://bliqfang.dk/ is the page and if you press Kontakt you see what my problem is..

    Let me know if you need any additional info, codes etc.

    I am not using a package.. only the google Maps API and some jquery..

    Been working on it for 2 days now and are not getting anywhere..

    So any help would be great :)

  • Nigel Wilson 944 posts 2076 karma points
    Oct 17, 2011 @ 01:42
    Nigel Wilson
    0

    Hi Martin

    Nice piece of functionality.

    From a quick look it would appear you are setting the map to 100% width and height ?? 

    If this is correct, I wonder if you would be better setting an absolute pixel value of 500px for height and 960px for the width.

    Interestingly using Firefox and toggling Firebug does eventually make the map load as expected.

    Let me know how you get on as I love your idea.

    Cheers

    Nigel

  • Martin Holm 18 posts 37 karma points
    Oct 17, 2011 @ 13:36
    Martin Holm
    0

    Hi Nigel

    Thanks for the response positive response :)

    I have tried to give et an absolute pixel width and height, but with the same result..

    I also discovered that the map renders when you toggle Firebug.. That i very strange I think..

    But it makes me wonder if there is somehow i need to load the map after the div is toggled to be visible.. 

    I am not shure how i can do this.. Any ideas? :)

    /Martin

Please Sign in or register to post replies

Write your reply to:

Draft