this post was submitted on 05 Sep 2023
20 points (91.7% liked)

Open Source

31218 readers
573 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I would like to create a custom map and put pins programmatically on locations based on data from our database. Is there some open source api which allows me to do this or should I use gmaps?

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 19 points 1 year ago

Leaflet is probably the most common JS library for embedding OpenStreetMap into a website. OSM also has a wiki page regarding other options.

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (1 children)

Welcome to the wonderful world of OpenStreetMap

But also please use a search engine? "Open-source map api" on DDG would have given you the answer pretty much right away

[–] [email protected] 12 points 1 year ago (1 children)

"LMGTFY" has its place, but this is a question that has many possible options and thus warrants discussion.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

If OP had done a modicum of research had specific questions, or was asking if their research was complete, maybe you'd have a point.