Can't add Image with map.addImage. #6333
-
I'm trying to add a symbol Layer with different I would like to load multiple Images like so (mapbox/mapbox-gl-js#4736):
In the network tab I see that the images get fetched, but I don't see the debug messages "loaded all images" or "error loading images:" Now I have created a simple map with just one image:
Here happens the same. You can have a look on the example website here: https://streammap.de/autdany/testtesttest.html What am I doing wrong? Any help is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md#400
So the problem is you aren't using loadImage correctly docs: https://maplibre.github.io/maplibre-gl-js/docs/API/classes/Map/#loadimage |
Beta Was this translation helpful? Give feedback.
https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md#400
So the problem is you aren't using loadImage correctly
docs: https://maplibre.github.io/maplibre-gl-js/docs/API/classes/Map/#loadimage