geoportal-access-lib
Version:
French Geoportal resources access library
24 lines (18 loc) • 603 B
JavaScript
/**
* Response object for {@link module:Services~getAltitude Gp.Services.getAltitude ()} invocation when successful. Received as the argument of onSuccess callback function.
*
* @property {Array.<Gp.Services.Alti.Elevation>} elevations - Elevations array.
*
* @namespace
* @alias Gp.Services.AltiResponse
*/
function AltiResponse () {
if (!(this instanceof AltiResponse)) {
throw new TypeError("AltiResponse constructor cannot be called as a function.");
}
this.elevations = [];
}
AltiResponse.prototype = {
constructor : AltiResponse
};
export default AltiResponse;