FMTCImageProvider constructor

FMTCImageProvider({
  1. required FMTCTileProvider provider,
  2. required TileLayer options,
  3. required Coords<num> coords,
  4. required HttpClient httpClient,
  5. required Map<String, String> headers,
})

Create a specialised ImageProvider dedicated to 'flutter_map_tile_caching'

Implementation

FMTCImageProvider({
  required this.provider,
  required this.options,
  required this.coords,
  required this.httpClient,
  required this.headers,
}) : settings = provider.settings;