nrenner / brouter-web

Web client for BRouter, a routing engine based on OpenStreetMap
https://brouter.de/brouter-web/
MIT License
363 stars 69 forks source link

Extend support for custom layers #775

Open zod opened 1 year ago

zod commented 1 year ago

Currently it's only possible to add TMS or Overpass queries as custom layers. Some map tiles are only available as vector tiles (MVT) which brouter-web supports, but not for custom layers.

I made a simple mockup how the extended dialog could look like image

For some types (Overpass & GeoJSON) the overlay checkbox would always be checked, because they don't make any sense as baselayer. We could also allow to specify additional information based on the type (e.g. maxzoom for raster layers).