Open Seungup opened 1 month ago
Thanks for taking the time to report this issue. I think there are two different issues reported here. I would advise to split this issue into two in order to address each one separately.
Yes, I will change it to a more appropriate title and content. Thank you.
User Story
It seems that using the method where the user directly draws to the framebuffer and creates the final image for each tile, then provides the data to the map, is the best approach to correctly render the map along with the terrain when the terrain is being displayed via the
map.setTerrain
function.However, this method causes flickering when dynamic objects change, as the layer and source need to be removed and recreated for updates.
If there is a way to manually update the texture directly on the tile without recreating the layer and source, I would appreciate any guidance on how to achieve this.
Code Example