Closed paodb closed 2 years ago
Icons are set with executeJS
, thus they are not preserved after a detach/attach cycle:
I've been taking a look at this issue and I think I found a solution, but in order to be able to set the icons without calling executeJs
I need to do a minor modification on the web-component first.
Just created PR. No need for any update on web-component (thanks @javier-godoy for the help!)
This is visible in the current demo. See attached gif:![polygon-icons](https://user-images.githubusercontent.com/30666649/130274278-fb1ffa62-12c5-4042-ad6b-e0f96b040ada.gif)