In your chartsLoaderPromise, make sure you are using:
script.async = true; // Load asynchronously
As I get a warning:
Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading
Make sure you are loading Google scripts async:
In your chartsLoaderPromise, make sure you are using: script.async = true; // Load asynchronously
As I get a warning:
Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading