Dynamically switch themes #1257
-
|
Is there a safe way to dynamically switch themes? It seems that calling setTheme is leading to ClosedByInterruptException when loading vector tiles. It looks like setting the theme while tiles are being loaded is bad (as I guess i would expect it to be!). Is there a way to determine that no threads are actively working or that rendering is done and doWork methods are not active - or to add a task that can be performed after all tile access is complete? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
@dnesbitt61 Switching themes means: create new vector layer, set its maps and theme, load the new vector layer. |
Beta Was this translation helpful? Give feedback.
@dnesbitt61 Switching themes means: create new vector layer, set its maps and theme, load the new vector layer.