Skip to content

Documentation: use types instead of type #70

@srukali

Description

@srukali

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions