Copied to clipboard

Flag this post as spam?

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


  • Tom Maton 387 posts 659 karma points
    Jul 28, 2009 @ 14:28
    Tom Maton
    0

    Google maps datatype not displaying on web?

    Hi All,

    I have this weird issue with the Google Data Type.

    I have installed it no problem and it works in the editor no problem but when I go to the web all I get displayed is the longitude, latitude and zoom level but know map.

    I have followed the steps Darren has specified here but still not working.

    Any help much appreciated.

    Thanks

    Tom

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jul 28, 2009 @ 14:45
    Darren Ferguson
    0

    Hi Tom,

    Is the page available on a public facing site.

    I'd need to see it to debug this.

  • Tom Maton 387 posts 659 karma points
    Jul 28, 2009 @ 14:59
    Tom Maton
    0

    Hi Darren,

    not at the moment currently in dev.

    Is there anything in particular you need to see?

    I can send over a copy of the rendered html code?

    Tom

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jul 28, 2009 @ 15:14
    Darren Ferguson
    100

    Tom: I'll have a look at the HTML. Contact me with this form http://www.fergusonmoriyama.com/contact.aspx

     

     

  • Tom Maton 387 posts 659 karma points
    Jul 28, 2009 @ 15:50
    Tom Maton
    0

    This has been sorted,

    the issue was, I was missing the following within script block:

    var fm = {};
    fm.maps = new Array();

    Thanks again Darren

     

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jul 28, 2009 @ 15:54
    Darren Ferguson
    0

    and a closing } I'll try and update my blog..... :)

     

  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    Jul 28, 2009 @ 17:46
    Sebastiaan Janssen
    2

    @Darren, yeah I noticed the missing things, but managed to fix them :-)

    For a live running example of which to steal the code have a look at: http://cultiv.nl/demo
    The JS is available at: http://cultiv.nl/scripts/maps.js

    What I had to add was the surrounding document ready function, IE was not happy without it:

    $(document).ready(function() {

    .. maps code
    }
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies