return placeID?
See original GitHub issueIt looks like the component is discarding the placeID
instead of using it to retrieve the coordinates via geocode.
I assume that addresses are usually 1:1 with geocode when taken directly from Places results, but would it be safer to geocode on placeID instead?
At the very least, it’d be helpful if placeID
was returned along with suggestion
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Place IDs | Places API - Google Developers
Retrieving an address for a Place ID in the Geocoding API web service and ... One strategy is to store the original request...
Read more >Using place IDs - Amazon Location Service
The PlaceId returned in calls that you make is specific to your AWS account, to the AWS Region, and to the data provider...
Read more >Google Maps API Geocoder doesn't return location by placeId
I think the autocomplete endpoint is not returning valid placeids as of today or yesterday. I'm running into a similar problem.
Read more >com.google.maps.PlaceDetailsRequest.placeId java code ...
Specifies the field masks of the details to be returned by PlaceDetails. language. Popular in Java. Finding current android device location ...
Read more >How to Use Places | Trimble Maps RESTful APIs
If a match is found, the geocoding API will return basic details about the Place, ... API using the trimblePlaceId you have just...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
i edited it for my own local use (sorry, was in a hurry so didn’t wanna mess with a PR/tests etc)
it was a pretty basic change. here are the parts of the main component I changed.
I also changed the
geocode-by-address
function to take aplaceid
instead of an address (& return a promise b/c it’s 2017 😛 ). I needed specific fields off of the return value, but for general purpose i think it’s fine to return just the lat, long, and entire geocode results if a user wants to peel-off their own fields. here’s what i came up with@kenny-hibino maybe i can try but we’re trying to launch something in a few weeks so not sure 😕 your lib is the best implementaiton of autocomplete i’ve seen though (primarily b/c it lets u use whatever input component you want), so happy to help if i can