bertin icon indicating copy to clipboard operation
bertin copied to clipboard

User configurable tile styles / url templates

Open vorbei opened this issue 3 years ago • 0 comments

in https://github.com/neocarto/bertin/blob/main/src/layers/tiles.js the 'style' parameter only supports string type, and not user extendable.

for a custom style/url, please consider support Object parameter like

{
     name: "openstreetmap",
     provider: "OpenStreetMap contributors",
     url: (x, y, z) => `https://tile.openstreetmap.org/${z}/${x}/${y}.png`,
   },

vorbei avatar Jun 22 '22 07:06 vorbei