New day, new question:
I have a layer inside a loop which gets it's text from an array, something like this:
layer.html = names[i]
Then I have an input field where I can add text to the names array when i click a button. How do I get the layer.html to update when something new is added to the array?
If I print names after clicking the button the new text is added to array, but I need a way to have the text.html by itself. Is it possible?
Can you share a snippet of how / where you update the array?
DM me if you want to share directly.