Make a TilesMap fit canvas on phaser
Solution 1:
layer.resizeWorld()
will resize the Game World to match the size of your tilemap. It won't do anything to the Canvas object. Whatever size you give for your game in the Game constructor is the size the canvas will be created and displayed at. So in your example above it will make an 800x600 sized canvas.