Source: locator.js maps.nyc.gov

var nyc = nyc || {};

/**
 * @desc An interface for managing map location
 * @public
 * @interface
 */
nyc.Locator = function(){};

nyc.Locator.prototype = {
	/**
	 * @public
	 * @abstract
	 * @method
	 * @param {nyc.Locate.Result} data The location to which the map will be oriented
	 * @param {function()} callback The function to call after the locator has zoomed to the location
	 */
	zoomLocation: function(data, callback){
		throw 'Must be implemented';
	}
};