Hitchwiki / hitchwiki

The Hitchhiker's Guide to Hitchhiking the World
https://hitchwiki.org
32 stars 9 forks source link

Mapbox vendor lock-in #148

Closed omelnyk closed 7 years ago

omelnyk commented 7 years ago

@simison, can we obtain our customized map tiles all at once from Mapbox and use them freely? Are there any major obstacles preventing us from self-hosting them, if the need arises?

simison commented 7 years ago

@omelnyk we can switch to any other tile provider easily, no prob. Thus it's not a vendor-lock. Indeed there's already OSM default map layers in there.

Just the problem with the most of the free tile providers is that they don't have https for free or/and their styles suck (OSM especially).

Self hosting this stuff might be a tad bit too much work.

simison commented 7 years ago

I actually already added backup OSM layer now to both HWMap-extension and HWLocationInput-extension. Basic OSM streets layer comes up when any of the Mapbox config fields (from settings.ini) is empty.

The problem pretty much any free alternatives to MapBox tiles is that they don't support https.

So it's good to keep door open away from MapBox (esp. for development), but use it nevertheless.

simison commented 7 years ago

I was testing https locally (you can now install the whole setup with self signed https), see the readme.

I figured that OSM tile-server I was using at Hitchwiki (//{s}.tile.osm.org/{z}/{x}/{y}.png) doesn't work with https but //{s}.tile.openstreetmap.org/{z}/{x}/{y}.png works. So even less of a vendor lock anymore. We can keep beautiful MapBox tiles and have this easy switch to OSM available.