-
AuthorPosts
-
September 2, 2014 at 11:12 am #312192
Hi
I have been trying to get Magnific Popup to work but with google maps iframes with no luck.
I can open a image with the following code, but not iframe google maps. I have found you have modifidy other peoples function.php file to get youtube iframe videos working.
I have tried this and also tried editing it as well to luck.
https://kriesi.at/support/topic/youtube-video-not-working-in-ligthbox/#post-288867Google map example..
<iframe src=”https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d26641.42542802056!2d151.4388963!3d-33.418598749999994!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6b72ca14f00b74e5%3A0x5017d681632df40!2sWamberal+NSW!5e0!3m2!1sen!2sau!4v1409640314305″ width=”600″ height=”450″ frameborder=”0″ style=”border:0″></iframe>Could you please help me with the code to be able to open maps in Magnific Popup.
ThxSeptember 3, 2014 at 7:43 am #312682Hi khedrubje!
Google forbids opening google maps using lightbox but another user managed to make it work somehow using another lightbox plugin. Please refer to this link: https://kriesi.at/support/topic/open-link-in-lightboxiframe/
Regards,
IsmaelSeptember 3, 2014 at 12:44 pm #312792Thank you.
As my link above shows i have been using google maps in prettyphoto with no problems until you updated to magnific poipup which i would prefer to use now. I have enabled prettyphoto in the mean time while i try to get it to work.Can you share any other info please.
September 3, 2014 at 3:26 pm #312923Hey!
We don’t have any examples or instructions for that at the moment but as Ismael mentioned google has said ‘no’ on opening a map within an iframe without an api key.
Not sure why PrettyPhoto would be having no issues with the same code but this post has instructions for what you are looking for which is your best resource as we don’t: https://kriesi.at/support/topic/open-link-in-lightboxiframe/#post-283573
Regards,
DevinFebruary 19, 2015 at 2:13 pm #398902Hello
This works without any API Key :
<a href="https://maps.google.com/maps?q=1+Place+Giovanni+da+Verrazzano,+69009+Lyon,+France&hl=fr&iframe=true">Open Google map</a>
- This reply was modified 9 years, 8 months ago by pako69.
February 19, 2015 at 2:33 pm #398915 -
AuthorPosts
- You must be logged in to reply to this topic.