0 Replies Latest reply on Jan 6, 2014 4:12 PM by 20th Anakin

    im having trouble with the google map on my webpage(please help I need this for a client)

    20th Anakin

      The problem im having is that the google map will not start at the target address when I place the code for it in creationcomplete. It only loads properly  when I place the code in a trigger on the timeline . Although it loads slow when in a trigger

       

      this is the code im using in the creationcomplete and in the trigger.

       

      var container = sym.$("container");
      var map = '<iframe width="'+container.width()+'" height="'+container.height()+'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=7120+Boul+St+Laurent,+Montrea l,+QC,+Canada&aq=0&oq=7120+boul+st&sll=45.534114,-73.617124&sspn=0.006907,0.016512&ie=UTF8 &hq=&hnear=7120+Boulevard+Saint-Laurent,+Montr%C3%A9al,+Communaut%C3%A9-Urbaine-de-Montr%C 3%A9al,+Qu%C3%A9bec+H2S,+Canada&t=m&z=14&ll=45.534114,-73.617124&output=embed"></iframe><br /><small><a href="https://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=7120+Boul+St+Laurent,+Montr eal,+QC,+Canada&aq=0&oq=7120+boul+st&sll=45.534114,-73.617124&sspn=0.006907,0.016512&ie=UT F8&hq=&hnear=7120+Boulevard+Saint-Laurent,+Montr%C3%A9al,+Communaut%C3%A9-Urbaine-de-Montr %C3%A9al,+Qu%C3%A9bec+H2S,+Canada&t=m&z=14&ll=45.534114,-73.617124" style="color:#0000FF;text-align:left">View Larger Map</a></small>'
      container.html(map)

       

      this is what it looks like when I place the code in creationcomplete

       

      map img 1.jpg

       

      you see the map is thier but it doesnt start at the target. It doesnt start at the right address

       

       

      This is what the map looks like when I place it in a trigger on the timeline

       

      map img 2.jpg

       

      you see it loads correctly on the target address.

       

       

      please help me figure out how to solve this problem I need this for a client

       

       

       

       

      this is the download for my site

       

      https://www.dropbox.com/s/5mtq1medqd1bh5w/storewebsite2.zip