setCustomVectorSourceTileError method
- String sourceId,
- CanonicalTileId tileId,
- String message
Reports that a tile of a custom vector source failed to load.
See mln_map_set_custom_vector_source_tile_error in the
C API reference.
Errors:
Status.notFoundwhen the style has no source namedsourceId.Status.invalidArgumentwhen the source namedsourceIdisn't a custom vector source.
Implementation
Future<CommandCompletion> setCustomVectorSourceTileError(
String sourceId,
CanonicalTileId tileId,
String message,
) => _command(
(arena, completion) => raw.mln_map_set_custom_vector_source_tile_error(
_handle.raw,
nativeStringView(sourceId, arena).value,
_writeCanonicalTileId(tileId, arena).ref,
nativeStringView(message, arena).value,
completion,
nativeDiagnostic,
),
);