-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Re-use Google API library from the window if already available #143
Comments
This issue is closed because it does not meet our issue template. Please read it. |
Thanks for opening your first issue here! Be sure to follow the issue template! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
:( |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I apologize for the bot, is the last time that I try to configure it, if it doesn't work I'll remove it from the repository. |
- `autobindAllEvents` config option was renamed to `autoBindAllEvents` - `vueGoogleMapsInit` name was renamed to `GoogleMapsCallback` - `gmapApi` function was renamed to `getGoogleMapsAPI` - `MapElementMixin` now is exported from `components` object instead of `helpers` object - `customCallback` config option was added to reuse existing Google Maps API that already loaded, eg from an HTML file BREAKING CHANGE: Solve #143, reuse existing google maps api and rename functions
- `autobindAllEvents` config option was renamed to `autoBindAllEvents` - `vueGoogleMapsInit` name was renamed to `GoogleMapsCallback` - `gmapApi` function was renamed to `getGoogleMapsAPI` - `MapElementMixin` now is exported from `components` object instead of `helpers` object - `customCallback` config option was added to reuse existing Google Maps API that already loaded, eg from an HTML file BREAKING CHANGE: reuse existing google maps api and rename functions Solve #143
- `autobindAllEvents` config option was renamed to `autoBindAllEvents` - `vueGoogleMapsInit` name was renamed to `GoogleMapsCallback` - `gmapApi` function was renamed to `getGoogleMapsAPI` - `MapElementMixin` now is exported from `components` object instead of `helpers` object - `customCallback` config option was added to reuse existing Google Maps API that already loaded, eg from an HTML file BREAKING CHANGE: reuse existing google maps api and rename functions Solve #143
# [3.0.0](v2.0.4...v3.0.0) (2022-02-13) ### Features * **gmap-vue:** add custom callback option to config ([b8409e3](b8409e3)), closes [#143](#143) ### BREAKING CHANGES * **gmap-vue:** reuse existing google maps api and rename functions
@adriandmitroca I land a new version where you can do that can you test it, I'm trying to deploy the documentation right now. |
Our new documentation is ready, I tested putting the google maps script in an HTML file and after that, I load the plugin without API key using only the new option |
Solved on v3.0.0 |
Is your feature request related to a problem? Please describe.
Library always expects to load Google API library on it's own, despite it could be already loaded from the other sources into the window.
Describe the solution you'd like
Reuse window.google if available.
Describe alternatives you've considered
Trying to override global Vue variables / methods exposed by the library but without any luck.
Additional context
The text was updated successfully, but these errors were encountered: