Lazy loading
To wait until the Google Maps API is ready, you can use the global option $gmapApiPromiseLazy, or the useGoogleMapsApiPromiseLazy composable.
For more information follow these links:
To wait until the Google Maps API is ready, you can use the global option $gmapApiPromiseLazy, or the useGoogleMapsApiPromiseLazy composable.