TileLayerOptions constructor

TileLayerOptions(
  1. {String urlTemplate,
  2. double tileSize = 256.0,
  3. double maxZoom = 18.0,
  4. bool zoomReverse = false,
  5. double zoomOffset = 0.0,
  6. Map<String, String> additionalOptions = const <String, String>{},
  7. List<String> subdomains = const <String>[],
  8. int keepBuffer = 2,
  9. Color backgroundColor = const Color(0xFFE0E0E0),
  10. ImageProvider<Object> placeholderImage,
  11. TileProvider tileProvider = const CachedNetworkTileProvider(),
  12. bool tms = false,
  13. double opacity = 1.0,
  14. dynamic rebuild}
)

Implementation

TileLayerOptions(
    {this.urlTemplate,
    this.tileSize = 256.0,
    this.maxZoom = 18.0,
    this.zoomReverse = false,
    this.zoomOffset = 0.0,
    this.additionalOptions = const <String, String>{},
    this.subdomains = const <String>[],
    this.keepBuffer = 2,
    this.backgroundColor = const Color(0xFFE0E0E0),
    this.placeholderImage,
    this.tileProvider = const CachedNetworkTileProvider(),
    this.tms = false,
    this.opacity = 1.0,
    rebuild})
    : super(rebuild: rebuild);