Resolving warnings in TileLayer.