Class: UnformatedAddress

OM.lbs. UnformatedAddress

new UnformatedAddress(options)

Address The typical input to the geocoder is a single address.

Name Type Description
options Object

This is an object literal that specifies the Address options. It can have the following properties.

  • id {String} Optional. The id field is used to uniquely
    distinguish an address in a batch geocoding request. It is optional
    when geocoding a single address.
  • address {String} Required. the address to be used for geocoding.
  • country {String}. specify the 2-letter country ISO code; the
    default value for “country” is always “US”

for example an option object:
"address":"1 Oracle drv, Nashua, NH, 03062",