invalidateCustomGeometrySourceTile method
- String sourceId,
- CanonicalTileId tileId
Makes a custom geometry source ask for a tile again when the map needs it.
See mln_map_invalidate_custom_geometry_source_tile in the
C API reference.
Errors:
Status.notFoundwhen the style has no source namedsourceId.Status.invalidArgumentwhen the source namedsourceIdisn't a custom geometry source.
Implementation
Future<CommandCompletion> invalidateCustomGeometrySourceTile(
String sourceId,
CanonicalTileId tileId,
) => _command(
(arena, completion) => raw.mln_map_invalidate_custom_geometry_source_tile(
_handle.raw,
nativeStringView(sourceId, arena).value,
_writeCanonicalTileId(tileId, arena).ref,
completion,
nativeDiagnostic,
),
);