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

GoogleMapsAddressvalidationV1Geocode

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

Contains information about the place the input was geocoded to.

interface GoogleMapsAddressvalidationV1Geocode {
featureSizeMeters?: number;
location?: GoogleTypeLatLng;
placeId?: string;
placeTypes?: string[];
}

§Properties

§

The bounds of the geocoded place.

§
featureSizeMeters?: number
[src]

The size of the geocoded place, in meters. This is another measure of the coarseness of the geocoded location, but in physical size rather than in semantic meaning.

§

The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.

§
placeId?: string
[src]

The PlaceID of the place this input geocodes to. For more information about Place IDs see here.

§
placeTypes?: string[]
[src]

The type(s) of place that the input geocoded to. For example, ['locality', 'political']. The full list of types can be found here.

§

The plus code corresponding to the location.