ericnewton76/gmaps-api-net

Mssing SessionToken Property for Place-Autocomplete

Opened this issue · 1 comments

ri-gr commented

Hi, i am missing the possibility to pass a SessionToken as described here

https://developers.google.com/places/web-service/autocomplete?hl=de#session_tokens

Furthermore the documentation says:

Tip: Establishment results generally do not rank highly enough to show in results when the search area is large. If you want establishments to appear in mixed establishment/geocode results, you can specify a smaller radius. Alternatively, use types=establishment to restrict results to establishments only.

but the Code says 'PlaceTypes.Establishment' is obsolete on passing it to the AutocompleteRequest Object.

Sorry if i overlooked something. Hoping for Feedback. Thanks alot

szh commented

I created pull request #145 which adds the session token option.