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` (#1665)
  • Loading branch information
JaffaKetchup authored Oct 2, 2023
1 parent b75166a commit 664b3b8
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': options.resolvedRetinaMode == RetinaMode.server ? '@2x' : '',
'd': options.tileSize.toString(),
...options.additionalOptions,
};
}
Expand Down

0 comments on commit 664b3b8

Please sign in to comment.