enableBaseMapCaching method
Future<MPError?>
enableBaseMapCaching(
- MPMapboxStyleSource styleSource,
- MPDataSetCachingScope scope
override
Implementation
@override
Future<MPError?> enableBaseMapCaching(
MPMapboxStyleSource styleSource, MPDataSetCachingScope scope) async {
final error = await dataSetCacheMethodChannel.invokeMethod(
"DSC_enableBaseMapCaching",
{"styleSource": styleSource._jsonEncode(), "scope": scope.value});
return MPError.fromJson(error);
}