PlacesAutoCompleteRequest: locationbias
See original GitHub issueHello,
It is not currently possible to add locationbias to PlacesAutoCompleteRequest.
Prefer results in a specified area, by specifying either a radius plus lat/lng, or two lat/lng pairs representing the points of a rectangle. If this parameter is not specified, the API uses IP address biasing by default.
IP bias: Instructs the API to use IP address biasing. Pass the string
ipbias(this option has no additional parameters). Point: A single lat/lng coordinate. Use the following format:point:lat,lng. Circular: A string specifying radius in meters, plus lat/lng in decimal degrees. Use the following format:circle:radius@lat,lng. Rectangular: A string specifying two lat/lng pairs in decimal degrees, representing the south/west and north/east points of a rectangle. Use the following format:rectangle:south,west|north,east. Note that east/west values are wrapped to the range -180, 180, and north/south values are clamped to the range -90, 90.
(emphasis and code highlight by me)
Is there any chance you could add it? It would be much appreciated, especially the point type. Thanks!
Issue Analytics
- State:
- Created 9 months ago
- Comments:5 (4 by maintainers)

Top Related StackOverflow Question
Hi I will add it. Probably within the next couple of days.
I have implemented both the location-bias and the location-restriction. Something is just strange of how Google implemented this, because there seem to be multiple way of accomplishing the same. Nevertheless, you now have all the options Google supports.
I will deploy an updated NuGet soon