Google maps sharable link – iframe

Your Account / Forums / Easy FancyBox Pro / Google maps sharable link – iframe

Tagged: 

  • Author
    Posts
    • February 26, 2016 at 9:32 pm #6172

      Hello,

      I am having trouble getting my google maps sharable link to work with the iframe. I have downloaded and activated the fancybox pro plugin. Below is the code I am using.

      Map of historic properties in San Augustine County, TexasSan Augustine County Map

      Thank you,

      Ben Davis

    • February 26, 2016 at 9:32 pm #6175

      Hi Ben,

      Google Maps (like PayPal checkout) is one of those sites that have so called frame-break-out scripts running to prevent them from being embedded. If you wish to embed a Google Map, you’ll need to get the iframe embed code (same way as you got the link, just choose embedding option) … inside that iframe code, there is a URL that you need to extract. Copy the complete code snippet to a text file and find that URL in the src="..." part of the code.

      Copy that URL and use that to create your FancyBox iframe link.

    • February 26, 2016 at 9:32 pm #6176

      Also note that the map needs to be “Public” to be embedded like that…

    • February 26, 2016 at 9:32 pm #6179

      Whoa! It works! Thank you so much, Rolf!

  • You must be logged in to reply to this topic.