getImage method

  1. @override
ImageProvider<Object> getImage(
  1. String? templateUrl,
  2. Bounds? globalTileRange,
  3. Coordinate coordinate,
  4. TileLayerOptions? options,
)
override

Implementation

@override
ImageProvider getImage(String? templateUrl, Bounds? globalTileRange,
    Coordinate coordinate, TileLayerOptions? options) {
  return NetworkImageWithRetry(
      getTileUrl(templateUrl, globalTileRange, coordinate, options));
}