komoot / staticmap

A small, python-based library for creating map images with lines, markers and polygons.

Home Page:https://www.komoot.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Access Token

spechtx opened this issue · comments

Hi there,

it's a great library! Thank you for making it available.

It would be helpful, if the library would accept access tokens for tile servers like:
https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.******
https://api.maptiler.com/maps/{z}/{x}/{y}.png?key=*****

You can simply write your token in the template