TileUrlProviderCallback typedef
Provides the URL as String for the given tile coordinates and storage level.
The first and second parameters correspond to the X and Y coordinates of the tile, respectively, and have values ranging from 0 to 2^level − 1. The third parameter indicates the level of the tile.
-
xX coordinate of the tile. This ranges from 0 to 2^level − 1. -
yY coordinate of the tile. This ranges from 0 to 2^level − 1. -
levelLevel of the tile.
Returns the URL.
Implementation
typedef TileUrlProviderCallback = String Function(int x, int y, int level);