Skip to content
Discussion options

You must be logged in to vote

RasterSource is for when you have a URL serving image tiles, like https://a.tile.openstreetmap.org/{z}/{x}/{y}.png.

For just an arbitrary image not necessarily pre-formatted as tiles, you'll want ImageSource, coming in the next release. You can try it out today by using the snapshot builds.

I don't think we've tested ImageSource with base64 images, but if it works with MapLibre Native, it should work. If MapLibre Native doesn't support base64 images, you can also provide a Bitmap.

If/when you try it out, do report back on whether a base64 url works.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@jm1049
Comment options

@jm1049
Comment options

@jm1049
Comment options

@sargunv
Comment options

@jm1049
Comment options

Answer selected by jm1049
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants