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

    the embeded google map wont display properely on my page (please help need for a client)

    20th Anakin Level 1

      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,+Montreal,+QC,+Canada&aq=0&oq=7120+boul+st&sll=45.534114,-   73.617124&sspn=0.006907,0.016512&ie=UTF8&hq=&hnear=7120+Boulevard+Sain  t-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&output=embed"></iframe><br /><small><a href="https://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=7120+Bo   ul+St+Laurent,+Montreal,+QC,+Canada&aq=0&oq=7120+boul+st&sll=45.534114   ,-73.617124&sspn=0.006907,0.016512&ie=UTF8&hq=&hnear=7120+Boulevard+Sa  int-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>'


      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 so that it will work properly in creationcomplete I need this for a client





      this is the download for my site