4 ms·
What keeps you from using Leaflet https://leafletjs.com https://leafletjs.com with one of the free tile servers? https://wiki.openstreetmap.org/wiki/Tile_server
by niutech 8y ago
What keeps you from using Leaflet https://leafletjs.com https://leafletjs.com with one of the free tile servers? https://wiki.openstreetmap.org/wiki/Tile_servers https://wiki.openstreetmap.org/wiki/Tile_servers
It is a one-liner:
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(map)
- cube00 8y agoThis is what stops me: "OpenStreetMap data is free for everyone to use. Our tile servers are not." https://operations.osmfoundation.org/policies/tiles/ https://operations.osmfoundation.org/policies/tiles/
- rmc 8y agoIs that a big problem for you? The OSM operations working group is run by volunteers, on semi-donated hardware. They don't offer SLAs, they don't offer uptime guarantees. If you create an app that's (say) responsible for a 20% increase on load, they'll block you. If you're that popular buy a tile service from someone else.