invalidate

Invalidate all the tiles from an offline region forcing MapLibre GL to revalidate the tiles with the server before using. This is more efficient than deleting the offline region and downloading it again because if the data on the cache matches the server, no new data gets transmitted.

Parameters

callback

the callback to be invoked