add encoding and compression to TileLayer::initialize