Skip to main content

map_tile_writeback

Function map_tile_writeback 

Source
pub extern "C" fn map_tile_writeback(
    cache_dataset: RefAny,
    incoming: RefAny,
    _info: CallbackInfo,
) -> Update
Expand description

Worker-thread → main-thread writeback. cache_dataset is the writeback_data handed to Thread::create (the same MapTileCache the widget reads); incoming is the TileReadyMsg the worker sent. Stamps the tile Ready (or Failed) and asks for a relayout so the VirtualView renders the new content.