Added the 'MapCamera' class with a static method to set the camera's position and zoom; this prevents duplicate code.