Topic: How to force a redraw?
Hello all,
I have two map tile sets that are in the resources folder. I have a basic toggle that changes the resourcesPath on button press, and then call RedrawImmediately expecting this to load the second tile set.
This doesn't work, however, as I seem to be missing a step. It does display the new map but only for newly loaded tiles when either the user scrolls or zooms out.
Just wondering how I should go about reloading the map using the new resourcesPath?
I've tried calling redraw, redraw immediately, and changing the variables that state whether a redraw should occur.
Thanks