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 in my website

1

how can i embed a map in my website

asked 13 Aug '11, 08:56

Sfax%20Mapper's gravatar image

Sfax Mapper
30111
accept rate: 0%


One Answer:

5

There is a collection of possibilities listed in the OSM wiki at Deploying_your_own_Slippy_Map, so have a look at each framework there.

The easiest way is to use the 'sharing' sidebar on the right on the main osm.org site, there choose embeddable HTML.

answered 13 Aug '11, 09:07

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

edited 25 Aug '18, 22:26

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

-1

bad answer. Can NOT embed this way

(23 Aug '18, 16:27) novw
1

@novw: okay, and why not? What does not work? Did you mean the "export" feature as was referenced in the second paragraph of the answer? I have updated this to be correct according to the current website design.

(25 Aug '18, 22:22) aseerel4c26 ♦

Source code available on GitHub .