Re:Show HN: Aldi's Price Map
by ayocado on Thursday February 15, 2024 @03:40AM
(#39380412)
Pretty sure I am not paying anything or using any API key :) Open Street Map basemap was too colorful and contrast with my color scheme was not very good in many parts of the map
[ Parent
| on HN ]
Re:Show HN: Aldi's Price Map
by statquontrarian on Thursday February 15, 2024 @04:45AM
(#39380789)
From what I can find, CARTO does not have a free map tile server. In other words, while it technically works, I think it's against their terms of service. They probably don't care if you're small, so I wouldn't worry about legal threats, but at some point the tile server might check the referer and break your app.
It looks like you can just use OpenStreetMap instead, although the resources are donated so there is no guaranteed Service Level Agreement: https://operations.osmfoundation.org/policies/tiles/
Re:Show HN: Aldi's Price Map
by wcedmisten on Thursday February 15, 2024 @12:55PM
(#39385896)
Hey ayocado, I have some experience with self-managed/self-hosted base maps. There are some modern tools that make the setup pretty easy (e.g. Protomaps, MapLibre) and you can still use a minimalist style similar to the CARTO one you have now.
If you're interested in switching over, feel free to shoot me an email and I can try to help!
Here are some demos [1][2] I've made without using any third-party map services. All open source! [3]
[1] https://wcedmisten.fyi/project/north-america-hospital-distan...
[2] https://wcedmisten.github.io/nextjs-protomap-demo/isochrone