Fork me on GitHub
Show:

File: ../src/geocode/geocodeserviceinterface.js

define(function() {
  /**
   * Looks up latLon coordinates for named locations
   *
   * @class aeris.geocode.GeocodeServiceInterface
   * @interface
   *
   * @constructor
   */
  var GeocodeServiceInterface = function() {};

  /**
   * @param {string} location The location to geocode.
   * @return {aeris.Promise} A promise to return a lat/lon for the
   *                        geocoded location.
   * @method geocode
   */
  GeocodeServiceInterface.prototype.geocode = function(location) {};


  return GeocodeServiceInterface;
});