Google Maps Services Node Client

    Interface GeocodeComponents

    interface GeocodeComponents {
        administrative_area?: string;
        country?: string;
        locality?: string;
        postal_code?: string;
        route?: string;
    }
    Index

    Properties

    administrative_area?: string

    matches all the administrative_area levels.

    country?: string

    matches a country name or a two letter ISO 3166-1 country code. Note: The API follows the ISO standard for defining countries, and the filtering works best when using the corresponding ISO code of the country

    locality?: string

    matches against locality and sublocality types.

    postal_code?: string

    matches postal_code and postal_code_prefix.

    route?: string

    matches the long or short name of a route.

    MMNEPVFCICPMFPCPTTAAATR