react-places-autocomplete icon indicating copy to clipboard operation
react-places-autocomplete copied to clipboard

Add sessionToken to reduce request count and cost

Open BishnuSukla opened this issue 2 years ago • 1 comments

How to add sessionToken so that only on selecting a place from autocomplete suggestion it treats all the request as 1 to reduce the request count and cost?

Refer to this https://developers.google.com/maps/documentation/places/web-service/session-tokens

Please provide a solution. Thanks.

BishnuSukla avatar Jan 11 '23 17:01 BishnuSukla

Take a look at the lib description to searchOptions, it seems with it you can handle sessionToken.

ghost avatar May 31 '23 08:05 ghost