JustFly1984 / react-google-maps-api

React Google Maps API
MIT License
1.79k stars 438 forks source link

@react-google-maps/api in this package i need to send the session token in autocomplete but it will not be have any other props #3362

Open Thirumalaisamy-paulraj opened 3 months ago

Thirumalaisamy-paulraj commented 3 months ago

I am using the @react-google-maps/api package to implement Google Places Autocomplete in my React application. I need to send a session token with the autocomplete requests to group billing charges. However, it seems that the Autocomplete component does not accept any additional props for this purpose .I've tried several approaches without success.

Has anyone found a solution or workaround for injecting a Google Maps session token into the Autocomplete component using this package? Any help or insights would be greatly appreciated. Thank you!

rmscoal commented 2 months ago

I am also wondering about this. Was looking for Google Map's React solution. So this library's Autocomplete does not come with a session?

Hence billing falls into Autocomplete SKU and Places Basic?