clearData method
Clears the data that the session's renderer holds, such as loaded tiles, and draws the map again.
See mln_render_session_clear_data in the
C API reference.
Errors:
Status.targetLostwhen the session loses its target before the work runs.
Implementation
Future<void> clearData() => _run(
(arena, completion) => raw.mln_render_session_clear_data(
_handle.raw,
completion,
nativeDiagnostic,
),
);