Open radekdob opened 1 week ago
Hi, I need to load many images into map in order to display layer as symbol with custom image source.
Currently I load them on mapLoad event with the following sequence:
mapLoad
map.loadImage(url)
map.addImage(key, addedImage.data)
wrapped inside Promise.all(...).
Promise.all(...)
I wonder if there is other more performant way of doing it, any ideas?
Thanks,
Use a sprite... You can you more than one sprite for a map.
Hi, I need to load many images into map in order to display layer as symbol with custom image source.
Currently I load them on
mapLoad
event with the following sequence:map.loadImage(url)
map.addImage(key, addedImage.data)
wrapped inside
Promise.all(...)
.I wonder if there is other more performant way of doing it, any ideas?
Thanks,