Add a public API for getContainer for TileLayer

If the map's center/zoom is not set, this test fails, and I'm not sure
why.