getTileUrl

protected open fun getTileUrl(x: Int, y: Int, zoom: Int): String?(source)

Builds the URL for the specified tile coordinates by replacing placeholders in the URL template.

Subclasses can override to customize URL generation, or return null where the source has no tiles, e.g. outside its area or zoom range.

Return

Complete URL for the tile, or null for TileProvider.NO_TILE

Parameters

x

Tile column

y

Tile row

zoom

Zoom level