getTileFallbackUrl method

String? getTileFallbackUrl(
  1. Coords<num> coords,
  2. TileLayer options
)
inherited

Generates a valid URL for the fallbackUrl.

Implementation

String? getTileFallbackUrl(Coords coords, TileLayer options) {
  final urlTemplate = options.fallbackUrl;
  if (urlTemplate == null) return null;
  return _getTileUrl(urlTemplate, coords, options);
}