From 9ece6ecfa02f01c4e77fc509d8afd5150b3bf8a3 Mon Sep 17 00:00:00 2001 From: JaffaKetchup Date: Wed, 27 Sep 2023 17:57:30 +0100 Subject: [PATCH] Added '{d}' 'dimension'/tile size placeholder support to `TileLayer.urlTemplate` --- lib/src/layer/tile_layer/tile_provider/base_tile_provider.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/layer/tile_layer/tile_provider/base_tile_provider.dart b/lib/src/layer/tile_layer/tile_provider/base_tile_provider.dart index 48af0df01..da6ece387 100644 --- a/lib/src/layer/tile_layer/tile_provider/base_tile_provider.dart +++ b/lib/src/layer/tile_layer/tile_provider/base_tile_provider.dart @@ -198,6 +198,7 @@ abstract class TileProvider { : options.subdomains[ (coordinates.x + coordinates.y) % options.subdomains.length], 'r': '@2x', + 'd': options.tileSize.toString(), ...options.additionalOptions, }; }