ericnewton76 / gmaps-api-net

C# google maps api interface for interacting with the backend web services for Google Maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mssing SessionToken Property for Place-Autocomplete

ri-gr opened this issue · comments

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

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