Skip to content

Add support for origin prop #45

@felipe-xavier

Description

@felipe-xavier

Before submitting a feature request

  • I have searched the existing issues to ensure this feature hasn't been requested already.
  • I am using the latest version of the library.

Feature description

From Places API docs, they support an origin prop that according to them:

"The origin point from which to calculate straight-line distance to the destination (returned as distanceMeters). If this value is omitted, straight-line distance will not be returned. Must be specified as latitude and longitude coordinates"

https://developers.google.com/maps/documentation/places/web-service/place-autocomplete#origin

Would be a nice touch for the package 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions