Please check Pannellum documentation to use your custom configuration: https://pannellum.org/documentation/reference/