I want to add an OpenStreetMap (OSM) map to my website, but I’m not sure of the best way to do it. Can someone guide me on how to properly embed an interactive OSM map on my site? Should I use an iframe, Leaflet.js, or another method?
Open the OpenStreetMap website, on the right you will find 8 icons, choose the sixth one from top to bottom (Share), it will take you to another screen where you will find several options=
Link, Short Link and HTML.
1 Like
https://andygol.co.ua/switch2osm-mkdocs/using-tiles/
Here are some useful tips on how to use pre-rendered tiles and some JavaScript libraries.
Thanks A lot.