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

How to embed map in website with marker for geocoded address?

0

Hi, everyone.

Is there a way to embed a location using the human readable address instead of co-ordinates? My website has a function that builds google map embed code around any given addresses from a database. I want to switch away from google and use OSM, but I rely on this functionality and cannot rebuild the code because it would break other websites that depend on it.

Since OSM won't allow me to embed the page I see when I am searching for a location, I can't see a way to make this work.

asked 08 Apr '21, 15:04

OpenRoadMedia's gravatar image

OpenRoadMedia
11112
accept rate: 0%

converted to question 08 Apr '21, 15:57

TZorn's gravatar image

TZorn
12.3k764225

Source code available on GitHub .