setTileOptions method

Future<CommandCompletion> setTileOptions(
  1. MapTileOptions options
)

Sets how the map chooses which tiles to load, and at what detail.

Settings that options doesn't set keep their current values.

See mln_map_set_tile_options in the C API reference.

Implementation

Future<CommandCompletion> setTileOptions(MapTileOptions options) => _command(
  (arena, completion) => raw.mln_map_set_tile_options(
    _handle.raw,
    _writeMapTileOptions(options, arena),
    completion,
    nativeDiagnostic,
  ),
);