A locality detail object. This is a wrapper around a localilty detail response.
| EMS. | A locality detail object. |
| Constructor | |
| EMS. | Add the ability to produce an external format using the supplied formatter. |
| Functions | |
| getDetailType | {String} Returns the type of this detail. |
| getGeometry | {<EMS.Geometry.MultiPolygon} Returns the multipolygon for this geometry. |
| getGeocode | {<EMS.Geocode} Returns the geocode for this locality. |
| getAdjacent | {[<EMS.Geocode]} Returns a list of geocodes for adjacent localities. |
| toString | {String} Returns a string representation of this object |
Add the ability to produce an external format using the supplied formatter.
| detail | a JSON detail data structure |
{EMS.Detail} Returns a detail object
{String} Returns the type of this detail.
getDetailType:function()
{<EMS.Geometry.MultiPolygon} Returns the multipolygon for this geometry.
getGeometry:function()
{<EMS.Geocode} Returns the geocode for this locality.
getGeocode:function()
{[<EMS.Geocode]} Returns a list of geocodes for adjacent localities.
getAdjacent: function()
{String} Returns a string representation of this object
toString:function()