Show / Hide Table of Contents

Class SearchTextRequest.Types.LocationBias

The region to search. This location serves as a bias which means results around given location might be returned.

Inheritance
object
SearchTextRequest.Types.LocationBias
Implements
IMessage<SearchTextRequest.Types.LocationBias>
IEquatable<SearchTextRequest.Types.LocationBias>
IDeepCloneable<SearchTextRequest.Types.LocationBias>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.Places.V1
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
public LocationBias()

LocationBias(LocationBias)

Declaration
public LocationBias(SearchTextRequest.Types.LocationBias other)
Parameters
Type Name Description
SearchTextRequest.Types.LocationBias other

Properties

Circle

A circle defined by center point and radius.

Declaration
public Circle Circle { get; set; }
Property Value
Type Description
Circle

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
Type Description
SearchTextRequest.Types.LocationBias.TypeOneofCase
In this article
Back to top Generated by DocFX