Google maps sharable link – iframe

Home Forums Easy FancyBox Pro Google maps sharable link – iframe

Tagged: 

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

  • Author
    Posts
  • #6172

    Ben Davis
    Participant

    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

  • #6175

    RavanH
    Keymaster

    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

    RavanH
    Keymaster

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

  • #6179

    Ben Davis
    Participant

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

You must be logged in to reply to this topic.