From b1bf5048279991b50457e097e46f6bfff9fa5930 Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Thu, 4 Mar 2021 15:41:49 +0000 Subject: [PATCH] fix: improve error message --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 6c6ef2d7..5d562ba2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -473,8 +473,8 @@ export class Loader { private execute(): void { if (window.google && window.google.maps && window.google.maps.version) { console.warn( - "Aborted attempt to load Google Maps JS with @googlemaps/js-api-loader." + - "This may result in undesirable behavior as script parameters may not match." + "Google Maps already loaded outside @googlemaps/js-api-loader." + + "This may result in undesirable behavior as options and script parameters may not match." ); this.callback(); }