[go: nahoru, domu]

Skip to content
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

Add documentation addition - adding libraries #28

Closed
Kyle123 opened this issue May 17, 2021 · 3 comments
Closed

Add documentation addition - adding libraries #28

Kyle123 opened this issue May 17, 2021 · 3 comments

Comments

@Kyle123
Copy link
Kyle123 commented May 17, 2021

Thanks for the library, it's really useful. In the docs, there is the autocomplete component, however to use this, you must add the places library when registering with vue. This is missing from the documentation, would be worth adding this - I'd have done it, but couldn't find the repo for the docs:

To use the AutoComplete component, you must add the places API in the google console and add the library to the libraries array when registering with vue:

const app = createApp(App);
app.use(VueGoogleMaps, {
    load: {
        key: 'YOUR_API_KEY_COMES_HERE',
        libraries: ['places']
    },
}).mount('#app')
@fawmi
Copy link
Owner
fawmi commented May 25, 2021

@Kyle123
Thanks for the feedback.

The docs are hosted in a separate Repository
https://github.com/fawmi/vue-google-maps-docs

To use some component, they should either be defined as you explained or imported all at once.
I will document this behavior, but you can open a PR in the Docs repository as well.

@vBoykoGit
Copy link

How can I get place from coordinates of my marker?

@fawmi
Copy link
Owner
fawmi commented Jul 8, 2021

@vBoykoGit
Can you please open a separate Issue for that? This issue is about adding individual libraries.

@fawmi fawmi closed this as completed Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants