Forums | Mahara Community

Developers /
Embedded Google Maps doesn't load


Shen Zhang's profile picture
Posts: 87

26 September 2014, 14:16

Hi

It seems that our Mahara instance (version 1.8.3) doesn't work with the current Google Maps embedding code.

This is the iframe code that doesn't work:

<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d51076.702408957564!2d174.77783621953873!3d-36.85938341474421!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6d0d47e5be0cdaa5%3A0x482ea73d2dc5113e!2s120+Mayoral+Dr%2C+Auckland+University+of+Technology+-+City+Campus%2C+Auckland%2C+1010!5e0!3m2!1sen!2snz!4v1411697092955" width="600" height="450" frameborder="0" style="border:0"></iframe>

 

However, it seems work fine using the code from the classic Google Maps.

The following is the iframe code from the classic Google Maps:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.nz/maps?q=120+Mayoral+Dr,+Auckland+University+of+Technology+-+City+Campus,+Auckland,+1010&amp;ie=UTF8&amp;hq=&amp;hnear=120+Mayoral+Dr,+Auckland,+1010&amp;t=m&amp;z=13&amp;ll=-36.859383,174.777836&amp;output=embed"></iframe><br /><small><a href="https://maps.google.co.nz/maps?q=120+Mayoral+Dr,+Auckland+University+of+Technology+-+City+Campus,+Auckland,+1010&amp;ie=UTF8&amp;hq=&amp;hnear=120+Mayoral+Dr,+Auckland,+1010&amp;t=m&amp;z=13&amp;ll=-36.859383,174.777836&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>

 

Is this a bug?

 

Kind regards,

Shen

Dirk Meyer's profile picture
Posts: 425

02 October 2014, 8:17

Hi Shen,

there is a related discussion here. https://mahara.org/interaction/forum/topic.php?id=5122&offset=10

Looks like 1.10 has this fixed! https://bugs.launchpad.net/mahara/+bug/1323495

2 results