-
Notifications
You must be signed in to change notification settings - Fork 14
Documentation: use types instead of type #70
Copy link
Copy link
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels