Options
All
  • Public
  • Public/Protected
  • All
Menu

@googlemaps/region-lookup

Index

Variables

lookupRegionUrl: "https://regionlookup.googleapis.com/v1alpha:lookupRegion" = "https://regionlookup.googleapis.com/v1alpha:lookupRegion"
searchRegionUrl: "https://regionlookup.googleapis.com/v1alpha:searchRegion" = "https://regionlookup.googleapis.com/v1alpha:searchRegion"

Functions

  • Looks up a set of region Place IDs of types related to geographic boundaries.

    The following region place types are supported for look up: postal_code, administrative_area_level_1, administrative_area_level_2, locality, neighborhood, and country.

    Parameters

    Returns Promise<LookupRegionResponse>

  • Searches for a set of region Place IDs of types related to geographic boundaries.

    Similar to {@link loookupRegion} RPC but instead of looking up Place IDs for the given RegionIdentifier, the API searches for Region Place IDs by considering all regions that are contained within a specified location. The RegionSearchValue is used to specify the search values.

    The following region place types are supported for look up: postal_code, administrative_area_level_1, administrative_area_level_2, locality, neighborhood, and country.

    Parameters

    Returns Promise<SearchRegionResponse>

Generated using TypeDoc