UNPKG

geoportal-access-lib

Version:

French Geoportal resources access library

24 lines (18 loc) 701 B
/** * Response object for {@link module:Services~autoComplete Gp.Services.autoComplete ()} invocation when successful. Received as the argument of onSuccess callback function. * * @property {Array.<Gp.Services.AutoComplete.SuggestedLocation>} suggestedLocations - SuggestedLocations array. * * @namespace * @alias Gp.Services.AutoCompleteResponse */ function AutoCompleteResponse () { if (!(this instanceof AutoCompleteResponse)) { throw new TypeError("AutoCompleteResponse constructor cannot be called as a function."); } this.suggestedLocations = []; } AutoCompleteResponse.prototype = { constructor : AutoCompleteResponse }; export default AutoCompleteResponse;