This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How can I embed a map?

0

Hi, i'm new here... I want to embed a map like the one on this page:

https://www.marktcom.de/veranstaltung/autohof-32457-porta-westfalica

I clicked on export and got a file map.osm. I don't know what to do now. I'm just creating a blog with wordpress. Thanks Melina

asked 01 Aug '19, 09:21

MelinaM's gravatar image

MelinaM
11112
accept rate: 0%

edited 01 Aug '19, 09:21


One Answer:

0

You can try like this:

When you are on www.openstreetmap.org On the right there is option "share" Click on it.

Find place on mape you want, zoom in / zoom out.

On the top you have "include marker" if you need that.

Then there is HTML. Click on it. Copy that HTML code and paste it in wordpress.

answered 01 Aug '19, 12:32

Chriss's gravatar image

Chriss
11112
accept rate: 0%

Please keep in mind that if you use this technique on a popular blog you could run into issues with the tile usage policy. At that point you would need to swap to a commercial provider or generate your own.

(02 Aug '19, 16:42) InsertUser

Source code available on GitHub .