fun createRasterTileDataSource( context: Context, sublayerName: String, urlTemplate: String ): Source
Creates a source that obtains raster tiles.
context
Context
Context.
sublayerName
String
urlTemplate
URL template for requesting tiles must contain the substrings {x}, {y} and {z}. When they are substituted with numeric values, they form a valid URL to which the request for the tile data is sent.
Source