Google maps sharable link – iframe

Home Forums Easy FancyBox Pro Google maps sharable link – iframe


This topic contains 3 replies, has 2 voices, and was last updated by  Ben Davis 2 years, 11 months ago.

  • Author
  • #6172

    Ben Davis


    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

  • #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.

  • #6176


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

  • #6179

    Ben Davis

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

You must be logged in to reply to this topic.

Site by Pharéo | Hosted on The Permanently Moving Network