Show / Hide Table of Contents

Class SearchTextRequest.Types.LocationRestriction

The region to search. This location serves as a restriction which means results outside given location will not be returned.

Inheritance
object
SearchTextRequest.Types.LocationRestriction
Implements
IMessage<SearchTextRequest.Types.LocationRestriction>
IEquatable<SearchTextRequest.Types.LocationRestriction>
IDeepCloneable<SearchTextRequest.Types.LocationRestriction>
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.LocationRestriction : IMessage<SearchTextRequest.Types.LocationRestriction>, IEquatable<SearchTextRequest.Types.LocationRestriction>, IDeepCloneable<SearchTextRequest.Types.LocationRestriction>, IBufferMessage, IMessage

Constructors

LocationRestriction()

Declaration
public LocationRestriction()

LocationRestriction(LocationRestriction)

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

Properties

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.LocationRestriction.TypeOneofCase TypeCase { get; }
Property Value
Type Description
SearchTextRequest.Types.LocationRestriction.TypeOneofCase
In this article
Back to top Generated by DocFX