Forums | Mahara Community
Developers
/
Embedded Google Maps doesn't load
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&ie=UTF8&hq=&hnear=120+Mayoral+Dr,+Auckland,+1010&t=m&z=13&ll=-36.859383,174.777836&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&ie=UTF8&hq=&hnear=120+Mayoral+Dr,+Auckland,+1010&t=m&z=13&ll=-36.859383,174.777836&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
Is this a bug?
Kind regards,
Shen
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