Skip to content

Commit

Permalink
Added '{d}' 'dimension'/tile size placeholder support to `TileLayer.u…
Browse files Browse the repository at this point in the history
…rlTemplate`
  • Loading branch information
JaffaKetchup committed Sep 27, 2023
1 parent eb3b790 commit 9ece6ec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ abstract class TileProvider {
: options.subdomains[
(coordinates.x + coordinates.y) % options.subdomains.length],
'r': '@2x',
'd': options.tileSize.toString(),
...options.additionalOptions,
};
}
Expand Down

0 comments on commit 9ece6ec

Please sign in to comment.