setDebugFlags method

Future<CommandCompletion> setDebugFlags(
  1. MapDebugFlag flags
)

Draws debugging overlays, such as tile borders, on the map.

flags replaces the overlays set before.

See mln_map_set_debug_flags in the C API reference.

Implementation

Future<CommandCompletion> setDebugFlags(MapDebugFlag flags) => _command(
  (arena, completion) => raw.mln_map_set_debug_flags(
    _handle.raw,
    flags.rawValue,
    completion,
    nativeDiagnostic,
  ),
);