Table of Contents

Class LocationRestriction

Namespace
GoogleMapsApi.Entities.PlacesNew.Common
Assembly
GoogleMapsApi.dll

Hard boundary that restricts results to a region. Set exactly one of Circle or Rectangle.

public sealed class LocationRestriction
Inheritance
LocationRestriction
Inherited Members

Properties

Circle

Restrict results to this circle.

[JsonPropertyName("circle")]
public Circle? Circle { get; set; }

Property Value

Circle

Rectangle

Restrict results to this rectangle (viewport).

[JsonPropertyName("rectangle")]
public Viewport? Rectangle { get; set; }

Property Value

Viewport