Update TileLayer.cpp