Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8893235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:11:42+00:00 2026-06-14T23:11:42+00:00

I can’t seem to get this to work, while I have been doing so

  • 0

I can’t seem to get this to work, while I have been doing so in the past, succesfully…

I’m trying to embed a Google Maps iframe in a web page. The iframe won’t load, showing an error message, saying:

Chrome, in console: Refused to display document because display forbidden by X-Frame-Options.

IE9, on the page: This content cannot be displayed in a frame

The steps I take are:

  • Go to google maps in the browser
  • Go the place I want to have embedded
  • Click the link icon
  • Copy paste the link that’s presented under the label ‘Paste HTML to embed in website’.

I’m using ASP.NET MVC4, running locally in IIS Express, but the same happens on the server in IIS7.

Strangely enough, when I just create a local HTML file and open that from the filesystem, I don’t have the problem.

When pasting the code in jsfiddle, it does seem to work.

Do I need to configure IIS or add something to my headers, or anything like that?

The HTML snippet

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.be/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Kortrijk,+Belgium&amp;aq=0&amp;oq=kortrijk,+bel&amp;sll=50.802805,3.279785&amp;sspn=0.351067,0.617294&amp;t=h&amp;ie=UTF8&amp;hq=&amp;hnear=Kortrijk,+West+Flanders,+Vlaams+Gewest&amp;ll=50.802897,3.280106&amp;spn=0.350496,0.617294&amp;z=11&amp;iwloc=A&amp;output=embed"></iframe>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:11:43+00:00Added an answer on June 14, 2026 at 11:11 pm

    Thanks to the sharp and insightful eye of a colleague of mine, we have found the issue.

    First of all it only seems to appear on the Belgian maps, http://maps.google.be, (afaik, obviously), and not on the http://maps.google.com.

    When calling the IFRAME content, google redirects the IFRAME content to the same URL, but with ?wmode=transparent appended.

    The browser does not allow multiple ‘?’ in a url, so it aborts the action.

    To fix:

    Use the same URL as generated by Google Maps, but just append the following:

    &amp;wmode=transparent
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone help me trying to find out why this doesn't work. The brushes
I have a jquery bug and I've been looking for hours now, I can't
Can someone maybe tell me why this is not working? I have used echo
Can someone please explain why this doesn't work? MyClass myClass1 = new MyClass(); object
Can find why i get this error can someone help? package Android.data; public class
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
Can you please take a look at this JSFIDDLE sample which I am trying
Can I order my users in the database, so I don't have to say
Can I change the field public virtual ClassOne ClassOne { get; set; } to
Can I authenticate with just Google account username and password instead of using OAuth?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.