ygbr / mapsnap

Apple MapKit Snapshots on Python

Home Page:https://mapsnap.ygor.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Returns only "Not Authorized"

LucaMueller1 opened this issue · comments

Hi,

it seems like even the simplest example is not working anymore:
MapSnap(_key=<key>,teamId=<team_id>,keyId=<keyId>,center=[-21.208392, -47.788517])
This returns "Not Authorized".
I have tried out implementing the whole thing my own and encoding the center parameter as center=51.208392,+47.788517 seems to work. Url-Encoding the comma does not seem to work. I also can't seem to find any info on the official documentation on this. Do you have an idea on why this fails?

Ok, actually this is due to a bug in Visual Studio Code (microsoft/vscode#144898). Everything is working fine when copying the generated url.