OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

A fix has been applied to the login system for the forums - if you have trouble logging in please contact support@openstreetmap.org with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2017-10-04 08:43:54

Correcaminos604
New Member
Registered: 2017-10-04
Posts: 1

Include OSM iframe en website

Apparently the current iframe code proposal is outdated and should now consider httpS...

Currently, the ouput is <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.openstreetmap.org/export/embed.html?bbox=......&amp;layer=mapnik" style="border: 1px solid black"></iframe>

Correct coding would be:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=.....&amp;layer=mapnik" style="border: 1px solid black"></iframe>

It is now working for me but I took some time with testing and so on!

Offline

#2 2017-10-10 17:25:25

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 2,423
Website

Re: Include OSM iframe en website

Correcaminos604 wrote:

Apparently the current iframe code proposal is outdated and should now consider httpS...

Where did you found this proposal?

Offline

Board footer

Powered by FluxBB