I just tried again and canceled the first move with the same command instead of using setVieport:
camera.pan(960, 540, 800);
But it still goes a bit jerky. The point that maybe is important is that this is a 1920 * 1080 canva. Could it be a performance problem? ( and im using matter physics ) ( but i tried also with arcade but the problem is the same)
Anyway im only doing a zoom into a structure and then a zoom out to the normal view of the map