Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | 1x 1x 1x 1x 1x 1x 1x |
import GeocodeLocation from "../GeocodeLocation";
/**
* @classdesc
* Format des attributs d'un résultat de géocodage de type PositionOfInterest
*
* @constructor
* @alias Gp.Services.Geocode.Request.PositionOfInterest
* @private
*/
function PositionOfInterest () {
Iif (!(this instanceof PositionOfInterest)) {
throw new TypeError("PositionOfInterest constructor cannot be called as a function.");
}
// INFO
// appel du constructeur de la classe mère
// avec passage de param.
GeocodeLocation.apply(this, arguments);
/**
* Nom de la classe (heritage)
* @type {String}
*/
this.CLASSNAME = "PositionOfInterest";
/**
* Liste des attributs possibles pour une GeocodeLocation de type PositionOfInterest
* - **bbox** : Emprise du toponyme dans le système de coordonnées demandé {left, right, top, bottom} *{Object}*
* - **importance** : Importance du toponyme *{number}*
* - **nature** : Nature du toponyme. *{String}*
* - **territory** : Code du territoire français où se situe le toponyme *{String}*
* - **commune** : Ville du toponyme. *{String}*
* - **department** : Département du toponyme. *{String}*
* - **insee** : Code INSEE de la commune où se situe le toponyme. *{Number}*
* - **municipality** : Municipalité du toponyme. *{String}*
*/
this.attributesList = ["bbox", "importance", "nature", "territory", "commune", "department", "insee", "municipality"];
this.serviceAttributes = ["bbox", "Importance", "Nature", "Territoire", "Commune", "Departement", "INSEE", "Municipality"];
}
/**
* @lends module:PositionOfInterest#
*/
PositionOfInterest.prototype = Object.create(GeocodeLocation.prototype);
/**
* Constructeur (alias)
*/
PositionOfInterest.prototype.constructor = PositionOfInterest;
export default PositionOfInterest;
|