![]() Then one morning earlier this year, I woke up with a simple idea: map each OpenStreetMap element directly to the features that appear in every tile that it touches, then group those features into tiles. The problem of generating map tiles for the world continued to nag me. I went with Stadia Maps, who have been fantastic and I highly recommend to other developers. Luckily, there were other map data providers besides Mapbox with hosted plans that fit into my budget: MapTiler (the company that supports OpenMapTiles) and Stadia Maps. OpenMapTiles is similar, but takes over 100 days to pre-process the planet or an expensive cluster of machines. ![]() This kept routing costs well under my budget of what the small desktop ad on the site brings in per month.įor the actual map tiles to show in MapLibre though, there was nothing available like GraphHopper. Luckily, I found GraphHopper, a high-performance open-source routing engine which lets you pre-process OpenStreetMap data for the planet in less than 12 hours, then self-host an API that serves routing requests. On The Go Map uses routing data every time you click or tap, so any hosted option where a company charges for X requests per month would have been too expensive. Earlier this year, I helped the new MapLibre project get started to ensure that apps like On The Go Map will continue to have an open-source vendor-neutral mapping library alternative. But, last December Mapbox relicensed Mapbox GL as commercial software that you need to pay to use with any data. The library was free and open source, maintained by Mapbox which only charged a fee to use their data in the tool. On The Go Map used Mapbox GL to render the map you see when you visit the page.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |