GoogleMapsPlacesV1SearchTextRequestLocationBias
import type { GoogleMapsPlacesV1SearchTextRequestLocationBias } from "https://googleapis.deno.dev/v1/places:v1.ts";
The region to search. This location serves as a bias which means results around given location might be returned.
interface GoogleMapsPlacesV1SearchTextRequestLocationBias {
circle?: GoogleMapsPlacesV1Circle;
rectangle?: GoogleGeoTypeViewport;
}§Properties
§
circle?: GoogleMapsPlacesV1Circle
[src]A circle defined by center point and radius.
§
rectangle?: GoogleGeoTypeViewport
[src]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.