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

How display on OSM on my website, markers taken from MySQL database?

0

Hi everybody,

on my website, I would like to display an OSM where the users can add markers via PHP form. The data are taken from MySQL database and displayed onto an HTML page. No need to edit the original maps. Step 1: User adds a location, giving an address, zip code, city, Step 2: I get the geo-coordinates from the address, Step 3: the map displays the information taken from MySQL database.

Is it possible with OSM? If so, how?

Thanks in advance,

Prisco

asked 03 Jul '18, 16:10

Priscos's gravatar image

Priscos
11112
accept rate: 0%

1

That sounds a bit like the "plotbrowser" example at https://switch2osm.org/using-tiles/getting-started-with-leaflet/ .

(03 Jul '18, 16:27) SomeoneElse ♦

Source code available on GitHub .