Class deCarta.Mobile.FreeFormAddress
Represents a Free Form Address. For the purposes of the deCarta.Mobile.Geocoder:geocode() function, you can either create an instance of a FreeFormAddress, or you can create an inline object with the following structure:
object: {
address: string, //free form address
locale: deCarta.Mobile.Locale, //a locale object
type: string = 'freeForm'
}
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
deCarta.Mobile.FreeFormAddress(address, locale)
Free Form Address for use with Geocoder
|
| Method Attributes | Method Name and Description |
|---|---|
|
toXML()
Returns an XML Representation of the FreeFormAddress
|
Class Detail
deCarta.Mobile.FreeFormAddress(address, locale)
Free Form Address for use with Geocoder
- Parameters:
- {String} address
- The free-form address, containing a partial or complete address
- {deCarta.Mobile.Locale} locale
- A Locale object
Method Detail
{string}
toXML()
Returns an XML Representation of the FreeFormAddress
- Returns:
- {string} XML formatted address