DJTommek / better-location

Telegram bot for parsing and generating various of location formats.
https://t.me/BetterLocationBot
MIT License
7 stars 2 forks source link

Migrate from Bing Maps to Azure Maps #139

Open DJTommek opened 3 months ago

DJTommek commented 3 months ago

BetterLocation is using Bing maps to generate static image of location(s) shown in BetterMessage if preview is enabled.

On 2024-05-21 I got an email (see below), that deprecates Bing maps and advice to migrate to Azure maps instead.

TODO

Nice to have

Create interface for providers, that will be generating static maps:

Email

image

DJTommek commented 3 months ago

⚠️ Limitation related to pins in static maps:

The S0 Azure Maps account SKU only allows five pushpins. Other account SKUs do not have this limitation.

Source: https://learn.microsoft.com/en-us/rest/api/maps/render/get-map-static-image?view=rest-maps-2023-06-01&tabs=HTTP