diff --git a/lib/src/layer/tile_layer/tile_layer.dart b/lib/src/layer/tile_layer/tile_layer.dart index 3a924fd01..f726218d4 100644 --- a/lib/src/layer/tile_layer/tile_layer.dart +++ b/lib/src/layer/tile_layer/tile_layer.dart @@ -306,7 +306,7 @@ class TileLayer extends StatefulWidget { } if (kDebugMode && retinaMode == null && - wmsOptions == null && + urlTemplate != null && urlTemplate!.contains('{r}')) { Logger(printer: PrettyPrinter(methodCount: 0)).w( '\x1B[1m\x1B[3mflutter_map\x1B[0m\nThe URL template includes a retina '