FMTCTileProviderSettings constructor
FMTCTileProviderSettings({
- CacheBehavior behavior = CacheBehavior.cacheFirst,
- Duration cachedValidDuration = const Duration(days: 16),
- int maxStoreLength = 0,
- List<
String> obscuredQueryParams = const [], - void errorHandler(
- FMTCBrowsingError exception
Create settings for an FMTCTileProvider
Implementation
FMTCTileProviderSettings({
this.behavior = CacheBehavior.cacheFirst,
this.cachedValidDuration = const Duration(days: 16),
this.maxStoreLength = 0,
List<String> obscuredQueryParams = const [],
this.errorHandler,
}) : obscuredQueryParams = obscuredQueryParams.map((e) => RegExp('$e=[^&]*'));