Class SearchTextRequest.Types.LocationBias
The region to search. This location serves as a bias which means results
around given location might be returned.
Inheritance
SearchTextRequest.Types.LocationBias
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class SearchTextRequest.Types.LocationBias : IMessage<SearchTextRequest.Types.LocationBias>, IEquatable<SearchTextRequest.Types.LocationBias>, IDeepCloneable<SearchTextRequest.Types.LocationBias>, IBufferMessage, IMessage
Constructors
LocationBias()
Declaration
LocationBias(LocationBias)
Declaration
public LocationBias(SearchTextRequest.Types.LocationBias other)
Parameters
Properties
Circle
A circle defined by center point and radius.
Declaration
public Circle Circle { get; set; }
Property Value
Rectangle
A rectangle box defined by northeast and southwest corner.
rectangle.high()
must be the northeast point of the rectangle
viewport. rectangle.low()
must be the southwest point of the
rectangle viewport. rectangle.low().latitude()
cannot be greater than
rectangle.high().latitude()
. This will result in an empty latitude
range. A rectangle viewport cannot be wider than 180 degrees.
Declaration
public Viewport Rectangle { get; set; }
Property Value
Type |
Description |
Viewport |
|
TypeCase
Declaration
public SearchTextRequest.Types.LocationBias.TypeOneofCase TypeCase { get; }
Property Value