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

Geometry, Geocoding, long, lat #14

Open
imprex92 opened this issue Oct 28, 2020 · 1 comment
Open

Geometry, Geocoding, long, lat #14

imprex92 opened this issue Oct 28, 2020 · 1 comment

Comments

@imprex92
Copy link

is there a way to get the Geocoding information (Long and Lat) when you entered a place in the input-field?

@CSalih
Copy link

CSalih commented Nov 12, 2020

This should work:

<place-autocomplete-field @autocomplete-select="addressAutocompleteSearch"/>
methods: {
  addressAutocompleteSearch(place, address) {
    lat =  address.geometry.location.lat();
    lng = address.geometry.location.lng();
  },
}
```

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

2 participants