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

Documentation: use types instead of type #70

Open
srukali opened this issue Oct 23, 2018 · 0 comments
Open

Documentation: use types instead of type #70

srukali opened this issue Oct 23, 2018 · 0 comments

Comments

@srukali
Copy link

srukali commented Oct 23, 2018

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/psykolm22/angular-google-place/blob/master/CONTRIBUTING.md#question

Current behavior

Currently the documentation says to use type within the options params.

var options = {
  type: ['(regions)']
}

Expected behavior

The correct way to use the Google places API is by using types:

var options = {
  types: ['(regions)']
}

https://developers.google.com/places/supported_types

What is the motivation / use case for changing the behavior?

Saving time debugging :)

Environment


Angular version: 5.2
Angular Google place version : 0.0.3

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

1 participant