Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleMapsPlacesV1SearchTextRequestLocationRestriction

import type { GoogleMapsPlacesV1SearchTextRequestLocationRestriction } from "https://googleapis.deno.dev/v1/places:v1.ts";

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

interface GoogleMapsPlacesV1SearchTextRequestLocationRestriction {}

§Properties

§

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.