Show Goole Maps in Floatbox Iframe.

Page: 1

Author Post
Member
Registered: Nov 2010
Posts: 71
Is there a way to get a Google Maps link to show up in a Floatbox Iframe. Using the code below, the contents of the Iframe show as blank, but the map is displayed when I click on "Open in a new window"'

<a href="https://goo.gl/maps/pNKLe" class="floatbox" data-fb-options="showNewWindow:true enableDragResize:true">Map</a>
Administrator
Registered: Aug 2008
Posts: 3382
Google, along with a lot of other organizations, don't allow their web pages to be presented within iframes on other sites. They do however provide a javascript API that can be used to embed their maps within the content of any site. There's an example showing the use of this API to present a map in a floatbox on the "Hi-Tech" tab of the demo page on this site.

Page: 1