Update Place UI Kit Text and Nearby Search demos#663
Update Place UI Kit Text and Nearby Search demos#663ejhaselden wants to merge 4 commits intomainfrom
Conversation
|
Here is the summary of changes. You are about to add 5 region tags.
You are about to delete 5 region tags.
This comment is generated by snippet-bot.
|
willum070
left a comment
There was a problem hiding this comment.
This sample doesn't load. I get "places.js:1034 : Ignoring with no location restriction."
When I make a selection I get this: "main.js:301 POST https://places.googleapis.com/$rpc/google.maps.places.v1.Places/SearchNearby 400 (Bad Request)
_.B.send @ main.js:301
fba @ main.js:141
(anonymous) @ main.js:310
(anonymous) @ main.js:310
intercept @ main.js:503
await in intercept
(anonymous) @ main.js:139
Fg @ main.js:311
Dg @ main.js:311
X9.searchNearby @ places_impl.js:55
Wqb @ places_impl.js:35
zoa @ places.js:137
await in zoa
(anonymous) @ places.js:1057
await in (anonymous)
EF @ main.js:263
await in EF
ns @ main.js:262
await in ns
_.ps @ main.js:263
nF @ places.js:1057
Oj @ places.js:1057
hm @ main.js:404
Bba @ main.js:195
Tm @ main.js:404
await in Tm
_.np @ main.js:194
set @ main.js:193
py @ places.js:739
Oj @ places.js:739
hm @ main.js:404
Bba @ main.js:195
Tm @ main.js:404
await in Tm
_.np @ main.js:194
set @ main.js:193
searchPlaces @ index.js:78
(anonymous) @ index.js:51Understand this error
main.js:196 : Encountered a network request error: PLACES_NEARBY_SEARCH: INVALID_ARGUMENT: Error in searchNearby: Longitude must be in the range [-180.0, +180.0]."
Added location-restriction
willum070
left a comment
There was a problem hiding this comment.
The nearby search demo is not functioning as expected.
There was a problem hiding this comment.
I still get an error when I run this sample locally. Upon selection of a type, the console shows this:
main.js:301 POST https://places.googleapis.com/$rpc/google.maps.places.v1.Places/SearchNearby 400 (Bad Request)
(anonymous) @ main.js:301
...snip...
(anonymous) @ index.js:51Understand this error
main.js:196 : Encountered a network request error: PLACES_NEARBY_SEARCH: INVALID_ARGUMENT: Error in searchNearby: Longitude must be in the range [-180.0, +180.0].
There was a problem hiding this comment.
I get the following error upon loading: places.js:1034 : Ignoring with no text query.
Otherwise this demo seems to be working as expected.
Added text query to <gmp-place-text-search-request>
willum070
left a comment
There was a problem hiding this comment.
Further investigation reveals that there's a fundamental problem with how the map object has been declared. This is subtle and hard to solve!
|
Demo guidance has changed; closing PR to start fresh with new demos |
No description provided.