[openstreetmap/openstreetmap-website] When downloading image by "Share", allow other map styles with static image APIs (PR #4973)

David Tsiklauri notifications at github.com
Thu Jul 11 14:47:36 UTC 2024


Hello @gravitystorm, I am interested what do you think about this issue. When user will download an image with Cycle Map or Transport layer, it will call `https://tile.thunderforest.com/static/{style}/{lon},{lat},{zoom}/{width}x{height}{scale}.{format}?apikey={apikey}` as indicated on [Thunderfores - Static Maps API](https://www.thunderforest.com/docs/static-maps-api/). Image generation requires one api call. ApiKey is the same as in the tiles request. In terms of security, API key is shown as query parameter both in tiles and image generation requests.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4973#issuecomment-2223133876
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4973/c2223133876 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240711/96487cc1/attachment.htm>


More information about the rails-dev mailing list