const CX = 0.5 * map.widthInPixels;
const CY = 0.5 * map.heightInPixels;
map.createLayer(layerID, tileset, -CX, -CY);
this.cameras.main.centerOn(0, 0);
const CX = 0.5 * map.widthInPixels;
const CY = 0.5 * map.heightInPixels;
map.createLayer(layerID, tileset, -CX, -CY);
this.cameras.main.centerOn(0, 0);