komoot / staticmap

A small, python-based library for creating map images with lines, markers and polygons.
https://www.komoot.com
Other
290 stars 65 forks source link

Feature Request: Access Token #30

Open spechtx opened 2 years ago

spechtx commented 2 years ago

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=*****

capoaira commented 1 year ago

You can simply write your token in the template