There is a panorama created on google maps https://goo.gl/maps/K8KvJ I'm trying to open it on the site in the pop-up window of the Jquery ColorBox plugin. In response, I get an error

Refused to display 'in quotes The URL of the map is' in a frame because it is set to 'X-Frame-Options' to 'SAMEORIGIN'.

As far as I understand, you need to transfer some additional header to open the map in this way (a post with a similar problem on StackOverflow https://stackoverflow.com/questions/6666423/overcoming-display-forbidden-by-x-frame-options ). But how to do this by opening the page in jQuery ColorBox?

    1 answer 1

    CORS settings prohibit the display of a page in an iframe on pages of a third-party domain This is governed by the headers of the server that gives the cards.

    Such a decision is made in order to protect or protect against inappropriate use of content on the site.

    The solution is to use the Google Maps API Street View feature (you will need a developer key, the number of impressions will be limited depending on the status of the developer).