Is it possible to insert MAP shortcode in popup?
I have the necessity to insert map shortcode ( or map with lat -lon) in popup window. How I can do that? If I use standard popup shortcode - the map doesn't function in popup, perhaps because of JS. Is there any way to attach map in popup?
Comments
the shortcode for the map will not work, you have to paste an iframe instead.
I used this:
[button title="Button" link="#you-custom-id" target="_blank" class="" download="" rel="lightbox" onclick=""]
<div id="you-custom-id" style="display:none">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d387193.3059353029!2d-74.25986548248684!3d40.697149419326095!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c24fa5d33f083b:0xc80b8f06e177fe62!2sNowy+Jork,+Stany+Zjednoczone!5e0!3m2!1spl!2spl!4v1516615426125" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>