Fork me on GitHub
Show:

File: ../src/geocode/geocodeserviceresponse.js

define(function() {
  /**
   * A response to a geocode service request
   *
   * @class aeris.geocode.GeocodeServiceResponse
   * @constructor
   */
  var GeocodeServiceResponse = function(responseObj) {
    /**
     * @type {aeris.LatLon|undefined} latLon Geocoded lat/Lon coordinates.
     */

    /**
     * @type {Object} status
     * @property {aeris.geocode.GeocodeServiceStatus} code Aeris error code.
     * @property {*|undefined} apiCode Code returned by the Geocoding service API.
     * @property {string} message Status message.
     */


    return responseObj;
  };

  return GeocodeServiceResponse;
});