Class: GdfFormAddress

OM.lbs. GdfFormAddress


new GdfFormAddress(options)

GdfFormAddress, GDF standard address format.

Parameters:
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.
  • country {String}. specify the 2-letter country ISO code; the
    default value for “country” is always “US”
  • name {String} Place name.
  • street {String} Street address.
  • intersectingStreet {String} Intersecting street names.
  • builtupArea {String} GDF built-up-area name, equivalent to a US city.
  • order8Area {String} GDF order8-area name, equivalent to a US county.
  • order2Area {String} GDF order2-area name.
  • order1Area {String} GDF order1-area name, equivalent to a US state.
  • postalCode {String} Postal code.
  • postalAddonCode {String} Postal add-on code.

for example an option object:
{
id:"1",
street:"1 Oracle Drive",
builtupArea:"Nashua",
order1Area:"NH",
postalCode:"03062",
country:"US"
}