bfabiszewski / ulogger-server

μlogger • web viewer for tracks uploaded with μlogger mobile client
GNU General Public License v3.0
538 stars 85 forks source link

Support for other map providers #124

Closed mapl closed 4 years ago

mapl commented 4 years ago

Just a lousy enhancement request to add support for other map provider besides OpenStreetMap and Google Maps, where the user can actually set its provider of choice.

bfabiszewski commented 4 years ago

What other providers do you mean? Can you give an example?

Currently there is support for two map engines: Google Maps and OpenLayers. For OpenLayers engine user may add compatible XYZ map layers in µLogger configuration. There are many compatible free or commercial map tiles providers, like OpenStreetMap, OpenCycleMap, MapBox, Stamen, HERE etc. Some examples are listed here.

mapl commented 4 years ago

Well, as vector tiles, in opposite to high traffic raster tiles, are becoming more and more common. MapBox GL is something worth to take look at.

bfabiszewski commented 4 years ago

If you mean adding support for vector tiles I think this should not be difficult as OpenLayers engine supports it. The main issue would be to redesign the way of storing and adding layers from UI because we would also have to store information about layer format. Unless we could detect format from tile URL…

bfabiszewski commented 4 years ago

I made some tests. As adding vector tiles is not difficult, they require enhanced GUI for user to be able to add layers and styles. Also adding another engine is not an option now. It will not give much improvement, but will significantly increase maintenance tasks. I am closing it now. Maybe get back to the idea in future.