openstreetmap-ng
openstreetmap-ng copied to clipboard
Move to vector maps (MapLibre)
As "part" of #44, we definitely should switch to vector maps. They make maps more interactive, require less resources to run and give more customization options.
This would involve switching rendering system to Maplibre GL, which supports raster tiles that may come from other sources as other layers.
Vector tiles will also let us remove annoying "what's here"/"query features" thing.
Requirements:
- [ ] Set up a tile server, most preferably OpenMapTiles or find one that lets us use their resources for free
- [ ] Rewrite the entire map rendering system
- [ ] Let users upload their own custom styles
- [ ] Make objects clickable
MapLibre :rocket:
I'll do it... At least partially
@KonradowyPL Sure! If you have any questions, hit me up on Discord :-)
@KonradowyPL did you manage to write some code? If it's not yet ready, is there a public git branch to track progress? End of January or later, we should implement this feature. I can continue your work if you won't have time to finish it.
I have public branch named mablibre here
Finished Leaflet to MapLibre switch and video showcase coming soon. Currently there is no support for uploading custom styles, first we need a foundation for serving raw map data for vector files -- this is not something we should work on just yet -- let's first analyze the OSMF-sponsored vector tiles work when it's finished.
I have assigned bounties for the work done in this issue.