copy

fun copy(tileProvider: TileProvider = this.tileProvider, transparency: Float = this.transparency, zIndex: Float = this.zIndex, visible: Boolean = this.visible, fadeIn: Boolean = this.fadeIn, tag: Any? = this.tag): TileOverlay(source)

Returns a new overlay with the given properties changed, not added to any map.