-
Hi everybody and thanks for this great library ! Here is an unique sprite that is working :
I've tried the multisprite source in conjunction with Martin :
This code doesn't work either :
I'm stuck, what am i doing wrong ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Can you clarify on what didn't work? once the sprite is defined you need to reference it in a symbol layer with the relevant prefix. |
Beta Was this translation helpful? Give feedback.
-
Yes there is a reference in the layer and it is working perfectly when there is a unique URL to the sprite like the first lines of the code on my first post :
I've also tried with
instead of default but i don't think it's related. |
Beta Was this translation helpful? Give feedback.
-
As requested before, please provide a jsbin/codepen/stackblitz, these partial examples are not helpful. |
Beta Was this translation helpful? Give feedback.
OK i've just upload (only change in code) the last version of the library 4.1.2 (was using 4.0.2) and everything now seems fine.
I've tried to reproduce the error on stackblitz with the 4.0.2 library vs 4.1.2, but i' have not encountered the problem with a simple test code.
So no explanations but not a problem anymore.
https://stackblitz.com/edit/stackblitz-starters-eaimes?file=index.html