OSM in a Webpage like Maps.

I need to use a dinamic map in a web page. With maps by google it is possible using some script files.
I want use OSM, but I don’t know if it is possible or no.
Can you help me please?


Go to http://www.openstreetmap.org and find the place you want a map of. Then click the “Export” tab at the top of the page, and choose “Embeddable HTML”. That will give you code that you can add to your webpage, for a map in an iframe.

Or if you want to more fancy stuff with a slippy map, ie add more markers or tracks etc, then you can use OpenLayers. There’s some simple examples here, you can copy and paste the code to your webpage: http://wiki.openstreetmap.org/wiki/OpenLayers

Have a look at this website:


It’s a online generator for OSM slippy maps which you can then include in your own web pages. Complete with markers if you like. Just click on the “create map” tab, chose your map, fill in the form, and you’re done…

HTH, Philipp