20
Maps API (feddit.it)
submitted 2 years ago by [email protected] to c/[email protected]

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 new old
[-] [email protected] 20 points 2 years 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 2 years ago* (last edited 2 years ago)

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 2 years ago

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

[-] [email protected] 2 points 2 years ago* (last edited 2 years 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.

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

Open Source

37986 readers
109 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