3 ms·
If you want to try your hand at self-hosting - which unfortunately still comes with a steep learning curve - try: https://switch2osm.org/ https://switch2osm.org
by codemusings 8y ago
If you want to try your hand at self-hosting - which unfortunately still comes with a steep learning curve - try: https://switch2osm.org/ https://switch2osm.org/.
It is possible to simply reuse OpenStreetMap's TMS with OpenLayers or Leaflet (both JS Frameworks) but their service is rate limited for obvious reasons.
Which means you need to decide depending on your use case. It sounds though like it's a core feature of your App.