-
|
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I have experience of using blob from azure blob storage together with sas token. I haven't used openlayers for pmtiles, but probably, you need to convert sas token to base 64 encoded string. The below is the function we encode sas token to base 64. https://github.com/UNDP-Data/geohub/blob/develop/sites/geohub/src/lib/helper/getBase64EncodedUrl.ts We are using this for COG file from azure blob to pass it to titiler. maplibre does work for pmtiles with normal sas token, I am not sure about ol, it might need to encode for ol too. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

Sorry, it was a CORS error on the azure blob storage and not with pmtiles. It is working fine.
JinIgarashi: Thanks for the suggestion. However, I am able to load the pmtiles file without base 64 encoding the sas token or the url. FWIW: