Is there a way to embed/mashup the OpenStreetMap in your page (like the way Google Maps API works)? I need to show a map inside my page with some markers and allow dragging/zooming around, maybe routing. I suspect there would be some Javascript API for this, but I can't seem to find it. Searching gets me an API for access to raw map data , but that seems to be more for map editing; besides, working with that would be a heavy task for AJAX. asked 20 Sep '22, 13:34 dexter Spiekerooger |
Hi! Javacript packages like Leaflet and MapLibre allow you to create web maps really easily. If you check out their docs they'll give you a bunch of examples displaying Open Street Map! The first page on Leaflet shows you how to display an OSM map and add a marker. answered 20 Sep '22, 13:41 danhirst |
UMap and facilmap can do that. Search this site if you need more details, this question has been answered many times... answered 20 Sep '22, 17:50 H_mlet |