invalidateCustomVectorSourceRegion method
- String sourceId,
- LatLngBounds bounds
Makes a custom vector source ask again for the tiles in bounds that the
map still needs.
See mln_map_invalidate_custom_vector_source_region 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> invalidateCustomVectorSourceRegion(
String sourceId,
LatLngBounds bounds,
) => _command(
(arena, completion) => raw.mln_map_invalidate_custom_vector_source_region(
_handle.raw,
nativeStringView(sourceId, arena).value,
_writeLatLngBounds(bounds, arena).ref,
completion,
nativeDiagnostic,
),
);