urlTemplate property

String? urlTemplate
final

Defines the structure to create the URLs for the tiles. {s} means one of the available subdomains (can be omitted) {z} zoom level {x} and {y} — tile coordinates {r} can be used to add "@2x" to the URL to load retina tiles (can be omitted)

Example:

https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

Is translated to this:

https://a.tile.openstreetmap.org/12/2177/1259.png

Implementation

final String? urlTemplate;