getSubdomain method
Implementation
String getSubdomain(Coords coords, TileLayerOptions options) {
if (options.subdomains.isEmpty) {
return '';
}
var index = (coords.x + coords.y).round() % options.subdomains.length;
return options.subdomains[index];
}