-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
Description
Feature Request
Description
The current version of the @googlemaps/js-api-loader plugin no longer supports the Loader class. The new functional API should be used instead.
The following message appears in the log, whe using @googlemaps/js-api-loader:^2.0.0
The current version of the @googlemaps/js-api-loader plugin no longer supports the Loader class, which has been deprecated and removed. The error message indicates that developers must migrate to the new functional API using setOptions() and importLibrary() methods. This feature request aims to update the plugin example code, documentation, and usage patterns to reflect the new API, ensuring a smooth migration path and avoiding runtime errors.
Platform(s)
Web
Preferred Solution
Remove the Loader class and instead use the functional API:
- setOptions()
- importLibrary()