requestStillImage method
Renders a still image of a static or tile map.
The map's render session draws the image once every resource that the image needs has loaded.
See mln_map_request_still_image in the
C API reference.
Errors:
Status.cancelledwhen the map is released before the image is done.Status.nativeErrorwhen the style or a resource that the image needs fails to load.
Implementation
Future<void> requestStillImage() => _run(
(arena, completion) => raw.mln_map_request_still_image(
_handle.raw,
completion,
nativeDiagnostic,
),
);