Skip to content

Commit

Permalink
docs: update outdated comment in google-maps-api-loader.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulthink committed Sep 25, 2023
1 parent a77fb76 commit 3770ba6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libraries/google-maps-api-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ const MAPS_API_BASE_URL = 'https://maps.googleapis.com/maps/api/js';
*/
export class GoogleMapsApiLoader {
/**
* Loads the Google Maps API with the specified parameters and reloads it if necessary.
* Loads the Google Maps API with the specified parameters.
* Since the maps library can only be loaded once per page, this will
* produce a warning when called multiple times with different
* parameters.
*
* The returned promise resolves when loading completes
* and rejects in case of an error or when the loading was aborted.
Expand Down

0 comments on commit 3770ba6

Please sign in to comment.