Displaying BLOB as an imagery provider

Hello Gurus,

I was wondering if there was a way to get an image in a blob format and use the blob as a SingleTileImageryProvider (or something that I can display as a rectangle). I usually can get images using the url, but for caching purposes I need to store the image.

Thank You,

erj

Hi erj,

You should be able to construct a Blob URL and hand that off to SingleTileImageryProvider:
https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL

Kevin