maplibre / ngx-maplibre-gl

Angular binding of maplibre-gl
https://maplibre.org/ngx-maplibre-gl/
MIT License
74 stars 25 forks source link

(Question) Loading dozens of images. #201

Open radekdob opened 1 week ago

radekdob commented 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:

wrapped inside Promise.all(...).

I wonder if there is other more performant way of doing it, any ideas?

Thanks,

HarelM commented 1 week ago

Use a sprite... You can you more than one sprite for a map.