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

Place

import type { Place } from "https://aws-api.deno.dev/v0.3/services/location.ts?docs=full";

Contains details about addresses or points of interest that match the search criteria.

interface Place {
AddressNumber?: string | null;
Country?: string | null;
Geometry: PlaceGeometry;
Interpolated?: boolean | null;
Label?: string | null;
Municipality?: string | null;
Neighborhood?: string | null;
PostalCode?: string | null;
Region?: string | null;
Street?: string | null;
SubRegion?: string | null;
TimeZone?: TimeZone | null;
}

§Properties

§
AddressNumber?: string | null
[src]

The numerical portion of an address, such as a building number.

§
Country?: string | null
[src]

A country/region specified using ISO 3166 3-digit country/region code. For example, CAN.

§
Interpolated?: boolean | null
[src]

True if the result is interpolated from other known places.

False if the Place is a known place.

Not returned when the partner does not provide the information.

For example, returns False for an address location that is found in the partner data, but returns True if an address does not exist in the partner data and its location is calculated by interpolating between other known addresses.

§
Label?: string | null
[src]

The full name and address of the point of interest such as a city, region, or country. For example, 123 Any Street, Any Town, USA.

§
Municipality?: string | null
[src]

A name for a local area, such as a city or town name. For example, Toronto.

§
Neighborhood?: string | null
[src]

The name of a community district. For example, Downtown.

§
PostalCode?: string | null
[src]

A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.

§
Region?: string | null
[src]

A name for an area or geographical division, such as a province or state name. For example, British Columbia.

§
Street?: string | null
[src]

The name for a street or a road to identify a location. For example, Main Street.

§
SubRegion?: string | null
[src]

A country, or an area that's part of a larger region. For example, Metro Vancouver.

§
TimeZone?: TimeZone | null
[src]

The time zone in which the Place is located. Returned only when using Here as the selected partner.