{"version":"1.1","schema_version":"1.1.0","plugin_version":"1.1.2","url":"https://tutos-gameserver.fr/2019/05/04/featurelayer-reference-api-api-arcgis-pour-javascript-3-28-serveur-dimpression/","llm_html_url":"https://tutos-gameserver.fr/2019/05/04/featurelayer-reference-api-api-arcgis-pour-javascript-3-28-serveur-dimpression/llm","llm_json_url":"https://tutos-gameserver.fr/2019/05/04/featurelayer-reference-api-api-arcgis-pour-javascript-3-28-serveur-dimpression/llm.json","manifest_url":"https://tutos-gameserver.fr/llm-endpoints-manifest.json","language":"fr-FR","locale":"fr_FR","title":"FeatureLayer | Référence API | API ArcGIS pour JavaScript 3.28\n\n &#8211; Serveur d&rsquo;impression","site":{"name":"Tutos GameServer","url":"https://tutos-gameserver.fr/"},"author":{"id":1,"name":"Titanfall","url":"https://tutos-gameserver.fr/author/titanfall/"},"published_at":"2019-05-04T07:50:26+00:00","modified_at":"2019-05-04T07:50:26+00:00","word_count":16708,"reading_time_seconds":5013,"summary":"exiger([\"esri/layers/FeatureLayer\"], function (FeatureLayer) / * code va ici * /); La description (Ajouté à la v2.0) La couche d&#39;entités hérite de la couche graphique et peut être utilisée pour afficher les entités d&#39;une seule couche dans un service de carte ou un service d&#39;entités. La couche peut être une couche (spatiale) ou une table (non [&hellip;]","summary_points":["exiger([\"esri/layers/FeatureLayer\"], function (FeatureLayer) / * code va ici * /);\nLa description\n\n (Ajouté à la v2.0)\nLa couche d&#39;entités hérite de la couche graphique et peut être utilisée pour afficher les entités d&#39;une seule couche dans un service de carte ou un service d&#39;entités.","La couche peut être une couche (spatiale) ou une table (non spatiale).","Les entités d’une couche d’entités peuvent être modifiées si le est éditable méthode est vraie.","FeatureLayer utilisera par défaut les informations de dessin du serveur (requiert ArcGIS Server 10 ou une version ultérieure)."],"topics":["Serveur d'impression"],"entities":[],"entities_metadata":[{"id":10,"name":"Serveur d'impression","slug":"serveur-dimpression","taxonomy":"category","count":3907,"url":"https://tutos-gameserver.fr/category/serveur-dimpression/"}],"tags":["Serveur d'impression"],"content_hash":"7e78ac806824c04a52b2fdd5aad2eca5","plain_text":"exiger([\"esri/layers/FeatureLayer\"], function (FeatureLayer) / * code va ici * /);\nLa description\n\n (Ajouté à la v2.0)\nLa couche d&#39;entités hérite de la couche graphique et peut être utilisée pour afficher les entités d&#39;une seule couche dans un service de carte ou un service d&#39;entités. La couche peut être une couche (spatiale) ou une table (non spatiale). Les entités d’une couche d’entités peuvent être modifiées si le est éditable méthode est vraie.\nFeatureLayer utilisera par défaut les informations de dessin du serveur (requiert ArcGIS Server 10 ou une version ultérieure). Pour un exemple, voir le moteur de rendu simple dans le Informations de dessin à http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer/0\n\nRendu WebGL\nÀ partir de la version 3.24, vous pouvez choisir de rendre FeatureLayer avec WebGL. Cela vous permet d&#39;afficher plus de données sur la carte et de mettre à jour plus rapidement la visualisation des entités. Pour activer le rendu WebGL de FeatureLayer, collez le script suivant dans votre application avant de charger l&#39;API ArcGIS pour JavaScript:\n\r\n\n        Une fois activé globalement pour l&#39;application, WebGL peut être activé / désactivé à l&#39;aide de l&#39;API ci-dessous:\n\nLimites connues\nLes limitations suivantes des FeatureLayers rendues par WebGL peuvent être modifiées dans les versions futures. Si l&#39;une de ces conditions n&#39;est pas remplie, la couche bascule automatiquement de WebGL à SVG pendant la session.\n\nLa prise en charge est limitée aux couches créées à partir de services d&#39;entités hébergés sur ArcGIS Online et de services d&#39;entités d&#39;entreprise non hébergés versions 10.6.1 ou ultérieure. Les FeatureLayers créés à partir de FeatureCollections ne sont pas pris en charge.\nLes couches de polygones doivent prendre en charge le retour des centroïdes.\nLe calque ne doit pas être éditable.\nLa couche ne doit pas être groupée.\nLa couche doit utiliser le mode de récupération à la demande.\nLa couche ne doit pas utiliser d&#39;étiquettes.\nLa couche ne doit pas utiliser d&#39;expressions Arcade contenant des opérations de géométrie.\nLe rendu de la couche doit être de type SimpleRenderer, ClassBreaksRenderer ou UniqueValueRenderer.\nLes variables visuelles de couleur et d&#39;opacité doivent avoir 8 arrêts ou moins.\nLes variables visuelles de taille gérées par les attributs doivent comporter 6 arrêts ou moins. Cela n&#39;affecte pas les variables générées par l&#39;échelle de la carte.\nLes symboles de ligne ne doivent pas avoir de flèches.\nLe symbole de sélection n&#39;est pas pris en charge.\n\nNotez que seul l&#39;événement click se déclenche lorsque WebGL est activé. Tous les autres événements ne sont pas pris en charge. Les sous-classes FeatureLayer ne prennent pas en charge le rendu WebGL. Notez également que la modification des attributs, des symboles, de la géométrie et de la visibilité des entités individuelles dans un calque rendu WebGL n&#39;aura aucun effet.\n\n\nDes échantillons\n      Rechercher des échantillons qui utilisent cette classe.\nHiérarchie de classe\nesri / layers / Layer\r\n| _esri / layers / GraphicsLayer\r\n  | _esri / layers / FeatureLayer\nSous-classes\nConstructeurs\nConstantes\n\n\n\nMODE_AUTO\n\nDéléguez en mode à la demande ou en mode instantané en fonction des caractéristiques du service. Cela ne s&#39;applique qu&#39;aux services d&#39;entités hébergés.\nSi le nombre total d&#39;entités dans une couche est inférieur à maxRecordCount et si le nombre total de sommets est inférieur à 250 000, le mode Instantané est utilisé. Sinon, le mode à la demande est utilisé. Ce mode a pour but de réduire la charge côté serveur. Au lieu d&#39;obtenir un petit nombre de fonctionnalités avec plusieurs requêtes (mode à la demande), obtenez toutes les fonctionnalités avec une seule requête. Ce mode nécessite une demande supplémentaire avant de récupérer des fonctionnalités.\n\n\n\nMODE_ONDEMAND\n\nEn mode à la demande, la couche d&#39;entités récupère les entités du serveur en cas de besoin. Ceci est basé sur les exigences définies dans les propriétés suivantes:\n\nPropriétés de la carte telles que l&#39;étendue spatiale actuelle et l&#39;heure.\nPropriétés de la couche telles que le décalage temporel et l&#39;expression de définition.\n\n\n\n\nSÉLECTION DE MODE\n\nEn mode de sélection, les fonctionnalités sont extraites du serveur uniquement lorsqu&#39;elles sont sélectionnées. Les fonctionnalités sont disponibles sur le client uniquement lorsqu&#39;elles sont sélectionnées. Pour utiliser les fonctionnalités sélectionnées:\n\n\nAppelez la méthode selectFeatures.\nÉcoutez l&#39;événement onSelectionComplete.\nUne fois que onSelectionComplete est activé, récupérez les entités sélectionnées à l&#39;aide de la méthode getSelectedFeatures.\n\nLors de l&#39;édition de couches d&#39;entités en mode sélection, vous devez ajouter le service de carte associé au service d&#39;entités à la carte en tant que service de carte dynamique. Si le service de carte n&#39;est pas ajouté en tant que service de carte dynamique, les modifications ne seront pas visibles, car une fois les modifications terminées, la fonctionnalité n&#39;est plus sélectionnée.\n\n\n\nMODE_SNAPSHOT\nEn mode Instantané, la couche d&#39;entités récupère toutes les entités de la ressource de couche associée et les affiche sous forme de graphiques sur le client. Les expressions de définition et les définitions de temps sont honorées. Les entités sont récupérées une fois la couche d’entités ajoutée à la carte. Une fois que l&#39;événement onUpdateEnd a été déclenché, vous pouvez accéder aux fonctionnalités à l&#39;aide de la propriété graphics de la couche ou par le biais d&#39;opérations de sélection et de requête.\n\n\nPOPUP_HTML_TEXT\nLa popup affiche le contenu en HTML / TEXT.\n\n\nPOPUP_NONE\nAucun type de popup défini.\n\n\nPOPUP_URL\nLa popup affiche le contenu d&#39;une URL.\n\n\nSELECTION_ADD\nAjoute des fonctionnalités au jeu de sélection actuel.\n\n\nSELECTION_NEW\nCrée une nouvelle sélection.\n\n\nSELECTION_SUBTRACT\nSupprime les fonctionnalités de la sélection actuelle.\n\n\nPropriétés\n\n\n\nadvancedQueryCapabilities\nObjet\nUn objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue.\n\n\nallowGeometryUpdates\nBooléen\nRenvoie true si la géométrie des entités de la couche peut être modifiée, false sinon.\n\n\nallowUpdateWithoutValues\nBooléen\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées.\n\n\nattributionDataUrl\nChaîne\nL&#39;URL, le cas échéant, où sont stockées les données d&#39;attribution de la couche.\n\n\ncapacités\nChaîne\nInformations sur les fonctionnalités activées pour cette couche.\n\n\nnom du cours\nChaîne\nattribut de classe du nœud de la couche.\n\n\ndroits d&#39;auteur\nChaîne\nInformations de copyright pour la couche.\n\n\ntitre de compétence\nCredential\nFournit des informations d&#39;identification pour la couche, telles que l&#39;ID utilisateur et le jeton, si cette couche représente une ressource sécurisée avec une authentification par jeton.\n\n\ndataAttributes\nChaîne    | Chaîne[]\nListe des champs d&#39;attribut ajoutés en tant qu&#39;attributs de données personnalisés au nœud graphique.\n\n\ndefaultDefinitionExpression\nChaîne\nMétadonnées décrivant l&#39;expression de définition par défaut de la couche telle que définie par le service.\n\n\ndefaultVisibility\nBooléen\nIndique la visibilité par défaut de la couche.\n\n\nla description\nChaîne\nLa description de la couche telle que définie dans le service de carte.\n\n\ndisplayField\nChaîne\nNom du champ d&#39;affichage principal de la couche.\n\n\neditFieldsInfo\nObjet\nIndique les noms de champs pour les champs de l&#39;éditeur.\n\n\néditionInfo\nObjet\nApplicable aux services de fonctionnalités hébergés sur ArcGIS Online.\n\n\ndes champs\nChamp[]\nLe tableau de champs dans la couche.\n\n\nfullExtent\nAmpleur\nL&#39;étendue complète de la couche.\n\n\ngdbVersion\nChaîne\nLa version de la géodatabase.\n\n\ngeometryType\nChaîne\nType de géométrie des entités de la couche.\n\n\nglobalIdField\nChaîne\nLe globalIdField pour la couche.\n\n\ngraphique\nGraphique[]\nTableau de fonctionnalités dans la couche.\n\n\nhasAllFeatures\nBooléen\nIndique si le calque affiche toutes les entités intersectant la vue actuelle.\n\n\nhasAttachments\nBooléen\nVrai si les pièces jointes sont activées sur la couche d&#39;entités.\n\n\nhasAttributionData\nBooléen\nLorsque la valeur est true, la couche contient des données d&#39;attribution.\n\n\nhtmlPopupType\nChaîne\nLe type de popup html défini pour la couche.\n\n\nidentifiant\nChaîne\nID attribué à la couche.\n\n\ninfoTemplate\nInfoTemplate\nLe modèle d&#39;informations pour la couche.\n\n\nétiquetageInfo\nLabelClass[]\nDéfinition de l&#39;étiquette pour cette couche, spécifiée comme un tableau de classes d&#39;étiquettes.\n\n\nlayerId\nNombre\nID unique de la couche sur laquelle FeatureLayer a été construit.\n\n\nloadError\nErreur\nDéfinir si le chargement de la couche a échoué.\n\n\nchargé\nBooléen\nLorsque la couche est chargée, la valeur devient &quot;true&quot; et les propriétés de la couche sont accessibles.\n\n\nmaxAllowableOffset\nNombre\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables.\n\n\nmaxRecordCount\nNombre\nNombre maximal de résultats renvoyés par une requête.\n\n\nmaxScale\nNombre\nÉchelle maximale visible pour le calque.\n\n\néchelle min\nNombre\nÉchelle minimale visible pour le calque.\n\n\nmultipatchOption\nChaîne\nPrend en charge les services d&#39;entités dont la source de données est une classe multipatch.\n\nLa valeur par défaut est xyFootprint si geometryType est esriGeometryMultiPatch.\n\n\n\n\nprénom\nChaîne\nNom de la couche tel que défini dans le service de carte.\n\n\nobjectIdField\nChaîne\nNom du champ contenant le champ ID d&#39;objet pour la couche.\n\n\nopacité\nNombre\nOpacité ou transparence du calque.\n\n\npropertyBasedAccessControlForFeatures\nObjet\nIndique la configuration du contrôle d&#39;accès de propriété.\n\n\nintervalle de rafraîchissement\nNombre\nIntervalle de rafraîchissement de la couche en minutes.\n\n\ndes relations\nObjet[]\nChaque élément du tableau est un objet décrivant la relation de la couche avec une autre couche ou un autre tableau.\n\n\nmoteur de rendu\nRenderer\nLe rendu du calque.\n\n\nshowAttribution\nBooléen\nLorsque la valeur est true, l&#39;attribution de la couche est affichée sur la carte.\n\n\nshowLabels\nBooléen\nDétermine si les étiquettes sont affichées.\n\n\nla source\nLayerSource\nLe calque dynamique ou la source de la table.\n\n\ncoiffant\nBooléen\nIndique si le calque est responsable du style des graphiques.\n\n\nprend en chargeQueries avancées\nBooléen\nLorsque vrai, la couche prend en charge orderByFields dans une opération de requête.\n\n\nprend en chargeAttachementsParUploadId\nBooléen\nLorsque la valeur est true, la couche prend en charge le téléchargement de pièces jointes avec l&#39;opération REST Uploads, qui peut ensuite être utilisée dans les opérations REST Ajouter une pièce jointe ou Mettre à jour la pièce jointe.\n\n\nsoutientCalculer\nBooléen\nLorsque true, la couche prend en charge la Calculer Opération REST lors de la mise à jour des fonctionnalités.\n\n\nprend en charge la description du champ\nBooléen\nSi la valeur est true, la couche prend en charge une description de champ définie par l&#39;utilisateur.\n\n\nsupports statistiques\nBooléen\nLorsque la valeur est true, la couche prend en charge les fonctions statistiques dans les opérations de requête.\n\n\nsurfaceType\nChaîne\nType de surface graphique vectorielle utilisée pour dessiner des graphiques.\n\n\nsuspendu\nBooléen\nLorsque true, le calque est suspendu.\n\n\ndes modèles\nFeatureTemplate[]\nTableau de modèles d&#39;entités définis dans la couche Service d&#39;entités.\n\n\ntimeInfo\nTimeInfo\nInformations de temps pour la couche, telles que le champ Heure de début, le champ Heure de fin, le champ ID de piste, l&#39;étendue de temps des couches et l&#39;intervalle de temps d&#39;affichage.\n\n\ntype\nChaîne\nSpécifie le type de couche.\n\n\ntypeIdField\nChaîne\nLe champ qui représente le champ Type ID.\n\n\nles types\nFeatureType[]\nTableau de sous-types définis dans la couche de service d&#39;entités.\n\n\nurl\nChaîne\nURL de la ressource REST ArcGIS Server qui représente un service de carte.\n\n\nversion\nNombre\nLa version d&#39;ArcGIS Server où la couche est publiée.\n\n\nvisible\nBooléen\nVisibilité du calque.\n\n\nvisibleAtMapScale\nBooléen\nLorsque la valeur est true, le calque est visible à l&#39;échelle de la carte actuelle.\n\n\nwebglEnabled\nBooléen\nIndique si WebGL est activé sur la couche.\n\n\nLes méthodes\n\n\n\naddAttachment (objectId, formNode, callback ?, errback?)\nDifféré\nAjoutez une pièce jointe à la fonctionnalité spécifiée par ObjectId.\n\n\napplyEdits (ajoute ?, met à jour? supprime ?, rappel ?, errback?)\nDifféré\nAppliquez des modifications à la couche d&#39;entités.\n\n\nattr (nom, valeur)\nCouche\nAjoute un nouvel attribut ou modifie la valeur d&#39;un attribut existant sur le nœud de la couche.\n\n\nclair()\nAucun\nEfface tous les graphiques.\n\n\nclearSelection ()\nFeatureLayer\nEfface la sélection en cours.\n\n\ndeleteAttachments (objectId, attachmentIds, callback ?, errback?)\nDifféré\nSupprimez une ou plusieurs pièces jointes pour la fonctionnalité spécifiée par l&#39;objet ObjectId en entrée.\n\n\ndisableFeatureReduction ()\nAucun\nDésactive la réduction des fonctionnalités (par exemple la mise en cluster) sur la couche.\n\n\ndisableMouseEvents ()\nAucun\nDésactive tous les événements de la souris sur la couche graphique.\n\n\nenableFeatureReduction ()\nAucun\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur le calque en utilisant les options définies dans setFeatureReduction ().\n\n\nenableMouseEvents ()\nAucun\nActive tous les événements de souris sur la couche graphique.\n\n\ngetAggregateGraphics ()\nGraphique[]\nRenvoie des graphiques représentant l&#39;agrégation de plusieurs entités ponctuelles regroupées.\n\n\ngetAttributionData ()\nDifféré\nRenvoie de manière asynchrone des données personnalisées pour la couche lorsqu&#39;elles sont disponibles.\n\n\ngetDefinitionExpression ()\nChaîne\nRetourne l&#39;expression de définition actuelle.\n\n\ngetDomain (fieldName, options?)\nDomaine\nRetourne le domaine associé au nom de champ donné.\n\n\ngetEditCapabilities (options?)\nObjet\nRetourne un objet qui décrit les capacités d&#39;édition du calque.\n\n\ngetEditInfo (fonctionnalité, options?)\nObjet\nRetourne un objet décrivant l&#39;opération d&#39;édition la plus récente effectuée sur la fonction donnée, si disponible.\n\n\ngetEditSummary (fonctionnalité, options?)\nChaîne\nRetourne un résumé localisé de la dernière opération d&#39;édition effectuée sur la fonction donnée, si disponible.\n\n\ngetFeatureReduction ()\nObjet\nRenvoie les options utilisées pour réduire le nombre d&#39;entités visualisées par la couche (par exemple, la mise en cluster).\n\n\ngetField (fieldName)\nChamp\nRenvoie le Champ étant donné le nom de champ spécifié.\n\n\ngetMap ()\nCarte\nRenvoie la référence au contrôle de la carte auquel la couche est ajoutée.\n\n\ngetMaxAllowableOffset ()\nNombre\nRenvoie la valeur actuelle du maxAllowableOffset utilisé par la couche.\n\n\ngetNode ()\nHTMLElement\nRenvoie le nœud DOM de la couche.\n\n\ngetOrderByFields ()\nChaîne[]\nRenvoie la liste des champs utilisés pour commander les entités par.\n\n\ngetSelectedFeatures ()\nGraphique[]\nObtient les fonctionnalités actuellement sélectionnées.\n\n\ngetSelectionSymbol ()\nsymbole\nObtient le symbole de sélection actuel.\n\n\ngetSingleGraphics ()\nGraphique[]\nRenvoie les graphiques de la couche qui ne sont pas représentés par des graphiques agrégés lorsque la réduction des fonctionnalités (telle que la mise en cluster) est activée.\n\n\ngetTimeDefinition ()\nTimeExtent\nObtenir la définition de l&#39;heure actuelle appliquée à la couche d&#39;entités.\n\n\ngetType (fonctionnalité)\nFeatureType\nRetourne un FeatureType décrivant le type de l&#39;entité.\n\n\nhasUpdateError ()\nAucun\nIndique si une erreur est générée après la mise à jour de la couche.\n\n\nhasWebGLSurface ()\nBooléen\nIndique si le calque est rendu dans WebGL.\n\n\nhasXYFootprint ()\nBooléen\nRésultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint.\n\n\ncacher()\nAucun\nDéfinit la visibilité du calque sur &quot;false&quot;.\n\n\nisEditable ()\nBooléen\nRenvoie true si FeatureLayer est modifiable.\n\n\nisFeatureReductionActive ()\nBooléen\nIndique si la réduction des fonctionnalités (par exemple, la mise en cluster) est active dans la vue.\n\n\nisFeatureReductionEnabled ()\nBooléen\nIndique si la réduction de fonctionnalité (par exemple la mise en cluster) est activée.\n\n\nisVisibleAtScale (scale)\nBooléen\nRenvoie true si le calque est visible à l&#39;échelle donnée.\n\n\nqueryAttachmentInfos (objectId, callback ?, errback?)\nDifféré\nDemander des informations sur les pièces jointes associées aux ObjectIds spécifiés.\n\n\nqueryCount (requête, rappel ?, errback?)\nDifféré\nObtenez un nombre du nombre d&#39;entités qui satisfont la requête d&#39;entrée.\n\n\nqueryExtent (requête, rappel ?, errback?)\nDifféré\nObtenez l&#39;étendue des fonctionnalités qui répondent à la requête d&#39;entrée.\n\n\nqueryFeatures (requête, rappel ?, errback?)\nDifféré\nInterrogez les entités de la couche d&#39;entités.\n\n\nqueryIds (requête, rappel ?, errback?)\nDifféré\nRequête pour ObjectIds.\n\n\nqueryRelatedFeatures (relQuery, callback?, errback?)\nDifféré\nInterrogez des entités ou des enregistrements, provenant d&#39;une autre couche ou d&#39;une autre table, liés aux entités de cette couche.\n\n\nredessiner ()\nAucun\nRedessine tous les graphiques de la couche graphique.\n\n\nrafraîchir()\nAucun\nActualise les entités de la couche d’entités.\n\n\nenlever (graphique)\nGraphique\nSupprime un graphique.\n\n\nCV()\nAucun\nReprend le calque.\n\n\nselectFeatures (requête, selectionMethod?, callback?, errback?)\nDifféré\nSélectionne les fonctionnalités de FeatureLayer.\n\n\nsetAutoGeneralize (activer)\nFeatureLayer\nActiver ou désactiver la généralisation automatique pour la couche.\n\n\nsetDefinitionExpression (expression)\nFeatureLayer\nDéfinit l&#39;expression de définition pour FeatureLayer.\n\n\nsetEditable (éditable)\nFeatureLayer\nDéfinissez les possibilités d&#39;édition des couches d&#39;entités créées à partir d&#39;une collection d&#39;entités.\n\n\nsetFeatureReduction (options)\nAucun\nDéfinit les options de réduction des caractéristiques sur la couche (par exemple, les options de mise en cluster).\n\n\nsetGDBVersion (versionName)\nFeatureLayer\nDéfinissez la source de données de la couche sur la version de géodatabase spécifiée.\n\n\nsetInfoTemplate (infoTemplate)\nAucun\nSpécifiez ou modifiez le modèle d&#39;informations pour une couche.\n\n\nsetLabelingInfo (étiquetageInfo)\nAucun\nDéfinit les informations d&#39;étiquetage sur la couche.\n\n\nsetMaxAllowableOffset (offset)\nAucun\nDéfinit le décalage maximum autorisé utilisé lors de la généralisation des géométries.\n\n\nsetMaxScale (scale)\nAucun\nDéfinissez l&#39;échelle maximale pour le calque.\n\n\nsetMinScale (scale)\nAucun\nDéfinissez l&#39;échelle minimale pour le calque.\n\n\nsetOpacity (opacité)\nAucun\nOpacité initiale ou transparence du calque.\n\n\nsetRefreshInterval (intervalle)\nCouche\nModifie l&#39;intervalle d&#39;actualisation de la couche sur la valeur donnée (en minutes).\n\n\nsetRenderer (rendu)\nAucun\nDéfinissez le rendu pour la couche d&#39;entités.\n\n\nsetScaleRange (minScale, maxScale)\nAucun\nDéfinissez la plage d&#39;échelle pour le calque.\n\n\nsetSelectionSymbol (symbole)\nFeatureLayer\nDéfinit le symbole de sélection pour la couche d&#39;entités.\n\n\nsetShowLabels (showLabels)\nAucun\nDéfinit si les étiquettes doivent être affichées ou non.\n\n\nsetTimeDefinition (définition)\nFeatureLayer\nDéfinit la définition de l&#39;heure pour la couche d&#39;entités.\n\n\nsetTimeOffset (offsetValue, offsetUnits)\nFeatureLayer\nLe décalage temporel vous permet d&#39;afficher les entités à une heure différente afin qu&#39;elles puissent être superposées au-dessus des périodes précédentes ou futures.\n\n\nsetUseMapTime (mise à jour)\nAucun\nDéterminez si la couche mettra à jour son contenu en fonction de la durée actuelle de la carte.\n\n\nsetVisibility (isVisible)\nAucun\nDéfinit la visibilité du calque.\n\n\nsetWebGLEnabled (activer)\nAucun\nActive / désactive le rendu WebGL sur le calque.\n\n\nspectacle()\nAucun\nDéfinit la visibilité du calque sur &quot;true&quot;.\n\n\nsuspendre()\nAucun\nSuspend le dessin de calque.\n\n\ntoJson ()\nObjet\nRetourne une représentation d&#39;objet facilement sérialisable de la couche.\n\n\nÉvénements\n[[[[Evénements On Style | Événement de style de connexion ]\nTous les écouteurs d&#39;événement On Style reçoivent un seul objet d&#39;événement. De plus, l&#39;objet événement contient également une propriété &#39;cible&#39; dont la valeur est l&#39;objet qui a déclenché l&#39;événement.\n\nÉvénements\n\n\n\nadd-attachment-complete\n\n\r\n  résultat: &lt;FeatureEditResult&gt;\r\n\n\nSe déclenche lorsque addAttachments () est terminé.\n\n\navant-application-modifications\n\n\r\n  ajoute: &lt;Graphique[]&gt;\r\n  supprime: &lt;Graphique[]&gt;\r\n  mises à jour: &lt;Graphique[]&gt;\r\n\n\nDéclenché avant que les modifications ne soient appliquées à la couche d&#39;entités.\n\n\ncapacités-changement\n\nDéclenché lorsque les fonctionnalités de la couche sont modifiées à l&#39;aide de la méthode setEditable.\n\n\nCliquez sur\n\n\r\n  événement: &lt;Objet&gt;\r\n\n\nSe déclenche quand un graphique a été cliqué.\n\n\nclic-dbl\n\n\r\n  événement: &lt;Objet&gt;\r\n\n\nSe déclenche lorsqu&#39;une fonctionnalité a été double-cliquée.\n\n\ndelete-attachments-complete\n\n\r\n  résultats: &lt;Objet[]&gt;\r\n\n\nSe déclenche lorsque deleteAttachments est terminé.\n\n\néditions complètes\n\n\r\n  ajoute: &lt;FeatureEditResult[]&gt;\r\n  supprime: &lt;FeatureEditResult[]&gt;\r\n  mises à jour: &lt;FeatureEditResult[]&gt;\r\n\n\nSe déclenche une fois que applyEdits () est terminé.\n\n\nErreur\n\n\r\n  erreur: &lt;Erreur&gt;\r\n\n\nSe déclenche lorsqu&#39;il y a un problème de récupération d&#39;une couche.\n\n\ngdb-version-change\n\nDéclenché lorsque la version de la géodatabase est modifiée.\n\n\najouter graphique\n\n\r\n  graphique: &lt;Graphique&gt;\r\n\n\nSe déclenche lorsqu&#39;un graphique est ajouté à GraphicsLayer.\n\n\ngraphique dessiner\n\n\r\n  graphique: &lt;Graphique&gt;\r\n\n\nSe déclenche lorsqu&#39;un graphique est dessiné.\n\n\ngraph-node-add\n\n\r\n  graphique: &lt;Graphique&gt;\r\n  noeud: &lt;HTMLElement&gt;\r\n\n\nSe déclenche lorsque le nœud DOM d&#39;un graphique est créé et ajouté à la couche.\n\n\nnoeud-graphique-supprimer\n\n\r\n  graphique: &lt;Graphique&gt;\r\n  noeud: &lt;HTMLElement&gt;\r\n\n\nCet événement est déclenché lorsque le nœud DOM d&#39;un graphique est supprimé (considérez le nœud détruit).\n\n\nsupprimer graphique\n\n\r\n  graphique: &lt;Graphique&gt;\r\n\n\nSe déclenche lorsqu&#39;un graphique est supprimé du GraphicsLayer.\n\n\ngraphisme clair\n\nSe déclenche lorsque tous les graphiques du GraphicsLayer sont effacés.\n\n\nétiquetage-info-changement\n\nDéclenché lors du marquage des informations sur la couche.\n\n\ncharge\n\n\r\n  couche: &lt;Couche&gt;\r\n\n\nLes incendies après les propriétés de calque pour le calque ont été renseignés avec succès.\n\n\nsouris vers le bas\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est enfoncé et que le curseur de la souris est sur un graphique.\n\n\nfaites glisser la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris est déplacée jusqu&#39;à ce que le bouton de la souris soit relâché.\n\n\ndéplacer la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris se déplace dans un graphique du GraphicsLayer.\n\n\nsortie de souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris quitte un graphique du GraphicsLayer.\n\n\nsurvoler\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris entre pour la première fois dans un graphique du GraphicsLayer.\n\n\nla souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est relâché et que le curseur de la souris est sur un graphique.\n\n\nchangement d&#39;opacité\n\n\r\n  opacité: &lt;Nombre&gt;\r\n\n\nSe déclenche lorsque l&#39;opacité du calque a été modifiée et renvoie un objet avec la valeur d&#39;opacité.\n\n\nquery-attachment-infos-complete\n\n\r\n  info: &lt;Objet[]&gt;\r\n\n\nSe déclenche lorsque la méthode queryAttachmentInfos est appelée.\n\n\nrequête-compte-complet\n\n\r\n  compter: &lt;Nombre&gt;\r\n\n\nSe déclenche lorsque la requête pour le compte est terminée.\n\n\nrequête-étendue-complète\n\n\r\n  compter: &lt;Nombre&gt;\r\n  mesure: &lt;Ampleur&gt;\r\n\n\nSe déclenche lorsque la méthode queryExtent est terminée.\n\n\nrequête-fonctionnalités-complète\n\n\r\n  featureSet: &lt;Jeu de fonctionnalités&gt;\r\n\n\nSe déclenche lorsque queryFeatures () est terminée.\n\n\nquery-ids-complete\n\n\r\n  objectIds: &lt;Nombre[]&gt;\r\n\n\nSe déclenche lorsque queryIds () est terminée.\n\n\nlimite de requête dépassée\n\nDéclenché lorsque la couche d&#39;entités n&#39;a pas pu dessiner toutes les entités en raison d&#39;une limitation de maxRecordCount sur une opération de requête.\n\n\nrequête-related-features-complete\n\n\r\n  relatedFeatures: &lt;Objet&gt;\r\n\n\nSe déclenche lorsque queryRelatedFeatures () est terminée.\n\n\nrafraîchissement-intervalle-changement\n\nCet événement est déclenché lorsque la couche est intervalle de rafraîchissement est modifié.\n\n\nrafraichissement\n\nSe déclenche juste avant l&#39;actualisation de la couche et ne se déclenche que lorsque l&#39;actualisation est déclenchée par la commande refreshInterval.\n\n\nCV\n\nSe déclenche lorsqu&#39;un calque reprend son dessin.\n\n\nchangement de gamme d&#39;échelle\n\nSe déclenche lorsque les propriétés minScale et / ou maxScale d&#39;une couche sont modifiées.\n\n\néchelle-visibilité-changement\n\nSe déclenche lorsque la visibilité d&#39;échelle d&#39;un calque change.\n\n\nsélection-clear\n\nSe déclenche après l&#39;appel de clearSelection.\n\n\nsélection complète\n\n\r\n  caractéristiques: &lt;Graphique[]&gt;\r\n  méthode: &lt;Nombre&gt;\r\n\n\nSe déclenche lorsque selectFeatures () est terminé.\n\n\nshow-labels-change\n\nDéclenché lorsque les étiquettes de la couche d&#39;entités sont modifiées.\n\n\nsuspendre\n\nSe déclenche lorsqu&#39;un calque suspend le dessin.\n\n\nmettre à jour\n\nSe déclenche chaque fois qu&#39;une couche a fini de se charger ou de se mettre à jour.\n\n\nfin de mise à jour\n\n\r\n  erreur: &lt;Erreur&gt;\r\n  info: &lt;Objet&gt;\r\n\n\nDéclenché lorsque la couche a fini de mettre à jour son contenu.\n\n\nmise à jour-début\n\nDéclenché lorsque la couche commence à mettre à jour son contenu.\n\n\nchangement de visibilité\n\n\r\n  visible: &lt;Booléen&gt;\r\n\n\nSe déclenche lorsque la visibilité du calque a été modifiée et renvoie un objet avec une propriété booléenne visible contenant la nouvelle valeur de visibilité du calque.\n\n\n\nDétails du constructeur\n\nCrée une nouvelle instance d&#39;un objet de couche d&#39;entités à partir de la ressource REST ArcGIS Server identifiée par l&#39;URL d&#39;entrée. Une fois créé, vous pouvez éventuellement définir une expression de définition ou une définition de temps.\nParamètres: \n\n\n&lt;Chaîne&gt; url\nChamps obligatoires\nURL de la ressource REST ArcGIS Server qui représente un service de fonctionnalité. Un exemple est http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0. Pour plus d&#39;informations sur la construction d&#39;une URL, voir Le répertoire de services et l&#39;API REST.\n\n\n&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options.\n\n\n\noptions Propriétés: \n\n\n&lt;Booléen&gt; allowUpdateWithoutMValues\nOptionnel\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées. La valeur par défaut est faux.\n\n\n&lt;Booléen&gt; autoGeneralize\nOptionnel\nActiver ou désactiver la généralisation automatique des fonctionnalités d&#39;un calque non modifiable en mode à la demande. Lorsque la valeur est true, la couche utilise la résolution actuelle de la carte comme maxAllowableOffset pour toutes les requêtes envoyées au serveur. La valeur par défaut est true. À partir de v2.7\n\n\n&lt;Chaîne&gt; className\nOptionnel\nAttribut de classe à définir pour le nœud de la couche.\n\n\n&lt;Chaîne&gt; definitionExpression\nOptionnel\nClause Where à utiliser comme expression de définition pour la couche. Ajouté à la v3.11\n\n\n&lt;Booléen&gt; displayOnPan\nOptionnel\nLorsque la valeur est true, les graphiques sont affichés pendant le panoramique. Lorsque la valeur est false, les graphiques sont désactivés pendant le déplacement du panoramique. La définition de false peut améliorer les performances dans Internet Explorer. Le défaut est vrai.\n\n\n&lt;Une fonction&gt; editSummaryCallback\nOptionnel\nDéfinir une fonction de rappel qui sera appelée par  FeatureLayer.getEditSummary. À partir de v2.8\n\n\n&lt;Objet&gt; caractéristiqueRéduction\nOptionnel\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur les couches de points. Voir setFeatureReduction () pour plus de détails. Voir le fonctionRéduction tableau de spécification d&#39;objet ci-dessous pour les options pouvant être définies dans cet objet. \nLa prise en charge de la réduction des fonctionnalités est limitée aux scénarios suivants:\n\nDonnées de points (provenant du service ou de FeatureCollection).\nLa carte doit avoir une référence spatiale Web Mercator ou WGS84.\nSi la couche contient plus de 50 000 entités, seules les 50 000 premières seront mises en cluster.\nUne FeatureLayer créée à partir d&#39;une URL de service doit pointer vers un service prenant en charge la pagination (ArcGIS Server version 10.3.1 ou ultérieure).\nLorsque la modification est lancée avec le widget Editeur, la réduction des fonctionnalités est désactivée jusqu&#39;à ce que le widget Editeur soit détruit.\nLa réduction de fonctionnalité est désactivée lorsque la couche a l&#39;un des moteurs de rendu suivants: HeatmapRenderer,\n        BlendRenderer, Rendu temporel, ou\n        ScaleDependentRenderer.\n\n\n\n\n&lt;Chaîne&gt; gdbVersion\nOptionnel\nSpécifiez la version de la géodatabase à afficher. (À partir de v2.7). Requiert le service ArcGIS Server 10.1 ou supérieur\n\n\n&lt;Chaîne&gt; id\nOptionnel\nID unique à attribuer à la couche. Si non assigné, esri.Carte crée un identifiant unique.\n\n\n&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nLe modèle qui définit le contenu à afficher dans la fenêtre d&#39;informations de la carte lorsque l&#39;utilisateur clique sur une entité. Si non spécifié, la fenêtre d&#39;information ne sera pas affichée.\n\n\n&lt;Nombre&gt; maxAllowableOffset\nOptionnel\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables.\n\n\n&lt;Nombre&gt; mode\nOptionnel\nLe mode de requête pour la couche d&#39;entités. Chaque mode détermine quand et combien de fonctionnalités sont envoyées au client. Le mode par défaut consiste à interroger à la demande lorsque l&#39;étendue, l&#39;heure et la définition de la couche changent. Vous pouvez spécifier les valeurs suivantes:\n\nFeatureLayer.MODE_SNAPSHOT: les fonctionnalités sont extraites du serveur en fonction de DefinitionExpression et TimeDefinition. Si la définition change, la couche se met à jour en interrogeant les entités depuis le serveur. Une fois que les entités ont été récupérées sur le client, leur &quot;visibilité&quot; sur la carte est basée sur le temps et l&#39;étendue spatiale de la carte. Par exemple, pour une animation temporelle, vous pouvez demander toutes les fonctionnalités au serveur, puis ajuster l&#39;étendue temporelle sur la carte pour afficher uniquement un sous-ensemble.\nFeatureLayer.MODE_ONDEMAND: les fonctionnalités sont extraites du serveur selon les besoins.\nFeatureLayer.MODE_SELECTION: seules les fonctionnalités sélectionnées sont disponibles sur le client. Généralement utilisé en combinaison avec un service de carte dynamique affichant les entités pouvant être sélectionnées.\nFeatureLayer.MODE_AUTO: Les fonctionnalités sont extraites en mode à la demande ou en mode instantané, en fonction des caractéristiques du service. Applicable uniquement aux services d&#39;entités hébergés. Voir le tableau des constantes pour plus de détails.\n\nLa valeur par défaut est MODE_ONDEMAND.\nVoir le tableau des constantes pour plus de détails sur chaque mode.\n\n\n\n&lt;Nombre&gt; opacité\nOptionnel\nOpacité initiale ou transparence du calque. Les valeurs vont de 0,0 à 1,0, 0,0 étant transparent à 100% et 1,0 non transparent. La valeur par défaut est 1.0. Non pris en charge dans Internet Explorer.\n\n\n&lt;Chaîne[]&gt; orderByFields\nOptionnel\nUn ou plusieurs champs utilisés pour classer les entités &#8211; pour les requêtes ainsi que pour le rendu. \n\nSpécifiquement ASC (ascendant) ou DESC (décroissant) après le nom du champ pour contrôler l&#39;ordre. Exemple: [ \"POPULATION DESC\" ].\nLors de la visualisation d&#39;une couche d&#39;entités à l&#39;aide d&#39;un moteur de rendu avec dimensionnement basé sur les données, cette option est utile pour garantir que les entités plus petites sont dessinées par-dessus les plus grandes et ne sont pas cachées dessous.\nS&#39;il n&#39;est pas spécifié, la couche d&#39;entités choisira l&#39;ordre comme suit:\n\nLa couche a un rendu avec dimensionnement basé sur les données: ordre décroissant de Renderer.sizeInfo.field.\nLa couche a un ClassBreaksRenderer avec backgroundFillSymbol: ordre décroissant de Renderer.attributeField.\nLa couche a un ClassBreaksRenderer où chaque saut a différentes tailles de symbole: ordre décroissant de Renderer.attributeField.\n\n\n\n\n\n&lt;Chaîne[]&gt; les champs\nOptionnel\nUn tableau de chaînes qui correspondent aux champs à inclure dans FeatureLayer. Si non spécifié, la couche d&#39;entités renverra le champ OBJECTID et, le cas échéant, le champ d&#39;heure de début, le champ d&#39;heure de fin et le champ de type id. Vous pouvez spécifier [\"*\"]    Pour récupérer les valeurs de tous les champs de la couche, cela est utile lors de la modification des entités.\n\n\n&lt;Nombre&gt; refreshInterval\nOptionnel\nIntervalle de rafraîchissement de la couche en minutes. Une valeur autre que zéro définit l&#39;actualisation automatique de la couche à l&#39;intervalle spécifié.\n\n\n&lt;Objet&gt; resourceInfo\nOptionnel\nSpécifiez les métadonnées de la couche.\n\n\n&lt;Booléen&gt; showAttribution\nOptionnel\nLorsque la valeur est true, l&#39;attribution de la couche est affichée sur la carte. La valeur par défaut est true. Ajouté à la v3.1\n\r\n\r\n\r\n\r\nexiger([\r\n  \"esri/layers/FeatureLayer\", ... \r\n], function (FeatureLayer, ...) \r\n  var censusBlock = new FeatureLayer (layerUrl, \r\n    showAttribution: false\r\n  );\r\n  ...\r\n);\r\n\n\n\n\n&lt;Booléen&gt; showLabels\nOptionnel\nIndique si les étiquettes doivent être affichées sur la couche.\nSi un libellé est défini pour le FeatureLayer, les libellés s’affichent automatiquement si la carte showLabels est vrai. \nSi vous ne souhaitez pas que l’étiquette de la couche d’entité apparaisse, vous pouvez remplacer ce comportement en définissant son showLabels propriété à false.\nIndique si les étiquettes doivent être affichées. Si la valeur est true, toute FeatureLayer ajoutée à la carte sera automatiquement étiquetée en fonction de labelInfo. La valeur par défaut est false. Ajouté à la v3.11 \nREMARQUE: pour que les étiquettes s&#39;affichent, tous les champs utilisés par labelInfo doivent être définis dans les champs. De plus, seul un étiquetage simple est pris en charge, par exemple NOM DE VILLE. Par exemple, les mots-clés SQL tels que &quot;CONCAT&quot; ne sont pas pris en charge. Pensez à utiliser la classe LabelLayer où vous pouvez spécifier le  textexpression si besoin de plus de fonctionnalités. \n\r\n  \r\n  \r\n  \r\n  var map = nouvelle carte (&quot;map&quot;, showLabels: true);\r\n  ...\r\n  var fl1 = new FeatureLayer (url, showLabels: true, outFields: [\"*\"]);\r\n  var fl2 = new FeatureLayer (url2, showLabels: false, outFields: [\"*\"]);\r\n  map.addLayers ([fls, fl2])\r\n\nAjouté à la v3.11\n\n\n&lt;LayerSource&gt; source\nOptionnel\nLe calque dynamique ou la source de la table. L&#39;URL devrait se terminer par / dynamicLayer.\n\n\n&lt;Nombre&gt; carrelage\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#39;une valeur telle que 512&#215;256 n&#39;est pas prise en charge.\n\n\n&lt;Nombre&gt; largeur du carreau\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#39;une valeur telle que 512&#215;256 n&#39;est pas prise en charge.\n\r\nexiger([\r\n  \"esri/layers/FeatureLayer\", ... \r\n], function (FeatureLayer, ...) \r\n  var featureLayer = new FeatureLayer (&quot;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/1&quot;, \r\n    mode: FeatureLayer.MODE_ONDEMAND,\r\n    tileWidth: 200,\r\n    mosaïqueHauteur: 200\r\n  );\r\n  ...\r\n);\r\n\n\n\n\n&lt;Chaîne&gt; trackIdField\nOptionnel\nLe nom de la pisteIdField. \n\r\nexiger([\r\n  \"esri/layers/FeatureLayer\", ... \r\n], function (FeatureLayer, ...) \r\n  var featureLayer = new FeatureLayer (featureLayerURL, \r\n    mode: FeatureLayer.MODE_SELECTION,\r\n    trackIdField: &quot;Animal_1&quot;\r\n  );\r\n  ...\r\n);\r\n\n\n\n\n&lt;Booléen&gt; useMapTime\nOptionnel\nLorsque la valeur est true, la couche mettra à jour son contenu en fonction de la durée de la carte. Les valeurs par défaut sont true.\n\n\n&lt;Booléen&gt; visible\nOptionnel\nVisibilité initiale du calque. Le défaut est vrai.\n\n\n&lt;Booléen&gt; webglEnabled\nOptionnel\nIndique si la couche activera le rendu de WebGL. La valeur par défaut est vrai.\n\n\n\nSpécifications de l&#39;objet: \n&lt;fonctionRéduction&gt;\n\n\n&lt;Nombre&gt; clusterRadius\nOptionnel\nRayon en pixels de chaque zone dans laquelle plusieurs points seront résumés et visualisés sous la forme d&#39;un cluster unique.\n\n\n&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nL&#39;InfoTemplate utilisé pour afficher des informations récapitulatives sur les graphiques agrégés.\n\n\n&lt;Chaîne&gt; type\nChamps obligatoires\nLa méthode de réduction (ou agrégation) pour réduire les entités affichées sur la carte. La seule valeur valide est grappe.\n\n\n\nÉchantillon: \n\r\n\r\n\r\n\r\nexiger([\r\n  \"esri/InfoTemplate\", \"esri/layers/FeatureLayer\", ... \r\n], fonction (InfoTemplate, FeatureLayer, ...) \r\n  var infoTemplate = new InfoTemplate (&quot;$ FIELD_NAME&quot;, contenu);\r\n  var featureLayer = new FeatureLayer (&quot;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Petroleum/KGS_OilGasFields_Kansas/MapServer/0&quot;, \r\n    mode: FeatureLayer.MODE_ONDEMAND,\r\n    infoTemplate: infoTemplate,\r\n    outFields: [\"*\"]\r\n  );\r\n  ...\r\n);\r\n\n\n\nCrée une nouvelle instance d&#39;une couche d&#39;entités à l&#39;aide d&#39;un objet FeatureCollection. La couche d&#39;entités, lorsqu&#39;elle est initialisée avec un objet de collection d&#39;entités, présente le comportement suivant:\n\nLes modifications sont appliquées sur le client non publié sur le serveur.\nLa couche d&#39;entités génère un identifiant d&#39;objet unique pour les nouvelles entités.\nNe prend pas en charge les requêtes devant être effectuées sur le serveur, par exemple les requêtes avec une clause where ou des requêtes spatiales sans extension. \nLa méthode toJson de la couche d&#39;entités renvoie un objet avec les mêmes propriétés que la collection d&#39;objets. L&#39;objet renvoyé inclut toutes les entités présentes dans la couche lorsque la méthode est appelée. Cette méthode peut être utilisée pour accéder à une représentation sérialisable des fonctionnalités pouvant être enregistrées sur le serveur.\n\n\nParamètres: \n\n\n&lt;Objet&gt; featureCollectionObject\nChamps obligatoires\nUn objet de collection d&#39;entités. Voir les tableaux de spécifications d&#39;objets ci-dessous pour plus de détails.\n\n\n&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options.\n\n\n\nSpécifications de l&#39;objet: \n&lt;featureCollectionObject&gt;\n\n\n&lt;Objet&gt; featureSet\nChamps obligatoires\nUne collection de fonctionnalités.\n\n\n&lt;Objet&gt; layerDefinition\nChamps obligatoires\nLa structure est identique aux informations renvoyées par REST pour une couche dans un service de carte ou d&#39;entité. La définition de couche minimale requise pour créer un objet de collection d’entités dépend de la fonctionnalité requise, à savoir le temps, le rendu, etc.\n\n\n\nÉchantillon: \n\r\n\r\n\r\n\r\nexiger([\r\n  \"esri/layers/FeatureLayer\", ... \r\n], function (FeatureLayer, ...) \r\n  var layerDefinition = \r\n    &quot;geometryType&quot;: &quot;esriGeometryPolygon&quot;,\r\n    &quot;des champs&quot;: [\r\n      \"name\": \"BUFF_DIST\",\r\n      \"type\": \"esriFieldTypeInteger\",\r\n      \"alias\": \"Buffer Distance\"\r\n    ]\r\n  \r\n  var featureCollection = \r\n    layerDefinition: layerDefinition,\r\n    featureSet: null\r\n  ;\r\n  var featureLayer = new FeatureLayer (featureCollection, \r\n    showLabels: true\r\n  );\r\n  ...\r\n);\r\n\n\nDétails de la propriété\n\nUn objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue. Cet objet contient les propriétés existantes supports statistiques et prend en chargeQueries avancées qui est retourné dans le nouveau soutientOrderBy propriété. Pour la compatibilité ascendante supports statistiques et prend en chargeQueries avancées restera les propriétés de FeatureLayer.\n\r\n&quot;advancedQueryCapabilities&quot;: \r\n  &quot;supportsPagination&quot;: vrai,\r\n  &quot;supportsQueryWithDistance&quot;: true,\r\n  &quot;supportsReturningQueryExtent&quot;: true,\r\n  &quot;supportsStatistics&quot;: true,\r\n  &quot;supportsOrderBy&quot;: true,\r\n  &quot;supportsDistinct&quot;: vrai\r\n\r\n\n (Ajouté à la v3.12)\nÉchantillon: \n\r\n\r\n\r\n\r\nvar wildfireResponsePointsFeatureLayer = new FeatureLayer(url, featureLayerOptions);\r\nmap.addLayer(wildfireResponsePointsFeatureLayer);\r\n\r\nwildfireResponsePointsFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\r\n  console.log(&quot;advancedQueryCapabilities&quot;),   wildfireResponsePointsFeatureLayer.advancedQueryCapabilities);\r\n  /* Object supportsStatistics: true, supportsOrderBy: true, supportsDistinct: true */\r\n);\r\n\n\n\nReturns true if the geometry of the features in the layer can be edited, false otherwise. In ArcGIS Server version 10.1, this option can be configured when publishing the service. For earlier versions, this is always true. (Added at v2.8)\nKnown values: true | faux\n\n\nIndicates whether attribute features containing m-values can be edited. (Added at v3.21)\nValeur par défaut: faux\n\n\nThe URL, when available, where the layer&#39;s attribution data is stored. (Added at v3.1)\n\n\nInformation about the capabilities enabled for this layer.\n\n\nclass attribute of the layer&#39;s node. (Added at v3.7)\n\n\nCopyright information for the layer.\n\n\nProvides credential information for the layer such as userid and token if the layer represents a resource that is secured with token-based authentication. This value is available after the layer has been loaded i.e. layer.loaded est vrai. (Added at v2.5)\n\n\nList of attribute fields added as custom data attributes to graphics node. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)\n\n\nMetadata describing the default definition expression for the layer as defined by the service. The default definition expression limits the features available for display and query. You cannot override this value but you define additional filters on the default expression using the setDefinitionExpression method. For example, if the default definition expression is set to display data where &quot;STATE_NAME = &#39;California&#39;&quot; you could use setDefinitionExpression to only display a subset of the features in California, for example using &quot;COUNTY=&#39;San Diego&#39;&quot;.\n\n\nIndicates the default visibility for the layer. (Added at v3.0)\nKnown values: true | faux\nSample: \n\r\r\n\r\r\n\r\r\n\r\r\nvar isVisible = layer.defaultVisibility;\r\r\n\n\n\nThe description of the layer as defined in the map service.\n\n\nThe name of the layer&#39;s primary display field. The value of this property matches the name of one of the fields of the layer.\n\n\nIndicates the field names for the editor fields. If ownership based access control is not enabled for the feature service the value will be null. The object has the following properties:\n  \r\n     creatorField,\r\n     creationDateField,\r\n     editorField,\r\n     editDateField\r\n  \r\n\nRequires ArcGIS Server feature service version 10.1 or greater. (Added at v2.6)\n\n\nApplicable to ArcGIS Online hosted feature services. If present, this object specifies information about editing. See the object specifications table below for the structure of the editingInfo object. (Added at v3.28)\nObject Specifications: \n&lt;editingInfo&gt;\n\n\n&lt;Nombre&gt; lastEditDate\nChamps obligatoires\nA read-only value that indicates the last time a layer was edited. This value gets updated every time the layer data is edited or when any of the layer properties change. The value is depicted as a Unix timestamp, e.g. \n\r\n&quot;editingInfo&quot; : \r\n  &quot;lastEditDate&quot; : 1536363634886\r\n\r\n\n\n\n\n\n\nThe array of fields in the layer.\n\n\nThe full extent of the layer.\n\n\nThe geodatabase version. Only applicable if the layer&#39;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)\n\n\nGeometry type of the features in the layer. Can be one of the following: &quot;esriGeometryPoint&quot;, &quot;esriGeometryPolygon&quot; or &quot;esriGeometryPolyline&quot;.\n\n\nThe globalIdField for the layer.\n\n\nArray of features in the layer.\n\n\nIndicates whether the layer displays all features intersecting the current view. Typically, this method should be called after the layer emits the update-end un événement. (Added at v3.28)\nValeur par défaut: vrai\n\n\n\nTrue if attachments are enabled on the feature layer. Use the queryAttachmentInfos method to determine if the feature has attachments. If the layer is editable (isEditable) and supports attachments the following operations can be performed.\n\nAdd attachments to features.\nDelete existing attachments.\n\n\nKnown values: true | faux\n\n\nWhen true, the layer has attribution data. The default value is false.  Use the getAttributionData method to retrieve this data as JSON. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: faux\n\n\nThe html popup type defined for the layer. View the constants table for a list of valid values.\n\n\nID assigned to the layer. If not assigned, esri.Map assigns value. By default, the ID of the layer is &quot;layer&quot; followed by a number. The ID can be user defined only in the layer constructor.\nSample: \n\nSetting the layer ID in the layer constructor.\n\r\nrequire([\r\n  \"esri/layers/ArcGISDynamicMapServiceLayer\", ... \r\n], function(ArcGISDynamicMapServiceLayer, ... ) \r\n  var population = new ArcGISDynamicMapServiceLayer(&quot;http://myserver/arcgis/rest/population/MapServer/Layers&quot;, id:&quot;population&quot;);\r\n  ...\r\n);\r\n\n\nSetting the layer ID after a layer is initialized.\n\r\npopulation.id = &quot;population&quot;;\r\n\n\nRetrieving the layer ID.\n\r\nfunction getMapLayers() \r\n  for (var j=0, jl=map.layerIds.length; j&lt;jl; j++) \r\n    var currentLayer = map.getLayer(map.layerIds[j])\r\n    alert(&quot;id: &quot; + currentLayer.id);\r\n  \r\n\r\n\n\n\n\n\nThe info template for the layer. (Added at v3.9)\n\n\nLabel definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property.  (Added at v3.10)\nSample: \n\r\n\r\n\r\n\r\nlabelingInfo:[{\r\n  &quot;labelExpression&quot;: &quot;&quot;, //deprecated, labelExpressionInfo property should be used in its place\r\n  &quot;labelExpressionInfo&quot;: \r\n   &quot;value&quot;: &quot;City Of CITY_NAME has population POPULATION&quot;\r\n  ,\r\n  &quot;useCodedValues&quot;:  //parameters used when attribute field has domain values,\r\n  &quot;labelPlacement&quot;: &quot;above-right&quot;,\r\n  &quot;symbol&quot;: ..., //TextSymbol used for labeling\r\n  &quot;minScale&quot;: 0, //specified scale range where labels are visible\r\n  &quot;maxScale&quot;: 5000,\r\n  //fieldInfos structure describes attribute field formatting\r\n  &quot;fieldInfos&quot;:[\r\n     fieldName: &quot;created_date&quot;, format:  dateFormat: &quot;shortDate&quot; , //date/time formatting \r\n     fieldName: &quot;last_edited_date&quot;, format:  dateFormat: &quot;longDate&quot; ,  //date/time formatting\r\n     fieldName: &quot;eventtype&quot;, format:  places: 6, digitSeparator: true   //numeric formatting\r\n  ],\r\n  &quot;where&quot;: &quot;POP_RANK &gt; 2 AND POP_RANK \n\n\nUnique ID of the layer that the FeatureLayer was constructed against.\n\n\nSet if the layer failed to load. (Added at v3.9)\n\n\nWhen the layer is loaded, the value becomes &quot;true&quot;, and layer properties can be accessed.  The onLoad event is also fired.\nKnown values: true | faux\n\n\nThe maximum allowable offset, only applicable for layers that are not editable. (Added at v2.7)\n\n\nThe maximum number of results that will be returned from a query. Requires ArcGIS Server version 10.1 or greater. (Added at v2.6)\n\n\nMaximum visible scale for the layer. If the map is zoomed in beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a maximum scale. (Added at v3.1)\nValeur par défaut: 0\n\n\nMinimum visible scale for the layer. If the map is zoomed out beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a visible scale. (Added at v3.1)\nValeur par défaut: 0\n\n\nSupports feature services whose data source is a multipatch featureclass.\n\nDefault is xyFootprint if geometryType is esriGeometryMultiPatch. Otherwise, undefined.\nUser can override this property with a different choice in the future when FS supports it.\nQueries made through the FeatureLayer will include multipatchOption parameter if returnGeometry est vrai.\nApplies to snapshot, ondemand, selectFeatures, and queryFeatures\n\nRemarque: Requires ArcGIS 10.3 and above. (Added at v3.12)\nValeur par défaut: xyFootprint\nSample: \n\r\n\r\n\r\n\r\nvar infoTemplate = new InfoTemplate(&quot;Attributes&quot;, &quot;$*&quot;);\r\n\r\nvar url = &quot;http://servername.fqdn.suffix/arcgis/rest/services/Hosted/pasadena/FeatureServer/0&quot;;\r\nvar featureLayerOptions = \r\n  id: &quot;cities&quot;,\r\n  mode: FeatureLayer.MODE_AUTO,\r\n  outFields: [\"*\"],\r\n  infoTemplate: infoTemplate\r\n;\r\nvar citiesFeatureLayer = new FeatureLayer(url, featureLayerOptions);\r\n\r\nmap.addLayer(citiesFeatureLayer);\r\n\n\n\nThe name of the layer as defined in the map service.\n\n\nThe name of the field that contains the Object ID field for the layer.\n\n\nOpacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.\nKnown values: 0.0 - 1.0\nValeur par défaut: 1,0\n\n\nIndicates the ownership access control configuration. If ownership based access control is not enabled for the feature service the value will be null. If ownership based access control is not enabled for the feature service the value will be null. This object has two properties allowDeleteToOthers et allowUpdateToOthers. When true features can be deleted or updated by users other than the creator. \n\r\n\r\n   allowUpdateToOthers,\r\n   allowDeleteToOthers\r\n\r\n\n (Added at v2.6)\n\n\nRefresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. (Added at v3.7)\n\n\n\nEach element in the array is an object that describes the layer&#39;s relationship with another layer or table. Use the queryRelatedFeatures method to retrieve features or records related to a feature in this layer. The object has the following properties:\n\n\n\n           identifiant\n          \n\n            Unique ID for the relationship\n          \n\n\n\n                 prénom\n                \n\n                  Name of the relationship.\n                \n\n\n\n                       relatedTableId\n                      \n\n                        Unique ID of the related table or layer\n                      \n\n\n\nSample: \n\r\n\r\n\r\n\r\nvar relationships = wellFeatureLayer.relationships;\r\ndojo.forEach(relationships,function(relationship)\r\n  console.log(&quot;name: &quot; + relationship.name);\r\n  console.log(&quot;id: &quot; + relationship.id);\r\n  console.log(&quot;relationship id: &quot;   + relationship.relatedTableId);\r\n);\r\n\n\n\nThe renderer for the layer.\n\n\nWhen true, the layer&#39;s attribution is displayed on the map. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: vrai\n\n\nDetermines if labels are displayed. When false, labels for the layer are not displayed. \nIf the FeatureLayer has labeling defined on it, labels will automatically display if the Map&#39;s showLabels est vrai. \nIf you do not wish to have your feature layer label, you can override this behavior by setting its showLabels property to false.\nNOTE: In order for the labels to display, all fields used by the labelingInfo should be set in outFields. In addition, only simple labeling is supported, for example CITY_NAME. For example, SQL keywords such as &quot;CONCAT&quot; are not supported. Consider using the LabelLayer class where you can specify the  textExpression if needing more functionality. Added at v3.11\nKnown values: true | faux\nValeur par défaut: vrai\n\n\nThe dynamic layer or table source. (Added at v2.7)\n\n\nIndicates whether the layer is responsible for styling graphics. Quand vrai, styling is based on graphics symbol or the layer&#39;s renderer. Quand faux, graphics styling is disabled. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)\nKnown values: true | faux\n\n\nWhen true, the layer supports orderByFields in a query operation. Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux\n\n\nWhen true, the layer supports uploading attachments with Uploads REST operation, which then can be used in the Add Attachment or Update Attachment REST operations. Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux\n\n\nWhen true, the layer supports the Calculer REST operation when updating features.  Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux\n\n\nIf true, the layer supports a user-defined field description. Please see the ArcGIS Online help topic, Describe attribute fields for additional information. (Added at v3.28)\n\n\nWhen true, the layer supports statistical functions in query operations.  Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux\n\n\nType of vector graphics surface used to draw graphics. (Added at v3.7)\nKnown values: &quot;svg&quot; | &quot;canvas-2d&quot; | &quot;vml&quot;\nValeur par défaut: &quot;svg&quot; on all browsers - except IE8 or earlier where &quot;vml&quot; is used to draw graphics.\n\n\nWhen true, the layer is suspended. A layer is considered to be suspended when one of the following is true:\n\nThe layer is hidden.\nThe layer is not visible at the current map scale.\nThe layer is explicitly suspended by calling the Layer.suspend méthode.\n\n(Added at v3.1)\nKnown values: true | faux\n\n\nAn array of feature templates defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers.\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/layers/FeatureLayer\", \"dojo/_base/array\", ... \r\n], function(FeatureLayer, array, ... ) \r\n  var layer = new FeatureLayer( ... );\r\n  var templates = layer.templates;\r\n  array.forEach(templates,function(template)\r\n    console.log(template.description);\r\n    console.log(template.name);\r\n  );\r\n  ...\r\n);\r\n\n\n\nTime information for the layer, such as start time field, end time field, track id field, layers time extent and the draw time interval.  Only applicable if the layer is time aware.\n\n\nSpecifies the type of layer.  Can be &quot;Feature Layer&quot; or &quot;Table&quot;.\n\n\nThe field that represents the Type ID field. Only applicable for ArcGIS Server Feature Service layers.\n\n\nAn array of sub types defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers.\n\n\nThe version of ArcGIS Server where the layer is published. Examples are 9.3, 9.31, 10. (Added at v2.1)\n\n\nVisibility of the layer.\nKnown values: true | faux\nValeur par défaut: vrai\n\n\nWhen true, the layer is visible at the current map scale. (Added at v3.1)\nKnown values: true | faux\n\n\nIndicates if WebGL is enabled on the layer. Note that this doesn&#39;t indicate that WebGL is actually being used in the rendering. Use hasWebGLSurface() to check if the layer is drawn with WebGL. (Added at v3.24)\nValeur par défaut: vrai\n\nMethod Details\n\nParameters: \n\n\n&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature to which the attachment is added.\n\n\n&lt;HTMLFormElement&gt; formNode\nChamps obligatoires\nHTML form that contains a file upload field pointing to the file to be added as an attachment. If you are using HTML then your form should follow this basic pattern:\n\r\n\r\n  \r\n\r\n\nIf you wish to create the form data in JavaScript, then you can create a form using the following pattern:\n\r\nvar formData = new FormData();\r\nformData.append(&quot;attachment&quot;, file);\r\n\n\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the addAttachmentComplete event.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs during task execution.\n\n\n\n\nApply edits to the feature layer. Only applicable for layers in a feature service. \nREMARQUE: Date field values are always represented as numérique valeurs. This means that when updating existing features, date fields must have numeric values and not date objects.\n\nParameters: \n\n\n&lt;Graphic[]&gt; adds\nOptionnel\nArray of features to add to the layer in the feature service. New features are typically created using the Draw toolbar.\n\n\n&lt;Graphic[]&gt; updates\nOptionnel\n\nArray of features whose geometry and/or attributes have changed. Features must have a valid OBJECTID. The geometry of features is typically modified using the Edit toolbar. Attributes are modified using the Attribute Inspector.\n\n\n\n&lt;Graphic[]&gt; deletes\nOptionnel\nArray of features to delete. Must have valid ObjectId\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThis function will be called when the operation is complete. The arguments passed to this function are the same as the onEditsComplete event.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/layers/FeatureLayer\", ... \r\n], function(FeatureLayer, ... ) \r\n  var firePerimeterFL = new FeatureLayer( ... );\r\n  var targetGraphic = firePerimeterFL.getSelectedFeatures()[0].setGeometry(reshapedGeometry);\r\n  firePerimeterFL.applyEdits(null, [targetGraphic], null);\r\n  ...\r\n);\r\n\n\n\nAdds a new attribute or changes the value of an existing attribute on the layer&#39;s node. Removes the attribute if the value is nul ou indéfini. (Added at v3.7)\nParameters: \n\n\n&lt;Chaîne&gt; name\nChamps obligatoires\nThe name of the attribute.\n\n\n&lt;Chaîne&gt; value\nChamps obligatoires\nThe value of the attribute. Set this value as nul to remove the attribute.\n\n\n\n\nClears all graphics.\nSample: \n\r\r\n\r\r\n\r\r\n\r\r\ngraphicsLayer.clear();\r\r\n\n\n\nClears the current selection.\n\n\nDelete one or more attachments for the feature specified by the input ObjectId. Only applicable if isEditable and hasAttachments are true.\nParameters: \n\n\n&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature from which the attachment is removed.\n\n\n&lt;Nombre[]&gt; attachmentIds\nChamps obligatoires\nThe array of attachment ids to delete.\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.\n\n\n\n\nDisables feature reduction (for example clustering) on the layer. This is useful for certain workflows, such as editing, where feature reduction can hinder the desired user experience. Only applicable to point layers. (Added at v3.22)\nSample: \n\r\n\r\n\r\n\r\nfeatureLayer.disableFeatureReduction();\r\n\n\n\nDisables all mouse events on the graphics layer.\n\n\nEnables feature reduction (for example clustering) on the layer using the options set in setFeatureReduction(). Only applicable to point layers. (Added at v3.22)\nSample: \n\r\n  \r\n  \r\n  \r\n  featureLayer.enableFeatureReduction();\r\n\n\n\nEnables all mouse events on the graphics layer.\n\n\nReturns graphics representing the aggregation of several point features clustered together. Only applicable when feature reduction is enabled. (Added at v3.22)\nSample: \n\r\n\r\n\r\n\r\nvar aggregateGraphics = featureLayer.getAggregateGraphics();\r\n\n\n\nAsynchrously returns custom data for the layer when available. (Added at v3.1)\n\n\nReturns the current definition expression.\n\n\nParameters: \n\n\n&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field.\n\n\n&lt;Objet&gt; options\nOptionnel\nPlease see the options object specification table below.\n\n\n\n\nObject Specifications: \n&lt;options&gt;\n\n\n&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature in which the Domain is retrieved.NOTE: If the layer has sub-types, the domain will be calculated based on the feature type and domain defined for that type.\n\n\n\n\nReturns an object that describes the edit capabilities of the layer. The returned object has the following properties:\n\n\n canCreate\nWhen true, new features can be created.\n\n\n canUpdate\nWhen true, existing features can be updated.\n\n\n canDelete\nWhen true, features can be deleted.\n\n\n(Added at v2.6)\nParameters: \n\n\n&lt;Objet&gt; options\nOptionnel\nIf the layer supports ownership based access control, use the options to determine if the specified user can edit features. Ownership based access control requires ArcGIS Server services version 10.1 or greater. See the object specifications table below for the structure of the  options  objet.\n\n\n\nObject Specifications: \n&lt;options&gt;\n\n\n&lt;Graphic&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user.\n\n\n&lt;graphique&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user.\n\n\n&lt;Chaîne&gt; userId\nChamps obligatoires\nThe name of the currently logged in user. If the application uses the IdentityManager the IdentityManager supplies the layer with the userId so this parameter is not required.\n\n\n\nSample: \n\r\r\n\r\r\n\r\r\n\r\r\nvar capabilities = featureLayer.getEditCapabilities();\r\r\nif(capabilities.canUpdate)\r\r\n  console.log(&quot;This layer can be updated&quot;);\r\r\n\r\r\n\n\n\nReturns an object describing the most recent edit operation performed on the given feature, if available. (Added at v2.8)\nParameters: \n\n\n&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit info for.\n\n\n&lt;Objet&gt; options\nOptionnel\n    See the object specifications table below for the structure of the  options  objet.\n\n\n\n\nObject Specifications: \n&lt;options&gt;\n\n\n&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior.\n\n&#39;creation&#39; indicates creation summary is desired.\n&#39;edit&#39; indicates edit summary is desired.\n\n\n\n\n\nSample: \n\r\n\r\n\r\n\r\n\r\n  &quot;action&quot;        : &quot;creation&quot;, // or &quot;edit&quot;\r\n  &quot;userId&quot;        : &quot;Mike&quot;,\r\n  &quot;minutes&quot;       :  15,\r\n  &quot;hours&quot;         :  5,\r\n  &quot;weekDay&quot;       : &quot;Tuesday&quot;,\r\n  &quot;formattedDate&quot; : &quot;1/1/2012&quot;,\r\n  &quot;formattedTime&quot; : &quot;9:30 AM&quot;,\r\n  &quot;displayPattern&quot;: &quot;Minutes&quot;, // or &quot;Seconds&quot;, &quot;Minute&quot;, &quot;Hour&quot;, &quot;Hours&quot;, &quot;WeekDay&quot;, &quot;Full&quot;\r\n  &quot;timeValue&quot;     :  1330167842310\r\n\r\n\n\n\nReturns a localized summary of the last edit operation performed on the given feature, if available. Par exemple:\nEdited by Bjorn seconds ago\r\nEdited by Bjorn a minute ago\r\nEdited by Bjorn 15 minutes ago\r\nEdited by Bjorn an hour ago\r\nEdited by Bjorn 5 hours ago\r\nEdited by Bjorn on Tuesday at 1:30 PM\r\nEdited by Bjorn on 4/27/2014 at 11:30 AM\r\n\nThe word &quot;Edited&quot; will be replaced by &quot;Created&quot; if the author has disabled editorField attribute but enabled creatorField attribute. The user component and date-time component may or may not be available depending on your layer&#39;s edit tracking settings (see editFieldsInfo property of this layer for more information).\nAn empty string will be returned if:\n\nthe layer is not initialized or\nif the layer&#39;s edit tracking settings have been turned off or\nif the feature does not have edit tracking fields in its attributes.\n (Added at v2.8)\n\nParameters: \n\n\n&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit summary for.\n\n\n&lt;Objet&gt; options\nOptionnel\nSee the object specifications table below for the structure of the  options  objet.\n\n\n\nObject Specifications: \n&lt;options&gt;\n\n\n&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior.\n\n&#39;creation&#39; indicates creation summary is desired.\n&#39;edit&#39; indicates edit summary is desired.\n\n\n\n\n&lt;Une fonction&gt; callback\nChamps obligatoires\nIf you want to customize or override certain components of the summary, provide a callback function using this option. Par exemple:\nfeatureLayer.getEditSummary(feature, \r\n  callback: function(feature, info) \r\n    if (info &amp;&amp; info.userId) \r\n      info.userId = &quot;&quot; + info.userId + &quot;&quot;;\r\n    \r\n    return info;\r\n  \r\n);\n\n\n\n\n\nReturns the options used to reduce the number of features visualized by the layer (for example clustering). This is only applicable to point layers. See setFeatureReduction() for more details. (Added at v3.22)\nSample: \n\r\n\r\n\r\n\r\nfeatureLayer.getFeatureReduction();\r\n\n\n\nReturns the Champ given the specified field name. (Added at v3.12)\nParameters: \n\n\n&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field.\n\n\n\n\nReturns reference to the map control the layer is added to. Résultats nul ou indéfini if it is not added to a map. (Added at v3.7)\n\n\nReturns the current value of the maxAllowableOffset used by the layer. For non-editable layers in on-demand mode if autoGeneralize is enabled the maxAllowableOffset is set to the current map resolution. (Added at v2.7)\nSample: \n\r\r\n \r\r\n \r\r\n \r\r\n var currentOffset = featureLayer.getMaxAllowableOffset();\r\r\n\n\n\nReturns the layer&#39;s DOM node. (Added at v3.7)\n\n\nReturns the list of fields used to order features by. For queries as well as rendering. (Added at v3.8)\n\n\nGets the currently selected features.\n\n\nGets the current selection symbol.\n\n\nReturns graphics from the layer that are not represented by aggregate graphics when feature reduction (such as clustering) is enabled. (Added at v3.22)\nSample: \n\r\n\r\n\r\n\r\nvar singleGraphics = featureLayer.getSingleGraphics();\r\n\n\n\nGet the current time definition applied to the feature layer.\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/map\", \"esri/layers/FeatureLayer\", \"esri/layers/TimeInfo\", ... \r\n], function(Map, FeatureLayer, TimeInfo, ... ) \r\n  var timeSlider = new TimeSlider( ... );\r\n  var featureLayer = new FeatureLayer();\r\n  timeSlider.createTimeStopsByTimeInterval(featureLayer.getTimeDefinition(), \r\n    1, TimeInfo.UNIT_HOURS);\r\n  ...\r\n);\r\n\n\n\nReturns a FeatureType describing the feature&#39;s type. NOTE: This is applicable if the layer containing the feature has a TypeIdField. (Added at v3.12)\nParameters: \n\n\n&lt;Graphic&gt; feature\nChamps obligatoires\nA feature from this layer.\n\n\n\n\nIndicates whether an error is thrown after the layer updates. (Added at v3.24)\n\n\nIndicates if the layer is rendered in WebGL. (Added at v3.24)\n\n\nRésultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint. Quand vrai, the FeatureLayer will behave as if it were a polygon.\n\nAuto generalization will be enabled by default.\nAuto mode will treat the layer like a polygon layer.\n\n(Added at v3.12)\nSample: \n\r\n\r\n\r\n\r\ncitiesFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\r\n  var hasXYFootprint = citiesFeatureLayer.hasXYFootprint();\r\n  console.log(&quot;Contains xyfootprints:&quot;, hasXYFootprint);\r\n);\r\n\n\n\nSets the visibility of the layer to &quot;false&quot;.  The layer is not removed, but it is hidden from view.\n\n\n\nReturns true if the FeatureLayer is editable. If the layer is editable, one or more of the following operations can be performed depending on the permissions set on the service.\n\nAdd new features.\nModify the geometry and attributes of existing features.\nDelete features.\n\nTo see which of the above editing actions may be performed on the layer, execute getEditCapabilities() on the layer after verifying that isEditable() returns true.\n\n\nIndicates if feature reduction (for example clustering) is active in the view. Feature reduction is active at all scales. At any given scale, if there are features that do not fall within a cluster, they are displayed as individual features. This method is only applicable to point layers when feature reduction is enabled. (Added at v3.22)\nSample: \n\r\n\r\n\r\n\r\nfeatureLayer.isFeatureReductionActive();\r\n\n\n\nIndicates if feature reduction (for example clustering) is enabled. Only applicable to point layers. See also setFeatureReduction(). (Added at v3.22)\nSample: \n\r\n\r\n\r\n\r\nfeatureLayer.isFeatureReductionEnabled();\r\n\n\n\nReturns true if the layer is visible at the given scale. (Added at v3.1)\nParameters: \n\n\n&lt;Nombre&gt; scale\nChamps obligatoires\nThe scale at which to check if the layer is visible.\n\n\n\n\nQuery for information about attachments associated with the specified ObjectIds.\nParameters: \n\n\n&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId for the feature to query for attachment information.\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.\n\n\n\n\nGet a count of the number of features that satisfy the input query. Valid only for layers published using ArcGIS Server 10 SP1 or greater. Layers published with earlier versions of ArcGIS Server return an error to the error callback. (Added at v2.1)\nParameters: \n\n\n&lt;Question&gt; query\nChamps obligatoires\n\nThe input query. The query object has the following restrictions to avoid conflicts between layer and map properties.\n\noutFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.\n\n\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/tasks/query\", \"FeatureLayer\", ... \r\n], function(Query, FeatureLayer, ... ) {\r\n  var query = new Query();\r\n  var featureLayer = new FeatureLayer( ... );\r\n  query.where = &quot;POP90_SQMI \n\n\nGet the extent of features that satisfy the input query. The count of features that satisfy the input query is returned as well. This is valid only for hosted feature services on arcgis.com and for ArcGIS Server 10.3.1 and later. (Added at v3.9)\nParameters: \n\n\n&lt;Question&gt; query\nChamps obligatoires\nThe query definition.\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThe function called when the method has completed.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nThe function called when error occurred.\n\n\n\n\nQuery features from the feature layer. Layer definition and time definition are honored. Whenever possible the feature layer will perform the query on the client.\nParameters: \n\n\n&lt;Question&gt; query\nChamps obligatoires\n\nThe input query. The query object has the following restrictions to avoid conflicts between layer and map properties.\n\noutFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used. As of version 3.5 the returnGeometry value is honored.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.\n\n\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/layers/FeatureLayer\", \"esri/tasks/query\", ... \r\n], function(FeatureLayer, Query, ... ) \r\n  featureLayer = new FeatureLayer( ... );\r\n  var query = new Query();\r\n  query.objectIds =[features[features[features[features[0].attributes.OBJECTID];\r\n  query.outFields = [ \"*\" ];\r\n  // Query for the features with the given object ID\r\n  featureLayer.queryFeatures(query, function(featureSet) \r\n  );\r\n  ...\r\n);\r\n\n\n\nQuery for ObjectIds. There is no limit on the number of ObjectIds that are returned from the server. Like queryFeatures this operation will perform queries on the client (browser) whenever possible.  Valid only for layers published using ArcGIS Server 10 SP1 or greater.\nParameters: \n\n\n&lt;Question&gt; query\nChamps obligatoires\n\nThe input query. The query object has the following restrictions to avoid conflicts between layer and map properties.\n\noutFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.\n\n\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/layers/FeatureLayer\", \"esri/tasks/query\", ... \r\n], function(FeatureLayer, Query, ... ) \r\n  var featureLayer = new FeatureLayer( ... );\r\n  // create a query to fetch object IDs for all records\r\n  var query = new Query();\r\n  query.where = &quot;1=1&quot;;\r\n  \r\n  featureLayer.queryIds(query, function(objectIds) \r\n    //do something with the objectIds here\r\n  );\r\n  ...\r\n);\r\n\n\n\nQuery features or records, from another layer or table, related to features in this layer.\nParameters: \n\n\n&lt;RelationshipQuery&gt; relQuery\nChamps obligatoires\nThe input query.\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/layers/FeatureLayer\", \"esri/tasks/RelationshipQuery\", \"dojo/_base/connect\", ... \r\n], function(FeatureLayer, RelationshipQuery, connect, ... ) \r\n  var featureLayer = new FeatureLayer( ... );\r\n  var relatedQuery = new RelationshipQuery();\r\n  relatedQuery.outFields = [\"AGREE_WITH_INCIDENT\"];\r\n  relatedQuery.relationshipId = 1;\r\n  \r\n  //query for the features related to the &quot;clicked&quot; feature\r\n  connect.connect(featureLayer, &quot;onClick&quot;, function(evt) \r\n    graphicAttributes = evt.graphic.attributes;\r\n    relatedQuery.objectIds = [graphicAttributes.OBJECTID];\r\n    featureLayer.queryRelatedFeatures(relatedQuery,relatedRecords);\r\n  \r\n  ...\r\n);\r\n\n\n\nRedraws all the graphics in the graphics layer. Unlike refresh(), redraw does not re-query features from the server. (Added at v3.3)\n\n\nRefreshes the features in the feature layer. The feature layer requeries all the features in the service, except the selected features, and updates itself.\n\n\nRemoves a graphic.\nParameters: \n\n\n&lt;Graphic&gt; graphic\nChamps obligatoires\nThe graphic to remove.\n\n\n\n\nResumes layer drawing. (Added at v3.1)\n\n\nSelects features from the FeatureLayer. Layer properties like layer definition and time definition are honored. The selection method defines how query results are passed to the selection. The feature layer will highlight the current selection if a selection symbol has been defined. Whenever possible, the feature layer will perform the query operation on the client (browser).\nParameters: \n\n\n&lt;Question&gt; query\nChamps obligatoires\n\nThe input query. The query object has the following restrictions to avoid conflicts between layer and map properties.\n\noutFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.\n\n\n\n\n&lt;Nombre&gt; selectionMethod\nOptionnel\nThe selection method defines how the rest of the selection is combined with the existing selection. See Constants table for valid values. The default option is to create a new selection.\n\n\n&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the onSelectionComplete event.\n\n\n&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/tasks/query\", \"esri/layers/FeatureLayer\", ... \r\n], function(Query, FeatureLayer, ... ) \r\n  var query = new Query();\r\n  var featureLayer = new FeatureLayer( ... );\r\n  query.geometry = feature.geometry;\r\n  featureLayer.selectFeatures(query,FeatureLayer.SELECTION_NEW);\r\n  ...\r\n);\r\n\n\n\nEnable or disable auto generalization for the layer. Note that auto generalization is only applicable to non-editable feature layers in on-demand mode. (Added at v2.7)\nParameters: \n\n\n&lt;Booléen&gt; enable\nChamps obligatoires\nWhen true, auto generalize is enabled. Default value for non-editable on-demand feature layers is true.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nfeatureLayer.setAutoGeneralize(false);\r\n\n\n\n\nSets the definition expression for the FeatureLayer. Only the features that match the definition expression are displayed. A definition expression limits the features available for display and queries by applying constraints to the layer&#39;s attribute fields. Setting a definition expression is useful when the dataset is large and you don&#39;t want to bring everything to the client for analysis. This method is typically called before adding the layer to the map. If the method is called after the layer is added to the map the layer will refresh itself to reflect the new definition expression.\nThis definition expression is combined with the layer&#39;s default definition expression which results in a further restriction of the layer.\n\nParameters: \n\n\n&lt;Chaîne&gt; expression\nChamps obligatoires\nThe definition expression to apply. For example, &quot;TYPE=&#39;Park&#39;&quot;\n\n\n\nSample: \n\r\n\r\n\r\n\r\nfeatureLayer.setDefinitionExpression(&quot;STATE_NAME = &#39;South Carolina&#39;&quot;);\r\n\n\n\nSet the editability of feature layers created from a feature collection. This method is only valid for feature layers created from feature collections. \nWhen the feature layer&#39;s editability is updated the onCapabilitiesChange event is fired. Utilisez le isEditable method to determine if the layer is editable. \n (Added at v2.6)\nParameters: \n\n\n&lt;Booléen&gt; editable\nChamps obligatoires\nWhen true, the layer will be set as editable.\n\n\n\nSample: \n\r\r\n\r\r\n\r\r\n\r\r\nfeatureLayer.setEditable(true);\r\r\n\n\n\nSets feature reduction options on the layer (for example clustering options). When set, features in the layer will aggregate, thus changing the visualization. This will not change the renderer of the layer. See the valid parameters in the table below.\nSupport for feature reduction is limited to the following scenarios:\n\nPoint data in FeatureLayer (from service or FeatureCollection) and CSVLayer.\nThe map must have a spatial reference of Web Mercator or WGS84.\nIf the layer contains more than 50,000 features, then only the first 50,000 will be clustered.\nA FeatureLayer created from a service URL must point to a service that supports pagination (ArcGIS Server version 10.3.1 or higher).\nWhen editing is initiated with the Editor widget, then feature reduction is disabled until the Editor widget is destroyed.\nFeature reduction is disabled when the layer has one of the following renderers: HeatmapRenderer,\n        BlendRenderer, TemporalRenderer, ou\n        ScaleDependentRenderer.\n\n(Added at v3.22)\nParameters: \n\n\n&lt;Objet&gt; options\nChamps obligatoires\nOptions for reducing (or aggregating) the features in the map. See the table below for more details.\n\n\n\nObject Specifications: \n&lt;options&gt;\n\n\n&lt;Nombre&gt; clusterRadius\nOptionnel\nThe radius in pixels of each area in which multiple points will be summarized and visualized as a single cluster. The default value is 80.\n\n\n&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nThe InfoTemplate used to display summary information about aggregate graphics.\n\n\n&lt;Chaîne&gt; type\nChamps obligatoires\nThe reduction (or aggregation) method for reducing the features displayed in the map. The only valid type is grappe.\n\n\n\nSample: \n\r\n  \r\n  \r\n  \r\n  featureLayer.setFeatureReduction(\r\n    type: &quot;cluster&quot;,\r\n    clusterRadius: 60\r\n  );\r\n\n\n\nSet the layer&#39;s data source to the specified geodatabase version. If the versionName is null then the data source will be the published map&#39;s default version. Only applicable if the layer&#39;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)\nParameters: \n\n\n&lt;Chaîne&gt; versionName\nChamps obligatoires\nThe name of the geodatabase version to use as the layer&#39;s data source.\n\n\n\n\nSpecify or change the info template for a layer. (Added at v2.2)\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/InfoTemplate\", ... \r\n], function(InfoTemplate, ... ) \r\n    var template = new InfoTemplate();\r\r\n    template.setTitle(&quot;$qAddress&quot;);\r\r\n    template.setContent(getTextContent);\r\r\n    featureLayer.setInfoTemplate(template);\r\n  ...\r\n);\r\n\n\n\nSets labeling info on the layer. Input value is an array of LabelClass objects. (Added at v3.10)\nParameters: \n\n\n&lt;LabelClass[]&gt; labelingInfo\nChamps obligatoires\nThis is the label definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property.\n\n\n\nSample: \n\r\n\r\n\r\n\r\n//make sure the Map&#39;s showLabels option is set to true\r\n  var map = new Map(&quot;map&quot;, \r\n    basemap: &quot;streets&quot;,\r\n    center:[-80, 30],\r\n    zoom: 5,\r\n    showLabels : true\r\n  );\r\n \r\n//create featurelayer\r\n  var flayer = new FeatureLayer(url, \r\n    outFields: [\"*\"] //make sure field to label is specified here in outFields\r\n  );\r\n\r\n\r\n//create a text symbol and renderer to define the style of labels\r\n   var labelSymbol = new TextSymbol(); \r\n   var labelRenderer = new SimpleRenderer(labelSymbol);\r\n\r\n\r\nvar json = \r\n  &quot;labelExpressionInfo&quot;: &quot;value&quot;: &quot;LocalTime&quot;,\r\n  &quot;useCodedValues&quot;: false,\r\n  &quot;labelPlacement&quot;:&quot;above-right&quot;,\r\n  &quot;fieldInfos&quot;: [fieldName: \"LocalTime\",format:  \"dateFormat\": \"shortDate\"]\r\n  ;\r\n\r\n//create instance of LabelClass\r\n  var lc = new LabelClass(json);\r\n  lc.symbol = labelSymbol; // symbol also can be set in LabelClass&#39; json\r\n  flayer.setLabelingInfo([ lc ])\r\n\n\n\nSets the maximum allowable offset used when generalizing geometries. The offset is in the units of the spatialReference. This is ignored when working with editable layers.\nParameters: \n\n\n&lt;Nombre&gt; offset\nChamps obligatoires\nThe maximum allowable offset.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/layers/FeatureLayer\", ... \r\n], function(FeatureLayer, ... ) \r\n  featureLayer = new FeatureLayer(featureLayerUrl, \r\n    maxAllowableOffset: 1000\r\n  );\r\n  ...\r\n);\r\n\n\n\nSet the maximum scale for the layer. (Added at v3.1)\nParameters: \n\n\n&lt;Nombre&gt; scale\nChamps obligatoires\nThe maximum scale at which the layer is visible.\n\n\n\n\nSet the minimum scale for the layer. (Added at v3.1)\nParameters: \n\n\n&lt;Nombre&gt; scale\nChamps obligatoires\nThe minimum scale at which the layer is visible.\n\n\n\n\nInitial opacity or transparency of layer. Not supported in Internet Explorer.\nParameters: \n\n\n&lt;Nombre&gt; opacity\nChamps obligatoires\nValue from 0 to 1, where 0 is 100% transparent and 1 has no transparency. The default value is 1.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nfeatureLayer.setOpacity(.50);\r\n\n\n\nChanges the layer&#39;s refresh interval to the given value (in minutes). Non-zero value sets up automatic layer refresh at the specified interval. Value of 0 stops auto refresh. (Added at v3.7)\nParameters: \n\n\n&lt;Nombre&gt; interval\nChamps obligatoires\nRefresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled.\n\n\n\n\nSet the renderer for the feature layer.\nParameters: \n\n\n&lt;Renderer&gt; renderer\nChamps obligatoires\nThe renderer to apply to the feature layer\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/symbols/SimpleFillSymbol\", \"esri/Color\", \"esri/renderers/SimpleRenderer\", ... \r\n], function(SimpleFillSymbol, Color, SimpleRenderer, ... ) \r\n  var symbol = new SimpleFillSymbol().setColor(new Color([255,0,0,0.5]));\r\r\n  var renderer = new SimpleRenderer(symbol);\r\r\n  featureLayer.setRenderer(renderer);\r\n  ...\r\n);\r\n\n\n\nSet the scale range for the layer.  If minScale and maxScale are set to 0 then the layer will be visible at all scales. (Added at v2.5)\nParameters: \n\n\n&lt;Nombre&gt; minScale\nChamps obligatoires\nThe minimum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a minimum scale.\n\n\n&lt;Nombre&gt; maxScale\nChamps obligatoires\nThe maximum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a maximum scale.\n\n\n\nSample: \n\r\r\n\r\r\n\r\r\n\r\r\nfeatureLayer.setScaleRange(591657528,147914381);\r\r\n\n\n\nSets the selection symbol for the feature layer. If no symbol is specified, features are drawn using the layer&#39;s renderer.\nParameters: \n\n\n&lt;symbole&gt; symbol\nChamps obligatoires\nSymbol for the current selection. Make sure the symbol type is appropriate for the geometry type of the layer.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/layers/FeatureLayer\", \"esri/symbols/SimpleFillSymbol\", \"esri/Color\", ... \r\n], function(FeatureLayer, SimpleFillSymbol, Color, ... ) \r\n  var featureLayer = new FeatureLayer( ... );\r\n  var selectionSymbol = new SimpleFillSymbol().setColor(new Color([255,255,0,0.5]));\r\n  featureLayer.setSelectionSymbol(selectionSymbol);\r\n  ...\r\n);\r\n\n\n\nSets whether to display labels or not. Set to false to turn off labeling. (Added at v3.11)\nParameters: \n\n\n&lt;Booléen&gt; showLabels\nChamps obligatoires\nSet to true to show labels.\n\n\n\n\n\nSets the time definition for the feature layer. A time definition temporarily filters the features in the layer to match the specified time extent. Only applicable for time-aware layers. Only supported when the feature layer is in snapshot mode. \nIn addition to time definition, time-aware layers also support the time extent set on the map. Time-aware layers automatically update when the map&#39;s time extent is changed, similar to how layers react when the map&#39;s spatial reference is modified. If a layer&#39;s time definition is set to display features between 1970 and 1975 and the map has a time extent set to 1972-1980, the effective time on the feature layer will be 1972-1975 \n\nParameters: \n\n\n&lt;TimeExtent&gt; definition\nChamps obligatoires\nThe new time extent used to filter the layer.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"esri/TimeExtent\", \"esri/layers/FeatureLayer\", ... \r\n], function(TimeExtent, FeatureLayer, ... ) \r\n  var defn = new TimeExtent();\r\n  var featureLayer( ... );\r\n  defn.startTime = new Date(&quot;November 30,2009 6:00:00&quot;)\r\n  defn.endTime = new Date(&quot;November 30, 2009 8:00:00&quot;);\r\n  featureLayer.setTimeDefinition(defn);\r\n  ...\r\n);\r\n\n\n\n\nTime offset allows you to display the features at a different time so they can be overlaid on top of previous or future time periods. For example, to visualize the growth pattern of two wild fires that happened in two different years, one of the layers can be given an offset that will cause it to appear as if the fire started at the same time as the other fire. Note that the offset does not change the temporal component of the data itself and has no effect if the layer is not time aware.\nExample: If a layer has data recorded for the year 1970, an offset value of 2 years would temporarily shift the data to 1972 (for display purposes only, query and selection are not affected by offset).\n\nParameters: \n\n\n&lt;Nombre&gt; offsetValue\nChamps obligatoires\nThe length of time to offset from &quot;this&quot; time. Specify a positive or negative whole number.\n\n\n&lt;Chaîne&gt; offsetUnits\nChamps obligatoires\nUnits in which the offset is specified. See the TimeInfo constants for valid values.\n\n\n\n\nDetermine if the layer will update its content based on the map&#39;s current time extent. Default value is true. (Added at v2.2)\nParameters: \n\n\n&lt;Booléen&gt; update\nChamps obligatoires\nWhen false the layer will not update its content based on the map&#39;s time extent. Default value is true.\n\n\n\n\nSets the visibility of the layer. When true, the layer is visible.\nParameters: \n\n\n&lt;Booléen&gt; isVisible\nChamps obligatoires\nSet the visibility of the layer.\n\n\n\n\nToggles WebGL rendering on/off on the layer. (Added at v3.24)\nParameters: \n\n\n&lt;Booléen&gt; enable\nChamps obligatoires\nIndicates whether to enable WebGL on the layer.\n\n\n\nSample: \nlayer.setWebGLEnabled(true);\n\n\nSets the visibility of the layer to &quot;true&quot;.\n\n\nSuspends layer drawing. (Added at v3.1)\n\n\n\nReturns an easily serializable object representation of the layer. Regardless of the layer&#39;s mode of operation, only features currently available on the client are included.\n\r\r\n\r\r\n\r\r\n\r\r\n\r\r\n  layerDefinition: ,\r\r\n    featureSet: \r\r\n    features:\r\r\n  \r\r\n\r\r\n\n\nDétails de l&#39;évènement\n[[[[On Style Events | Connect Style Event ]\n\n\nFires when addAttachments() is complete. Should be used in favor of onAddAttachmentComplete. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added.\n\n\n\n\nFired before edits are applied to the feature layer. Should be used in favor of onBeforeApplyEdits. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service.\n\n\n&lt;Graphic[]&gt; deletes\nArray of features to delete.\n\n\n&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed.\n\n\n\n\nFired when the capabilities of the layer are modified using the setEditable method. Should be used in favor of onCapabilitiesChange. (Added at v3.5)\n\n\nFires when a graphic has been clicked. Should be used in favor of onClick. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.\n\n\n\n\nFires when a feature has been double clicked. (Added at v3.6)\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic.\n\n\n\nSample: \n\r\n\r\n\r\n\r\nrequire([\r\n  \"dojo/_base/connect\", \"esri/toolbars/Edit\", ... \r\n], function(connect, Edit, ... ) \r\n  var editToolbar = new Edit( ... );\r\n  connect.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt) \r\n    editToolbar.activate(Edit.EDIT_VERTICES , evt.graphic);\r\n  );\r\n  ...\r\n);\r\n\n\n\nFires when deleteAttachments is complete. Should be used in favor of onDeleteAttachmentsComplete. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Objet[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed.\n\n\n\n\nFires after applyEdits() is complete. Should be used in favor of onEditsComplete. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;FeatureEditResult[]&gt; adds\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature.\n\n\n&lt;FeatureEditResult[]&gt; deletes\nAn array of result objects, one for each feature, indicating if it was successfully deleted. If the feature was deleted the result object will contain the unique object ID previously assigned to the feature.\n\n\n&lt;FeatureEditResult[]&gt; updates\nAn array of result objects, one for each feature, indicating if it was successfully updated. If the feature was updated the result object will contain the unique object ID assigned to the feature.\n\n\n\n\nFires when there is a problem retrieving a layer. Should be used in favor of onError. (Added at v3.5)\n\n\nFired when the geodatabase version is switched. (Added at v3.5)\n\n\nFires when a graphic is added to the GraphicsLayer. Should be used in favor of onGraphicAdd. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Graphic&gt; graphic\nThe added graphic.\n\n\n\n\nFires when a graphic is drawn. A graphic is drawn or redrawn when:\n\nWhen it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn.\n\n(Added at v3.7)\nEvent Object Properties: \n\n\n&lt;Graphic&gt; graphic\nGraphic being drawn. When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#39;s DOM node is accessible with graphic.getNode().\n\n\n\n\nFires when a graphic&#39;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\n\n\nThis event is fired when a graphic&#39;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:\n\nGraphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image).\n\n    Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\n\n\nFires when a graphic is removed from the GraphicsLayer. Should be used in favor of onGraphicRemove. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Graphic&gt; graphic\nThe removed graphic.\n\n\n\n\nFires when all graphics in the GraphicsLayer are cleared. Should be used in favor of onGraphicsClear. (Added at v3.5)\n\n\nFired when labeling info on the layer changes. (Added at v3.10)\n\n\nFires after layer properties for the layer are successfully populated. This event must be successful before the layer can be added to the map. Should be used in favor of onLoad. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Couche&gt; layer\nThe loaded layer.\n\n\n\n\nFires when a mouse button is pressed down and the mouse cursor is on a graphic. Should be used in favor of onMouseDown. (Added at v3.5)\n\n\nFires while the mouse is being dragged until the mouse button is released. Should be used in favor of onMouseDrag. (Added at v3.5)\n\n\nFires as the mouse moves through a graphic on the GraphicsLayer. Should be used in favor of onMouseMove. (Added at v3.5)\n\n\nFires as the mouse exits a graphic on the GraphicsLayer. Should be used in favor of onMouseOut. (Added at v3.5)\n\n\nFires when the mouse first enters into a graphic on the GraphicsLayer. Should be used in favor of onMouseOver. (Added at v3.5)\n\n\nFires when a mouse button is released and the mouse cursor is on a graphic. Should be used in favor of onMouseUp. (Added at v3.5)\n\n\nFires when the layer opacity has been changed, and returns an object with the opacity value. Should be used in favor of onOpacityChange. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Nombre&gt; opacity\nFires when the layer opacity (transparency) changes. A number property named opacity that indicates the new opacity. Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.\n\n\n\n\nFires when queryAttachmentInfos method is called. Should be used in favor of onQueryAttachmentInfosComplete. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Objet[]&gt; info\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size.\n\n\n\n\nFires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. Should be used in favor of onQueryCountComplete. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Nombre&gt; count\nThe number of features that satisfy the input query.\n\n\n\n\nFires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties: \n\n\n&lt;Nombre&gt; count\nThe count of features.\n\n\n&lt;Extent&gt; extent\nThe extent of features.\n\n\n\n\nFires when queryFeatures() is complete. Should be used in favor of onQueryFeaturesComplete. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query.\n\n\n\n\nFires when queryIds() is complete. Should be used in favor of onQueryIdsComplete. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Nombre[]&gt; objectIds\nArray of ObjectIds returned from the query.\n\n\n\n\nFired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. Should be used in favor of onQueryLimitExceeded. (Added at v3.5)\n\n\nFires when queryRelatedFeatures() is complete. Should be used in favor of onQueryRelatedFeaturesComplete. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table.\n\r\n\r\n  &quot;15&quot;: ,\r\n  &quot;9&quot;:  \r\n\r\n\n\n\n\n\n\nThis event is fired when the layer&#39;s refreshInterval is modified. (Added at v3.7)\n\n\nFires right before the actual refresh kicks in for the layer, and only fires when the refresh is triggered by the refreshInterval.  (Added at v3.27)\n\n\nFires when a layer resumes drawing. (Added at v3.6)\n\n\nFires when a layer&#39;s minScale and/or maxScale is changed. Should be used in favor of onScaleRangeChange. (Added at v3.5)\n\n\nFires when a layer&#39;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#39;s scale range or vice versa. Should be used in favor of onScaleVisibilityChange. (Added at v3.5)\n\n\nFires after clearSelection has been called. Should be used in favor of onSelectionClear. (Added at v3.5)\n\n\nFires when selectFeatures() completes. Should be used in favor of onSelectionComplete. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set.\n\n\n&lt;Nombre&gt; method\nSelection method used in the selectFeatures method.\n\n\n\n\nFired when the feature layer&#39;s labels are changed. Should be used in favor of onShowLabelsChange. (Added at v3.11)\n\n\nFires when a layer suspends drawing. (Added at v3.6)\n\n\nFired when the layer has finished updating its content. This event is always preceded by update-start. Should be used in favor of onUpdateEnd. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update.\t\n\n\n&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8\n\n\n\n\nFired when the layer begins to update its content. The following table describes when the event is fired in various modes.\n\n\n\nInstantané\n\n\n\nWhen the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#39;s time extent changes.\nWhen the layer is refreshed.\n\n\n\n\n\nOnDemand\n\n\n\nWhen the layer is added to the map.\nWhen the map&#39;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed.\n\n\n\n\n\nSelection\n\n\nThe event is not fired in selection mode. \n\n\n\n(Added at v3.6)\n\n\nFires when the layer visibility has been changed, and returns an object with a Boolean visible property containing the new visibility value of the layer. Should be used in favor of onVisibilityChange. (Added at v3.5)\nEvent Object Properties: \n\n\n&lt;Booléen&gt; visible\nFires when the layer visibility changes. A boolean property named visible indicates whether or not the layer is visible after visibility changed.\n\n\n\n\n\n\nFires when addAttachments() is complete.\nEvent Object Properties: \n\n\n&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added.\n\n\n\n\nFired before edits are applied to the feature layer.\nEvent Object Properties: \n\n\n&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service.\n\n\n&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed.\n\n\n&lt;Graphic[]&gt; deletes\nArray of features to delete.\n\n\n\n\nFired when the capabilities of the layer are modified using the setEditable méthode. (Added at v2.6)\nSample: \n\r\r\n\r\r\n\r\r\n\r\r\ndojo.connect(featureLayer,&#39;onCapabilitiesChange&#39;,function()\r\r\n  var capabilities = featureLayer.getEditCapabilities();\r\r\n);\r\r\n\n\n\nFires when a graphic has been clicked.\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.\n\n\n\n\nFires when a feature has been double clicked.\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic.\n\n\n\nSample: \n\r\r\n\r\r\n\r\r\n\r\r\ndojo.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt) \r\r\n  editToolbar.activate(esri.toolbars.Edit.EDIT_VERTICES , evt.graphic);\r\r\n);\r\r\n\n\n\nFires when deleteAttachments is complete.\nEvent Object Properties: \n\n\n&lt;FeatureEditResult[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed.\n\n\n\n\nFires after applyEdits() has been called.\nEvent Object Properties: \n\n\n&lt;FeatureEditResult[]&gt; addResults\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature.\n\n\n&lt;FeatureEditResult[]&gt; updateResults\nAn array of result objects, one for each feature, indicating if it was successfully updated.\n\n\n&lt;FeatureEditResult[]&gt; deleteResults\nAn array of result objects, one for each feature, indicating if the it was successfully deleted.\n\n\n\n\nFires when there is a problem retrieving a layer. (Added at v1.3)\n\n\nFires when a graphic is added to the GraphicsLayer.\nEvent Object Properties: \n\n\n&lt;Graphic&gt; graphic\nThe added graphic.\n\n\n\n\nFires when a graphic is drawn. A graphic is drawn or redrawn when:\n\nWhen it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn.\n\n(Added at v3.7)\nEvent Object Properties: \n\n\n&lt;Objet&gt; evt\nle < Graphic > graphique being drawn.  When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#39;s DOM node is accessible with graphic.getNode().\n\n\n\n\nFires when a graphic&#39;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties: \n\n\n&lt;Objet&gt; evt\nAn object with the following properties:\n\n< Graphic > graphique:Graphic being drawn.\n   \n< DOM Node > nœud: Graphic&#39;s DOM Node.\n   \n\n\n\n\n\n\nThis event is fired when a graphic&#39;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:\n\nGraphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image).\n\nFires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties: \n\n\n&lt;Objet&gt; evt\nAn object with the following properties:\n\n\n    graphique\nGraphic being drawn.\n\n\n    nœud\nGraphic&#39;s DOM node.\n\n\n\n\n\n\n\nFires when a graphic is removed from the GraphicsLayer.\nEvent Object Properties: \n\n\n&lt;Graphic&gt; graphic\nThe removed graphic.\n\n\n\n\nFires when all graphics in the GraphicsLayer are cleared.\n\n\nFired when labeling info on the layer changes. (Added at v3.10)\n\n\nFires after layer properties for the layer are successfully populated.  This event must be successful before the layer can be added to the map. \nIn Internet Explorer, due to resource caching, the onLoad event is fired as soon as the layer is constructed. Consequently you should check whether the layer&#39;s loaded property is true before registering a listener for the onLoad event:\n\nEvent Object Properties: \n\n\n&lt;Couche&gt; layer\nThe loaded layer.\n\n\n\nSample: \nfunction init() \r\n  //setting initial extent in constructor\r\n  var map = new esri.Map(&quot;mapDiv&quot;,  extent: new esri.geometry.Extent(...) );\r\n\r\n  //or use set extent method\r\n  var map = new esri.Map(&quot;mapDiv&quot;);\r\n  map.setExtent(new esri.geometry.Extent(...));\r\n\r\n  //add first layer\r\n  map.addLayer(...);\r\n\r\n\n\n\nFires when a mouse button is pressed down and the mouse cursor is on a graphic.\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.\n\n\n\n\nFires while the mouse is being dragged until the mouse button is released.\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe result can be any JavaScript MouseEvent, or the x and y coordinates of screenPoint or mapPoint.\n\n\n\n\nFires as the mouse moves through a graphic on the GraphicsLayer.\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.\n\n\n\n\nFires as the mouse exits a graphic on the GraphicsLayer.\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.\n\n\n\n\nFires when the mouse first enters into a graphic on the GraphicsLayer.\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe returned object contains  screenPoint, mapPoint, and Graphic.\n\n\n\n\nFires when a mouse button is released and the mouse cursor is on a graphic.\nEvent Object Properties: \n\n\n&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.\n\n\n\n\nFires when the layer opacity has been changed, and returns the opacity value.\nEvent Object Properties: \n\n\n&lt;Nombre&gt; opacity\nOpacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.\n\n\n\n\nFires when queryAttachmentInfos() is complete.\nEvent Object Properties: \n\n\n&lt;Objet[]&gt; attachmentInfos\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size.\n\n\n\n\nFires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. (Added at v2.1)\nEvent Object Properties: \n\n\n&lt;Nombre&gt; count\nThe number of features that satisfy the input query.\n\n\n\nSample: \n\r\r\n\r\r\n\r\r\n\r\r\ndojo.connect(featureLayer,&#39;onQueryCountComplete&#39;,function(count)\r\r\n  console.log(count + &quot; features satisfied the input query&quot;);\r\r\n);\r\r\n\n\n\nFires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties: \n\n\n&lt;Extent&gt; extent\nThe extent of features.\n\n\n&lt;Nombre&gt; count\nThe count of features.\n\n\n\n\nFires when queryFeatures() is complete.\nEvent Object Properties: \n\n\n&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query.\n\n\n\n\nFires when queryIds() is complete.\nEvent Object Properties: \n\n\n&lt;Nombre[]&gt; ids\nArray of ObjectIds returned from the query.\n\n\n\n\nFired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. (Added at v2.8)\n\n\nFires when queryRelatedFeatures() is complete.\nEvent Object Properties: \n\n\n&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table.\n\r\n\r\n  &quot;15&quot;: ,\r\n  &quot;9&quot;:  \r\n\r\n\n\n\n\n\n\nThis event is fired when the layer&#39;s refreshInterval is modified. (Added at v3.7)\n\n\nFires when a layer resumes drawing. (Added at v3.1)\n\n\nFires when a layer&#39;s minScale and/or maxScale is changed. (Added at v3.1)\n\n\nFires when a layer&#39;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#39;s scale range or vice versa. (Added at v3.1)\n\n\nFires after clearSelection has been called.\n\n\nFires when selectFeatures() has completed. OnSelectionComplete always fires unless there is an error returned by the server.\nEvent Object Properties: \n\n\n&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set.\n\n\n&lt;Nombre&gt; selectionMethod\nSelection method used in the selectFeatures method.\n\n\n\n\nFires when the labels of the featurelayer have changed. (Added at v3.11)\n\n\nFires when a layer suspends drawing. (Added at v3.1)\n\n\nFired when the layer has finished updating its content. This event is always preceded by onUpdateStart\nEvent Object Properties: \n\n\n&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update.\n\n\n&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8\n\n\n\n\nFired when the layer begins to update its content. The following table describes when the event is fired in various modes.\n\n\n\nInstantané\n\n\n\nWhen the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#39;s time extent changes.\nWhen the layer is refreshed.\n\n\n\n\n\nOnDemand\n\n\n\nWhen the layer is added to the map.\nWhen the map&#39;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed.\n\n\n\n\n\nSelection\n\n\nThe event is not fired in selection mode.\n\n\n\n\n\nFires when the layer visibility has been changed, and returns the new visibility.\nEvent Object Properties: \n\n\n&lt;Booléen&gt; visbility\nDetermines whether the layer is visible on the map.\n\n\n\n\nClick to rate this post!\r\n                                   \r\n                               [Total: 0  Average: 0]","paragraphs":["exiger([\"esri/layers/FeatureLayer\"], function (FeatureLayer) / * code va ici * /);\nLa description","(Ajouté à la v2.0)\nLa couche d&#39;entités hérite de la couche graphique et peut être utilisée pour afficher les entités d&#39;une seule couche dans un service de carte ou un service d&#39;entités. La couche peut être une couche (spatiale) ou une table (non spatiale). Les entités d’une couche d’entités peuvent être modifiées si le est éditable méthode est vraie.\nFeatureLayer utilisera par défaut les informations de dessin du serveur (requiert ArcGIS Server 10 ou une version ultérieure). Pour un exemple, voir le moteur de rendu simple dans le Informations de dessin à http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer/0","Rendu WebGL\nÀ partir de la version 3.24, vous pouvez choisir de rendre FeatureLayer avec WebGL. Cela vous permet d&#39;afficher plus de données sur la carte et de mettre à jour plus rapidement la visualisation des entités. Pour activer le rendu WebGL de FeatureLayer, collez le script suivant dans votre application avant de charger l&#39;API ArcGIS pour JavaScript:","Une fois activé globalement pour l&#39;application, WebGL peut être activé / désactivé à l&#39;aide de l&#39;API ci-dessous:","Limites connues\nLes limitations suivantes des FeatureLayers rendues par WebGL peuvent être modifiées dans les versions futures. Si l&#39;une de ces conditions n&#39;est pas remplie, la couche bascule automatiquement de WebGL à SVG pendant la session.","La prise en charge est limitée aux couches créées à partir de services d&#39;entités hébergés sur ArcGIS Online et de services d&#39;entités d&#39;entreprise non hébergés versions 10.6.1 ou ultérieure. Les FeatureLayers créés à partir de FeatureCollections ne sont pas pris en charge.\nLes couches de polygones doivent prendre en charge le retour des centroïdes.\nLe calque ne doit pas être éditable.\nLa couche ne doit pas être groupée.\nLa couche doit utiliser le mode de récupération à la demande.\nLa couche ne doit pas utiliser d&#39;étiquettes.\nLa couche ne doit pas utiliser d&#39;expressions Arcade contenant des opérations de géométrie.\nLe rendu de la couche doit être de type SimpleRenderer, ClassBreaksRenderer ou UniqueValueRenderer.\nLes variables visuelles de couleur et d&#39;opacité doivent avoir 8 arrêts ou moins.\nLes variables visuelles de taille gérées par les attributs doivent comporter 6 arrêts ou moins. Cela n&#39;affecte pas les variables générées par l&#39;échelle de la carte.\nLes symboles de ligne ne doivent pas avoir de flèches.\nLe symbole de sélection n&#39;est pas pris en charge.","Notez que seul l&#39;événement click se déclenche lorsque WebGL est activé. Tous les autres événements ne sont pas pris en charge. Les sous-classes FeatureLayer ne prennent pas en charge le rendu WebGL. Notez également que la modification des attributs, des symboles, de la géométrie et de la visibilité des entités individuelles dans un calque rendu WebGL n&#39;aura aucun effet.","Des échantillons\n      Rechercher des échantillons qui utilisent cette classe.\nHiérarchie de classe\nesri / layers / Layer\n| _esri / layers / GraphicsLayer\n  | _esri / layers / FeatureLayer\nSous-classes\nConstructeurs\nConstantes","MODE_AUTO","Déléguez en mode à la demande ou en mode instantané en fonction des caractéristiques du service. Cela ne s&#39;applique qu&#39;aux services d&#39;entités hébergés.\nSi le nombre total d&#39;entités dans une couche est inférieur à maxRecordCount et si le nombre total de sommets est inférieur à 250 000, le mode Instantané est utilisé. Sinon, le mode à la demande est utilisé. Ce mode a pour but de réduire la charge côté serveur. Au lieu d&#39;obtenir un petit nombre de fonctionnalités avec plusieurs requêtes (mode à la demande), obtenez toutes les fonctionnalités avec une seule requête. Ce mode nécessite une demande supplémentaire avant de récupérer des fonctionnalités.","MODE_ONDEMAND","En mode à la demande, la couche d&#39;entités récupère les entités du serveur en cas de besoin. Ceci est basé sur les exigences définies dans les propriétés suivantes:","Propriétés de la carte telles que l&#39;étendue spatiale actuelle et l&#39;heure.\nPropriétés de la couche telles que le décalage temporel et l&#39;expression de définition.","SÉLECTION DE MODE","En mode de sélection, les fonctionnalités sont extraites du serveur uniquement lorsqu&#39;elles sont sélectionnées. Les fonctionnalités sont disponibles sur le client uniquement lorsqu&#39;elles sont sélectionnées. Pour utiliser les fonctionnalités sélectionnées:","Appelez la méthode selectFeatures.\nÉcoutez l&#39;événement onSelectionComplete.\nUne fois que onSelectionComplete est activé, récupérez les entités sélectionnées à l&#39;aide de la méthode getSelectedFeatures.","Lors de l&#39;édition de couches d&#39;entités en mode sélection, vous devez ajouter le service de carte associé au service d&#39;entités à la carte en tant que service de carte dynamique. Si le service de carte n&#39;est pas ajouté en tant que service de carte dynamique, les modifications ne seront pas visibles, car une fois les modifications terminées, la fonctionnalité n&#39;est plus sélectionnée.","MODE_SNAPSHOT\nEn mode Instantané, la couche d&#39;entités récupère toutes les entités de la ressource de couche associée et les affiche sous forme de graphiques sur le client. Les expressions de définition et les définitions de temps sont honorées. Les entités sont récupérées une fois la couche d’entités ajoutée à la carte. Une fois que l&#39;événement onUpdateEnd a été déclenché, vous pouvez accéder aux fonctionnalités à l&#39;aide de la propriété graphics de la couche ou par le biais d&#39;opérations de sélection et de requête.","POPUP_HTML_TEXT\nLa popup affiche le contenu en HTML / TEXT.","POPUP_NONE\nAucun type de popup défini.","POPUP_URL\nLa popup affiche le contenu d&#39;une URL.","SELECTION_ADD\nAjoute des fonctionnalités au jeu de sélection actuel.","SELECTION_NEW\nCrée une nouvelle sélection.","SELECTION_SUBTRACT\nSupprime les fonctionnalités de la sélection actuelle.","Propriétés","advancedQueryCapabilities\nObjet\nUn objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue.","allowGeometryUpdates\nBooléen\nRenvoie true si la géométrie des entités de la couche peut être modifiée, false sinon.","allowUpdateWithoutValues\nBooléen\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées.","attributionDataUrl\nChaîne\nL&#39;URL, le cas échéant, où sont stockées les données d&#39;attribution de la couche.","capacités\nChaîne\nInformations sur les fonctionnalités activées pour cette couche.","nom du cours\nChaîne\nattribut de classe du nœud de la couche.","droits d&#39;auteur\nChaîne\nInformations de copyright pour la couche.","titre de compétence\nCredential\nFournit des informations d&#39;identification pour la couche, telles que l&#39;ID utilisateur et le jeton, si cette couche représente une ressource sécurisée avec une authentification par jeton.","dataAttributes\nChaîne    | Chaîne[]\nListe des champs d&#39;attribut ajoutés en tant qu&#39;attributs de données personnalisés au nœud graphique.","defaultDefinitionExpression\nChaîne\nMétadonnées décrivant l&#39;expression de définition par défaut de la couche telle que définie par le service.","defaultVisibility\nBooléen\nIndique la visibilité par défaut de la couche.","la description\nChaîne\nLa description de la couche telle que définie dans le service de carte.","displayField\nChaîne\nNom du champ d&#39;affichage principal de la couche.","editFieldsInfo\nObjet\nIndique les noms de champs pour les champs de l&#39;éditeur.","éditionInfo\nObjet\nApplicable aux services de fonctionnalités hébergés sur ArcGIS Online.","des champs\nChamp[]\nLe tableau de champs dans la couche.","fullExtent\nAmpleur\nL&#39;étendue complète de la couche.","gdbVersion\nChaîne\nLa version de la géodatabase.","geometryType\nChaîne\nType de géométrie des entités de la couche.","globalIdField\nChaîne\nLe globalIdField pour la couche.","graphique\nGraphique[]\nTableau de fonctionnalités dans la couche.","hasAllFeatures\nBooléen\nIndique si le calque affiche toutes les entités intersectant la vue actuelle.","hasAttachments\nBooléen\nVrai si les pièces jointes sont activées sur la couche d&#39;entités.","hasAttributionData\nBooléen\nLorsque la valeur est true, la couche contient des données d&#39;attribution.","htmlPopupType\nChaîne\nLe type de popup html défini pour la couche.","identifiant\nChaîne\nID attribué à la couche.","infoTemplate\nInfoTemplate\nLe modèle d&#39;informations pour la couche.","étiquetageInfo\nLabelClass[]\nDéfinition de l&#39;étiquette pour cette couche, spécifiée comme un tableau de classes d&#39;étiquettes.","layerId\nNombre\nID unique de la couche sur laquelle FeatureLayer a été construit.","loadError\nErreur\nDéfinir si le chargement de la couche a échoué.","chargé\nBooléen\nLorsque la couche est chargée, la valeur devient &quot;true&quot; et les propriétés de la couche sont accessibles.","maxAllowableOffset\nNombre\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables.","maxRecordCount\nNombre\nNombre maximal de résultats renvoyés par une requête.","maxScale\nNombre\nÉchelle maximale visible pour le calque.","échelle min\nNombre\nÉchelle minimale visible pour le calque.","multipatchOption\nChaîne\nPrend en charge les services d&#39;entités dont la source de données est une classe multipatch.","La valeur par défaut est xyFootprint si geometryType est esriGeometryMultiPatch.","prénom\nChaîne\nNom de la couche tel que défini dans le service de carte.","objectIdField\nChaîne\nNom du champ contenant le champ ID d&#39;objet pour la couche.","opacité\nNombre\nOpacité ou transparence du calque.","propertyBasedAccessControlForFeatures\nObjet\nIndique la configuration du contrôle d&#39;accès de propriété.","intervalle de rafraîchissement\nNombre\nIntervalle de rafraîchissement de la couche en minutes.","des relations\nObjet[]\nChaque élément du tableau est un objet décrivant la relation de la couche avec une autre couche ou un autre tableau.","moteur de rendu\nRenderer\nLe rendu du calque.","showAttribution\nBooléen\nLorsque la valeur est true, l&#39;attribution de la couche est affichée sur la carte.","showLabels\nBooléen\nDétermine si les étiquettes sont affichées.","la source\nLayerSource\nLe calque dynamique ou la source de la table.","coiffant\nBooléen\nIndique si le calque est responsable du style des graphiques.","prend en chargeQueries avancées\nBooléen\nLorsque vrai, la couche prend en charge orderByFields dans une opération de requête.","prend en chargeAttachementsParUploadId\nBooléen\nLorsque la valeur est true, la couche prend en charge le téléchargement de pièces jointes avec l&#39;opération REST Uploads, qui peut ensuite être utilisée dans les opérations REST Ajouter une pièce jointe ou Mettre à jour la pièce jointe.","soutientCalculer\nBooléen\nLorsque true, la couche prend en charge la Calculer Opération REST lors de la mise à jour des fonctionnalités.","prend en charge la description du champ\nBooléen\nSi la valeur est true, la couche prend en charge une description de champ définie par l&#39;utilisateur.","supports statistiques\nBooléen\nLorsque la valeur est true, la couche prend en charge les fonctions statistiques dans les opérations de requête.","surfaceType\nChaîne\nType de surface graphique vectorielle utilisée pour dessiner des graphiques.","suspendu\nBooléen\nLorsque true, le calque est suspendu.","des modèles\nFeatureTemplate[]\nTableau de modèles d&#39;entités définis dans la couche Service d&#39;entités.","timeInfo\nTimeInfo\nInformations de temps pour la couche, telles que le champ Heure de début, le champ Heure de fin, le champ ID de piste, l&#39;étendue de temps des couches et l&#39;intervalle de temps d&#39;affichage.","type\nChaîne\nSpécifie le type de couche.","typeIdField\nChaîne\nLe champ qui représente le champ Type ID.","les types\nFeatureType[]\nTableau de sous-types définis dans la couche de service d&#39;entités.","url\nChaîne\nURL de la ressource REST ArcGIS Server qui représente un service de carte.","version\nNombre\nLa version d&#39;ArcGIS Server où la couche est publiée.","visible\nBooléen\nVisibilité du calque.","visibleAtMapScale\nBooléen\nLorsque la valeur est true, le calque est visible à l&#39;échelle de la carte actuelle.","webglEnabled\nBooléen\nIndique si WebGL est activé sur la couche.","Les méthodes","addAttachment (objectId, formNode, callback ?, errback?)\nDifféré\nAjoutez une pièce jointe à la fonctionnalité spécifiée par ObjectId.","applyEdits (ajoute ?, met à jour? supprime ?, rappel ?, errback?)\nDifféré\nAppliquez des modifications à la couche d&#39;entités.","attr (nom, valeur)\nCouche\nAjoute un nouvel attribut ou modifie la valeur d&#39;un attribut existant sur le nœud de la couche.","clair()\nAucun\nEfface tous les graphiques.","clearSelection ()\nFeatureLayer\nEfface la sélection en cours.","deleteAttachments (objectId, attachmentIds, callback ?, errback?)\nDifféré\nSupprimez une ou plusieurs pièces jointes pour la fonctionnalité spécifiée par l&#39;objet ObjectId en entrée.","disableFeatureReduction ()\nAucun\nDésactive la réduction des fonctionnalités (par exemple la mise en cluster) sur la couche.","disableMouseEvents ()\nAucun\nDésactive tous les événements de la souris sur la couche graphique.","enableFeatureReduction ()\nAucun\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur le calque en utilisant les options définies dans setFeatureReduction ().","enableMouseEvents ()\nAucun\nActive tous les événements de souris sur la couche graphique.","getAggregateGraphics ()\nGraphique[]\nRenvoie des graphiques représentant l&#39;agrégation de plusieurs entités ponctuelles regroupées.","getAttributionData ()\nDifféré\nRenvoie de manière asynchrone des données personnalisées pour la couche lorsqu&#39;elles sont disponibles.","getDefinitionExpression ()\nChaîne\nRetourne l&#39;expression de définition actuelle.","getDomain (fieldName, options?)\nDomaine\nRetourne le domaine associé au nom de champ donné.","getEditCapabilities (options?)\nObjet\nRetourne un objet qui décrit les capacités d&#39;édition du calque.","getEditInfo (fonctionnalité, options?)\nObjet\nRetourne un objet décrivant l&#39;opération d&#39;édition la plus récente effectuée sur la fonction donnée, si disponible.","getEditSummary (fonctionnalité, options?)\nChaîne\nRetourne un résumé localisé de la dernière opération d&#39;édition effectuée sur la fonction donnée, si disponible.","getFeatureReduction ()\nObjet\nRenvoie les options utilisées pour réduire le nombre d&#39;entités visualisées par la couche (par exemple, la mise en cluster).","getField (fieldName)\nChamp\nRenvoie le Champ étant donné le nom de champ spécifié.","getMap ()\nCarte\nRenvoie la référence au contrôle de la carte auquel la couche est ajoutée.","getMaxAllowableOffset ()\nNombre\nRenvoie la valeur actuelle du maxAllowableOffset utilisé par la couche.","getNode ()\nHTMLElement\nRenvoie le nœud DOM de la couche.","getOrderByFields ()\nChaîne[]\nRenvoie la liste des champs utilisés pour commander les entités par.","getSelectedFeatures ()\nGraphique[]\nObtient les fonctionnalités actuellement sélectionnées.","getSelectionSymbol ()\nsymbole\nObtient le symbole de sélection actuel.","getSingleGraphics ()\nGraphique[]\nRenvoie les graphiques de la couche qui ne sont pas représentés par des graphiques agrégés lorsque la réduction des fonctionnalités (telle que la mise en cluster) est activée.","getTimeDefinition ()\nTimeExtent\nObtenir la définition de l&#39;heure actuelle appliquée à la couche d&#39;entités.","getType (fonctionnalité)\nFeatureType\nRetourne un FeatureType décrivant le type de l&#39;entité.","hasUpdateError ()\nAucun\nIndique si une erreur est générée après la mise à jour de la couche.","hasWebGLSurface ()\nBooléen\nIndique si le calque est rendu dans WebGL.","hasXYFootprint ()\nBooléen\nRésultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint.","cacher()\nAucun\nDéfinit la visibilité du calque sur &quot;false&quot;.","isEditable ()\nBooléen\nRenvoie true si FeatureLayer est modifiable.","isFeatureReductionActive ()\nBooléen\nIndique si la réduction des fonctionnalités (par exemple, la mise en cluster) est active dans la vue.","isFeatureReductionEnabled ()\nBooléen\nIndique si la réduction de fonctionnalité (par exemple la mise en cluster) est activée.","isVisibleAtScale (scale)\nBooléen\nRenvoie true si le calque est visible à l&#39;échelle donnée.","queryAttachmentInfos (objectId, callback ?, errback?)\nDifféré\nDemander des informations sur les pièces jointes associées aux ObjectIds spécifiés.","queryCount (requête, rappel ?, errback?)\nDifféré\nObtenez un nombre du nombre d&#39;entités qui satisfont la requête d&#39;entrée.","queryExtent (requête, rappel ?, errback?)\nDifféré\nObtenez l&#39;étendue des fonctionnalités qui répondent à la requête d&#39;entrée.","queryFeatures (requête, rappel ?, errback?)\nDifféré\nInterrogez les entités de la couche d&#39;entités.","queryIds (requête, rappel ?, errback?)\nDifféré\nRequête pour ObjectIds.","queryRelatedFeatures (relQuery, callback?, errback?)\nDifféré\nInterrogez des entités ou des enregistrements, provenant d&#39;une autre couche ou d&#39;une autre table, liés aux entités de cette couche.","redessiner ()\nAucun\nRedessine tous les graphiques de la couche graphique.","rafraîchir()\nAucun\nActualise les entités de la couche d’entités.","enlever (graphique)\nGraphique\nSupprime un graphique.","CV()\nAucun\nReprend le calque.","selectFeatures (requête, selectionMethod?, callback?, errback?)\nDifféré\nSélectionne les fonctionnalités de FeatureLayer.","setAutoGeneralize (activer)\nFeatureLayer\nActiver ou désactiver la généralisation automatique pour la couche.","setDefinitionExpression (expression)\nFeatureLayer\nDéfinit l&#39;expression de définition pour FeatureLayer.","setEditable (éditable)\nFeatureLayer\nDéfinissez les possibilités d&#39;édition des couches d&#39;entités créées à partir d&#39;une collection d&#39;entités.","setFeatureReduction (options)\nAucun\nDéfinit les options de réduction des caractéristiques sur la couche (par exemple, les options de mise en cluster).","setGDBVersion (versionName)\nFeatureLayer\nDéfinissez la source de données de la couche sur la version de géodatabase spécifiée.","setInfoTemplate (infoTemplate)\nAucun\nSpécifiez ou modifiez le modèle d&#39;informations pour une couche.","setLabelingInfo (étiquetageInfo)\nAucun\nDéfinit les informations d&#39;étiquetage sur la couche.","setMaxAllowableOffset (offset)\nAucun\nDéfinit le décalage maximum autorisé utilisé lors de la généralisation des géométries.","setMaxScale (scale)\nAucun\nDéfinissez l&#39;échelle maximale pour le calque.","setMinScale (scale)\nAucun\nDéfinissez l&#39;échelle minimale pour le calque.","setOpacity (opacité)\nAucun\nOpacité initiale ou transparence du calque.","setRefreshInterval (intervalle)\nCouche\nModifie l&#39;intervalle d&#39;actualisation de la couche sur la valeur donnée (en minutes).","setRenderer (rendu)\nAucun\nDéfinissez le rendu pour la couche d&#39;entités.","setScaleRange (minScale, maxScale)\nAucun\nDéfinissez la plage d&#39;échelle pour le calque.","setSelectionSymbol (symbole)\nFeatureLayer\nDéfinit le symbole de sélection pour la couche d&#39;entités.","setShowLabels (showLabels)\nAucun\nDéfinit si les étiquettes doivent être affichées ou non.","setTimeDefinition (définition)\nFeatureLayer\nDéfinit la définition de l&#39;heure pour la couche d&#39;entités.","setTimeOffset (offsetValue, offsetUnits)\nFeatureLayer\nLe décalage temporel vous permet d&#39;afficher les entités à une heure différente afin qu&#39;elles puissent être superposées au-dessus des périodes précédentes ou futures.","setUseMapTime (mise à jour)\nAucun\nDéterminez si la couche mettra à jour son contenu en fonction de la durée actuelle de la carte.","setVisibility (isVisible)\nAucun\nDéfinit la visibilité du calque.","setWebGLEnabled (activer)\nAucun\nActive / désactive le rendu WebGL sur le calque.","spectacle()\nAucun\nDéfinit la visibilité du calque sur &quot;true&quot;.","suspendre()\nAucun\nSuspend le dessin de calque.","toJson ()\nObjet\nRetourne une représentation d&#39;objet facilement sérialisable de la couche.","Événements\n[[[[Evénements On Style | Événement de style de connexion ]\nTous les écouteurs d&#39;événement On Style reçoivent un seul objet d&#39;événement. De plus, l&#39;objet événement contient également une propriété &#39;cible&#39; dont la valeur est l&#39;objet qui a déclenché l&#39;événement.","Événements","add-attachment-complete","  résultat: &lt;FeatureEditResult&gt;","Se déclenche lorsque addAttachments () est terminé.","avant-application-modifications","  ajoute: &lt;Graphique[]&gt;\n  supprime: &lt;Graphique[]&gt;\n  mises à jour: &lt;Graphique[]&gt;","Déclenché avant que les modifications ne soient appliquées à la couche d&#39;entités.","capacités-changement","Déclenché lorsque les fonctionnalités de la couche sont modifiées à l&#39;aide de la méthode setEditable.","Cliquez sur","  événement: &lt;Objet&gt;","Se déclenche quand un graphique a été cliqué.","clic-dbl","  événement: &lt;Objet&gt;","Se déclenche lorsqu&#39;une fonctionnalité a été double-cliquée.","delete-attachments-complete","  résultats: &lt;Objet[]&gt;","Se déclenche lorsque deleteAttachments est terminé.","éditions complètes","  ajoute: &lt;FeatureEditResult[]&gt;\n  supprime: &lt;FeatureEditResult[]&gt;\n  mises à jour: &lt;FeatureEditResult[]&gt;","Se déclenche une fois que applyEdits () est terminé.","Erreur","  erreur: &lt;Erreur&gt;","Se déclenche lorsqu&#39;il y a un problème de récupération d&#39;une couche.","gdb-version-change","Déclenché lorsque la version de la géodatabase est modifiée.","ajouter graphique","  graphique: &lt;Graphique&gt;","Se déclenche lorsqu&#39;un graphique est ajouté à GraphicsLayer.","graphique dessiner","  graphique: &lt;Graphique&gt;","Se déclenche lorsqu&#39;un graphique est dessiné.","graph-node-add","  graphique: &lt;Graphique&gt;\n  noeud: &lt;HTMLElement&gt;","Se déclenche lorsque le nœud DOM d&#39;un graphique est créé et ajouté à la couche.","noeud-graphique-supprimer","  graphique: &lt;Graphique&gt;\n  noeud: &lt;HTMLElement&gt;","Cet événement est déclenché lorsque le nœud DOM d&#39;un graphique est supprimé (considérez le nœud détruit).","supprimer graphique","  graphique: &lt;Graphique&gt;","Se déclenche lorsqu&#39;un graphique est supprimé du GraphicsLayer.","graphisme clair","Se déclenche lorsque tous les graphiques du GraphicsLayer sont effacés.","étiquetage-info-changement","Déclenché lors du marquage des informations sur la couche.","charge","  couche: &lt;Couche&gt;","Les incendies après les propriétés de calque pour le calque ont été renseignés avec succès.","souris vers le bas\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est enfoncé et que le curseur de la souris est sur un graphique.","faites glisser la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris est déplacée jusqu&#39;à ce que le bouton de la souris soit relâché.","déplacer la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris se déplace dans un graphique du GraphicsLayer.","sortie de souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris quitte un graphique du GraphicsLayer.","survoler\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris entre pour la première fois dans un graphique du GraphicsLayer.","la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est relâché et que le curseur de la souris est sur un graphique.","changement d&#39;opacité","  opacité: &lt;Nombre&gt;","Se déclenche lorsque l&#39;opacité du calque a été modifiée et renvoie un objet avec la valeur d&#39;opacité.","query-attachment-infos-complete","  info: &lt;Objet[]&gt;","Se déclenche lorsque la méthode queryAttachmentInfos est appelée.","requête-compte-complet","  compter: &lt;Nombre&gt;","Se déclenche lorsque la requête pour le compte est terminée.","requête-étendue-complète","  compter: &lt;Nombre&gt;\n  mesure: &lt;Ampleur&gt;","Se déclenche lorsque la méthode queryExtent est terminée.","requête-fonctionnalités-complète","  featureSet: &lt;Jeu de fonctionnalités&gt;","Se déclenche lorsque queryFeatures () est terminée.","query-ids-complete","  objectIds: &lt;Nombre[]&gt;","Se déclenche lorsque queryIds () est terminée.","limite de requête dépassée","Déclenché lorsque la couche d&#39;entités n&#39;a pas pu dessiner toutes les entités en raison d&#39;une limitation de maxRecordCount sur une opération de requête.","requête-related-features-complete","  relatedFeatures: &lt;Objet&gt;","Se déclenche lorsque queryRelatedFeatures () est terminée.","rafraîchissement-intervalle-changement","Cet événement est déclenché lorsque la couche est intervalle de rafraîchissement est modifié.","rafraichissement","Se déclenche juste avant l&#39;actualisation de la couche et ne se déclenche que lorsque l&#39;actualisation est déclenchée par la commande refreshInterval.","CV","Se déclenche lorsqu&#39;un calque reprend son dessin.","changement de gamme d&#39;échelle","Se déclenche lorsque les propriétés minScale et / ou maxScale d&#39;une couche sont modifiées.","échelle-visibilité-changement","Se déclenche lorsque la visibilité d&#39;échelle d&#39;un calque change.","sélection-clear","Se déclenche après l&#39;appel de clearSelection.","sélection complète","  caractéristiques: &lt;Graphique[]&gt;\n  méthode: &lt;Nombre&gt;","Se déclenche lorsque selectFeatures () est terminé.","show-labels-change","Déclenché lorsque les étiquettes de la couche d&#39;entités sont modifiées.","suspendre","Se déclenche lorsqu&#39;un calque suspend le dessin.","mettre à jour","Se déclenche chaque fois qu&#39;une couche a fini de se charger ou de se mettre à jour.","fin de mise à jour","  erreur: &lt;Erreur&gt;\n  info: &lt;Objet&gt;","Déclenché lorsque la couche a fini de mettre à jour son contenu.","mise à jour-début","Déclenché lorsque la couche commence à mettre à jour son contenu.","changement de visibilité","  visible: &lt;Booléen&gt;","Se déclenche lorsque la visibilité du calque a été modifiée et renvoie un objet avec une propriété booléenne visible contenant la nouvelle valeur de visibilité du calque.","Détails du constructeur","Crée une nouvelle instance d&#39;un objet de couche d&#39;entités à partir de la ressource REST ArcGIS Server identifiée par l&#39;URL d&#39;entrée. Une fois créé, vous pouvez éventuellement définir une expression de définition ou une définition de temps.\nParamètres:","&lt;Chaîne&gt; url\nChamps obligatoires\nURL de la ressource REST ArcGIS Server qui représente un service de fonctionnalité. Un exemple est http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0. Pour plus d&#39;informations sur la construction d&#39;une URL, voir Le répertoire de services et l&#39;API REST.","&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options.","options Propriétés:","&lt;Booléen&gt; allowUpdateWithoutMValues\nOptionnel\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées. La valeur par défaut est faux.","&lt;Booléen&gt; autoGeneralize\nOptionnel\nActiver ou désactiver la généralisation automatique des fonctionnalités d&#39;un calque non modifiable en mode à la demande. Lorsque la valeur est true, la couche utilise la résolution actuelle de la carte comme maxAllowableOffset pour toutes les requêtes envoyées au serveur. La valeur par défaut est true. À partir de v2.7","&lt;Chaîne&gt; className\nOptionnel\nAttribut de classe à définir pour le nœud de la couche.","&lt;Chaîne&gt; definitionExpression\nOptionnel\nClause Where à utiliser comme expression de définition pour la couche. Ajouté à la v3.11","&lt;Booléen&gt; displayOnPan\nOptionnel\nLorsque la valeur est true, les graphiques sont affichés pendant le panoramique. Lorsque la valeur est false, les graphiques sont désactivés pendant le déplacement du panoramique. La définition de false peut améliorer les performances dans Internet Explorer. Le défaut est vrai.","&lt;Une fonction&gt; editSummaryCallback\nOptionnel\nDéfinir une fonction de rappel qui sera appelée par  FeatureLayer.getEditSummary. À partir de v2.8","&lt;Objet&gt; caractéristiqueRéduction\nOptionnel\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur les couches de points. Voir setFeatureReduction () pour plus de détails. Voir le fonctionRéduction tableau de spécification d&#39;objet ci-dessous pour les options pouvant être définies dans cet objet. \nLa prise en charge de la réduction des fonctionnalités est limitée aux scénarios suivants:","Données de points (provenant du service ou de FeatureCollection).\nLa carte doit avoir une référence spatiale Web Mercator ou WGS84.\nSi la couche contient plus de 50 000 entités, seules les 50 000 premières seront mises en cluster.\nUne FeatureLayer créée à partir d&#39;une URL de service doit pointer vers un service prenant en charge la pagination (ArcGIS Server version 10.3.1 ou ultérieure).\nLorsque la modification est lancée avec le widget Editeur, la réduction des fonctionnalités est désactivée jusqu&#39;à ce que le widget Editeur soit détruit.\nLa réduction de fonctionnalité est désactivée lorsque la couche a l&#39;un des moteurs de rendu suivants: HeatmapRenderer,\n        BlendRenderer, Rendu temporel, ou\n        ScaleDependentRenderer.","&lt;Chaîne&gt; gdbVersion\nOptionnel\nSpécifiez la version de la géodatabase à afficher. (À partir de v2.7). Requiert le service ArcGIS Server 10.1 ou supérieur","&lt;Chaîne&gt; id\nOptionnel\nID unique à attribuer à la couche. Si non assigné, esri.Carte crée un identifiant unique.","&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nLe modèle qui définit le contenu à afficher dans la fenêtre d&#39;informations de la carte lorsque l&#39;utilisateur clique sur une entité. Si non spécifié, la fenêtre d&#39;information ne sera pas affichée.","&lt;Nombre&gt; maxAllowableOffset\nOptionnel\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables.","&lt;Nombre&gt; mode\nOptionnel\nLe mode de requête pour la couche d&#39;entités. Chaque mode détermine quand et combien de fonctionnalités sont envoyées au client. Le mode par défaut consiste à interroger à la demande lorsque l&#39;étendue, l&#39;heure et la définition de la couche changent. Vous pouvez spécifier les valeurs suivantes:","FeatureLayer.MODE_SNAPSHOT: les fonctionnalités sont extraites du serveur en fonction de DefinitionExpression et TimeDefinition. Si la définition change, la couche se met à jour en interrogeant les entités depuis le serveur. Une fois que les entités ont été récupérées sur le client, leur &quot;visibilité&quot; sur la carte est basée sur le temps et l&#39;étendue spatiale de la carte. Par exemple, pour une animation temporelle, vous pouvez demander toutes les fonctionnalités au serveur, puis ajuster l&#39;étendue temporelle sur la carte pour afficher uniquement un sous-ensemble.\nFeatureLayer.MODE_ONDEMAND: les fonctionnalités sont extraites du serveur selon les besoins.\nFeatureLayer.MODE_SELECTION: seules les fonctionnalités sélectionnées sont disponibles sur le client. Généralement utilisé en combinaison avec un service de carte dynamique affichant les entités pouvant être sélectionnées.\nFeatureLayer.MODE_AUTO: Les fonctionnalités sont extraites en mode à la demande ou en mode instantané, en fonction des caractéristiques du service. Applicable uniquement aux services d&#39;entités hébergés. Voir le tableau des constantes pour plus de détails.","La valeur par défaut est MODE_ONDEMAND.\nVoir le tableau des constantes pour plus de détails sur chaque mode.","&lt;Nombre&gt; opacité\nOptionnel\nOpacité initiale ou transparence du calque. Les valeurs vont de 0,0 à 1,0, 0,0 étant transparent à 100% et 1,0 non transparent. La valeur par défaut est 1.0. Non pris en charge dans Internet Explorer.","&lt;Chaîne[]&gt; orderByFields\nOptionnel\nUn ou plusieurs champs utilisés pour classer les entités &#8211; pour les requêtes ainsi que pour le rendu.","Spécifiquement ASC (ascendant) ou DESC (décroissant) après le nom du champ pour contrôler l&#39;ordre. Exemple: [ \"POPULATION DESC\" ].\nLors de la visualisation d&#39;une couche d&#39;entités à l&#39;aide d&#39;un moteur de rendu avec dimensionnement basé sur les données, cette option est utile pour garantir que les entités plus petites sont dessinées par-dessus les plus grandes et ne sont pas cachées dessous.\nS&#39;il n&#39;est pas spécifié, la couche d&#39;entités choisira l&#39;ordre comme suit:","La couche a un rendu avec dimensionnement basé sur les données: ordre décroissant de Renderer.sizeInfo.field.\nLa couche a un ClassBreaksRenderer avec backgroundFillSymbol: ordre décroissant de Renderer.attributeField.\nLa couche a un ClassBreaksRenderer où chaque saut a différentes tailles de symbole: ordre décroissant de Renderer.attributeField.","&lt;Chaîne[]&gt; les champs\nOptionnel\nUn tableau de chaînes qui correspondent aux champs à inclure dans FeatureLayer. Si non spécifié, la couche d&#39;entités renverra le champ OBJECTID et, le cas échéant, le champ d&#39;heure de début, le champ d&#39;heure de fin et le champ de type id. Vous pouvez spécifier [\"*\"]    Pour récupérer les valeurs de tous les champs de la couche, cela est utile lors de la modification des entités.","&lt;Nombre&gt; refreshInterval\nOptionnel\nIntervalle de rafraîchissement de la couche en minutes. Une valeur autre que zéro définit l&#39;actualisation automatique de la couche à l&#39;intervalle spécifié.","&lt;Objet&gt; resourceInfo\nOptionnel\nSpécifiez les métadonnées de la couche.","&lt;Booléen&gt; showAttribution\nOptionnel\nLorsque la valeur est true, l&#39;attribution de la couche est affichée sur la carte. La valeur par défaut est true. Ajouté à la v3.1","exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var censusBlock = new FeatureLayer (layerUrl, \n    showAttribution: false\n  );\n  ...\n);","&lt;Booléen&gt; showLabels\nOptionnel\nIndique si les étiquettes doivent être affichées sur la couche.\nSi un libellé est défini pour le FeatureLayer, les libellés s’affichent automatiquement si la carte showLabels est vrai. \nSi vous ne souhaitez pas que l’étiquette de la couche d’entité apparaisse, vous pouvez remplacer ce comportement en définissant son showLabels propriété à false.\nIndique si les étiquettes doivent être affichées. Si la valeur est true, toute FeatureLayer ajoutée à la carte sera automatiquement étiquetée en fonction de labelInfo. La valeur par défaut est false. Ajouté à la v3.11 \nREMARQUE: pour que les étiquettes s&#39;affichent, tous les champs utilisés par labelInfo doivent être définis dans les champs. De plus, seul un étiquetage simple est pris en charge, par exemple NOM DE VILLE. Par exemple, les mots-clés SQL tels que &quot;CONCAT&quot; ne sont pas pris en charge. Pensez à utiliser la classe LabelLayer où vous pouvez spécifier le  textexpression si besoin de plus de fonctionnalités.","var map = nouvelle carte (&quot;map&quot;, showLabels: true);\n  ...\n  var fl1 = new FeatureLayer (url, showLabels: true, outFields: [\"*\"]);\n  var fl2 = new FeatureLayer (url2, showLabels: false, outFields: [\"*\"]);\n  map.addLayers ([fls, fl2])","Ajouté à la v3.11","&lt;LayerSource&gt; source\nOptionnel\nLe calque dynamique ou la source de la table. L&#39;URL devrait se terminer par / dynamicLayer.","&lt;Nombre&gt; carrelage\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#39;une valeur telle que 512&#215;256 n&#39;est pas prise en charge.","&lt;Nombre&gt; largeur du carreau\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#39;une valeur telle que 512&#215;256 n&#39;est pas prise en charge.","exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var featureLayer = new FeatureLayer (&quot;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/1&quot;, \n    mode: FeatureLayer.MODE_ONDEMAND,\n    tileWidth: 200,\n    mosaïqueHauteur: 200\n  );\n  ...\n);","&lt;Chaîne&gt; trackIdField\nOptionnel\nLe nom de la pisteIdField.","exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var featureLayer = new FeatureLayer (featureLayerURL, \n    mode: FeatureLayer.MODE_SELECTION,\n    trackIdField: &quot;Animal_1&quot;\n  );\n  ...\n);","&lt;Booléen&gt; useMapTime\nOptionnel\nLorsque la valeur est true, la couche mettra à jour son contenu en fonction de la durée de la carte. Les valeurs par défaut sont true.","&lt;Booléen&gt; visible\nOptionnel\nVisibilité initiale du calque. Le défaut est vrai.","&lt;Booléen&gt; webglEnabled\nOptionnel\nIndique si la couche activera le rendu de WebGL. La valeur par défaut est vrai.","Spécifications de l&#39;objet: \n&lt;fonctionRéduction&gt;","&lt;Nombre&gt; clusterRadius\nOptionnel\nRayon en pixels de chaque zone dans laquelle plusieurs points seront résumés et visualisés sous la forme d&#39;un cluster unique.","&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nL&#39;InfoTemplate utilisé pour afficher des informations récapitulatives sur les graphiques agrégés.","&lt;Chaîne&gt; type\nChamps obligatoires\nLa méthode de réduction (ou agrégation) pour réduire les entités affichées sur la carte. La seule valeur valide est grappe.","Échantillon:","exiger([\n  \"esri/InfoTemplate\", \"esri/layers/FeatureLayer\", ... \n], fonction (InfoTemplate, FeatureLayer, ...) \n  var infoTemplate = new InfoTemplate (&quot;$ FIELD_NAME&quot;, contenu);\n  var featureLayer = new FeatureLayer (&quot;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Petroleum/KGS_OilGasFields_Kansas/MapServer/0&quot;, \n    mode: FeatureLayer.MODE_ONDEMAND,\n    infoTemplate: infoTemplate,\n    outFields: [\"*\"]\n  );\n  ...\n);","Crée une nouvelle instance d&#39;une couche d&#39;entités à l&#39;aide d&#39;un objet FeatureCollection. La couche d&#39;entités, lorsqu&#39;elle est initialisée avec un objet de collection d&#39;entités, présente le comportement suivant:","Les modifications sont appliquées sur le client non publié sur le serveur.\nLa couche d&#39;entités génère un identifiant d&#39;objet unique pour les nouvelles entités.\nNe prend pas en charge les requêtes devant être effectuées sur le serveur, par exemple les requêtes avec une clause where ou des requêtes spatiales sans extension. \nLa méthode toJson de la couche d&#39;entités renvoie un objet avec les mêmes propriétés que la collection d&#39;objets. L&#39;objet renvoyé inclut toutes les entités présentes dans la couche lorsque la méthode est appelée. Cette méthode peut être utilisée pour accéder à une représentation sérialisable des fonctionnalités pouvant être enregistrées sur le serveur.","Paramètres:","&lt;Objet&gt; featureCollectionObject\nChamps obligatoires\nUn objet de collection d&#39;entités. Voir les tableaux de spécifications d&#39;objets ci-dessous pour plus de détails.","&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options.","Spécifications de l&#39;objet: \n&lt;featureCollectionObject&gt;","&lt;Objet&gt; featureSet\nChamps obligatoires\nUne collection de fonctionnalités.","&lt;Objet&gt; layerDefinition\nChamps obligatoires\nLa structure est identique aux informations renvoyées par REST pour une couche dans un service de carte ou d&#39;entité. La définition de couche minimale requise pour créer un objet de collection d’entités dépend de la fonctionnalité requise, à savoir le temps, le rendu, etc.","Échantillon:","exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var layerDefinition = \n    &quot;geometryType&quot;: &quot;esriGeometryPolygon&quot;,\n    &quot;des champs&quot;: [\n      \"name\": \"BUFF_DIST\",\n      \"type\": \"esriFieldTypeInteger\",\n      \"alias\": \"Buffer Distance\"\n    ]\n  \n  var featureCollection = \n    layerDefinition: layerDefinition,\n    featureSet: null\n  ;\n  var featureLayer = new FeatureLayer (featureCollection, \n    showLabels: true\n  );\n  ...\n);","Détails de la propriété","Un objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue. Cet objet contient les propriétés existantes supports statistiques et prend en chargeQueries avancées qui est retourné dans le nouveau soutientOrderBy propriété. Pour la compatibilité ascendante supports statistiques et prend en chargeQueries avancées restera les propriétés de FeatureLayer.","&quot;advancedQueryCapabilities&quot;: \n  &quot;supportsPagination&quot;: vrai,\n  &quot;supportsQueryWithDistance&quot;: true,\n  &quot;supportsReturningQueryExtent&quot;: true,\n  &quot;supportsStatistics&quot;: true,\n  &quot;supportsOrderBy&quot;: true,\n  &quot;supportsDistinct&quot;: vrai","(Ajouté à la v3.12)\nÉchantillon:","var wildfireResponsePointsFeatureLayer = new FeatureLayer(url, featureLayerOptions);\nmap.addLayer(wildfireResponsePointsFeatureLayer);","wildfireResponsePointsFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\n  console.log(&quot;advancedQueryCapabilities&quot;),   wildfireResponsePointsFeatureLayer.advancedQueryCapabilities);\n  /* Object supportsStatistics: true, supportsOrderBy: true, supportsDistinct: true */\n);","Returns true if the geometry of the features in the layer can be edited, false otherwise. In ArcGIS Server version 10.1, this option can be configured when publishing the service. For earlier versions, this is always true. (Added at v2.8)\nKnown values: true | faux","Indicates whether attribute features containing m-values can be edited. (Added at v3.21)\nValeur par défaut: faux","The URL, when available, where the layer&#39;s attribution data is stored. (Added at v3.1)","Information about the capabilities enabled for this layer.","class attribute of the layer&#39;s node. (Added at v3.7)","Copyright information for the layer.","Provides credential information for the layer such as userid and token if the layer represents a resource that is secured with token-based authentication. This value is available after the layer has been loaded i.e. layer.loaded est vrai. (Added at v2.5)","List of attribute fields added as custom data attributes to graphics node. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)","Metadata describing the default definition expression for the layer as defined by the service. The default definition expression limits the features available for display and query. You cannot override this value but you define additional filters on the default expression using the setDefinitionExpression method. For example, if the default definition expression is set to display data where &quot;STATE_NAME = &#39;California&#39;&quot; you could use setDefinitionExpression to only display a subset of the features in California, for example using &quot;COUNTY=&#39;San Diego&#39;&quot;.","Indicates the default visibility for the layer. (Added at v3.0)\nKnown values: true | faux\nSample:","var isVisible = layer.defaultVisibility;","The description of the layer as defined in the map service.","The name of the layer&#39;s primary display field. The value of this property matches the name of one of the fields of the layer.","Indicates the field names for the editor fields. If ownership based access control is not enabled for the feature service the value will be null. The object has the following properties:\n  \n     creatorField,\n     creationDateField,\n     editorField,\n     editDateField\n  ","Requires ArcGIS Server feature service version 10.1 or greater. (Added at v2.6)","Applicable to ArcGIS Online hosted feature services. If present, this object specifies information about editing. See the object specifications table below for the structure of the editingInfo object. (Added at v3.28)\nObject Specifications: \n&lt;editingInfo&gt;","&lt;Nombre&gt; lastEditDate\nChamps obligatoires\nA read-only value that indicates the last time a layer was edited. This value gets updated every time the layer data is edited or when any of the layer properties change. The value is depicted as a Unix timestamp, e.g.","&quot;editingInfo&quot; : \n  &quot;lastEditDate&quot; : 1536363634886","The array of fields in the layer.","The full extent of the layer.","The geodatabase version. Only applicable if the layer&#39;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)","Geometry type of the features in the layer. Can be one of the following: &quot;esriGeometryPoint&quot;, &quot;esriGeometryPolygon&quot; or &quot;esriGeometryPolyline&quot;.","The globalIdField for the layer.","Array of features in the layer.","Indicates whether the layer displays all features intersecting the current view. Typically, this method should be called after the layer emits the update-end un événement. (Added at v3.28)\nValeur par défaut: vrai","True if attachments are enabled on the feature layer. Use the queryAttachmentInfos method to determine if the feature has attachments. If the layer is editable (isEditable) and supports attachments the following operations can be performed.","Add attachments to features.\nDelete existing attachments.","Known values: true | faux","When true, the layer has attribution data. The default value is false.  Use the getAttributionData method to retrieve this data as JSON. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: faux","The html popup type defined for the layer. View the constants table for a list of valid values.","ID assigned to the layer. If not assigned, esri.Map assigns value. By default, the ID of the layer is &quot;layer&quot; followed by a number. The ID can be user defined only in the layer constructor.\nSample:","Setting the layer ID in the layer constructor.","require([\n  \"esri/layers/ArcGISDynamicMapServiceLayer\", ... \n], function(ArcGISDynamicMapServiceLayer, ... ) \n  var population = new ArcGISDynamicMapServiceLayer(&quot;http://myserver/arcgis/rest/population/MapServer/Layers&quot;, id:&quot;population&quot;);\n  ...\n);","Setting the layer ID after a layer is initialized.","population.id = &quot;population&quot;;","Retrieving the layer ID.","function getMapLayers() \n  for (var j=0, jl=map.layerIds.length; j&lt;jl; j++) \n    var currentLayer = map.getLayer(map.layerIds[j])\n    alert(&quot;id: &quot; + currentLayer.id);\n  ","The info template for the layer. (Added at v3.9)","Label definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property.  (Added at v3.10)\nSample:","labelingInfo:[{\n  &quot;labelExpression&quot;: &quot;&quot;, //deprecated, labelExpressionInfo property should be used in its place\n  &quot;labelExpressionInfo&quot;: \n   &quot;value&quot;: &quot;City Of CITY_NAME has population POPULATION&quot;\n  ,\n  &quot;useCodedValues&quot;:  //parameters used when attribute field has domain values,\n  &quot;labelPlacement&quot;: &quot;above-right&quot;,\n  &quot;symbol&quot;: ..., //TextSymbol used for labeling\n  &quot;minScale&quot;: 0, //specified scale range where labels are visible\n  &quot;maxScale&quot;: 5000,\n  //fieldInfos structure describes attribute field formatting\n  &quot;fieldInfos&quot;:[\n     fieldName: &quot;created_date&quot;, format:  dateFormat: &quot;shortDate&quot; , //date/time formatting \n     fieldName: &quot;last_edited_date&quot;, format:  dateFormat: &quot;longDate&quot; ,  //date/time formatting\n     fieldName: &quot;eventtype&quot;, format:  places: 6, digitSeparator: true   //numeric formatting\n  ],\n  &quot;where&quot;: &quot;POP_RANK &gt; 2 AND POP_RANK","Unique ID of the layer that the FeatureLayer was constructed against.","Set if the layer failed to load. (Added at v3.9)","When the layer is loaded, the value becomes &quot;true&quot;, and layer properties can be accessed.  The onLoad event is also fired.\nKnown values: true | faux","The maximum allowable offset, only applicable for layers that are not editable. (Added at v2.7)","The maximum number of results that will be returned from a query. Requires ArcGIS Server version 10.1 or greater. (Added at v2.6)","Maximum visible scale for the layer. If the map is zoomed in beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a maximum scale. (Added at v3.1)\nValeur par défaut: 0","Minimum visible scale for the layer. If the map is zoomed out beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a visible scale. (Added at v3.1)\nValeur par défaut: 0","Supports feature services whose data source is a multipatch featureclass.","Default is xyFootprint if geometryType is esriGeometryMultiPatch. Otherwise, undefined.\nUser can override this property with a different choice in the future when FS supports it.\nQueries made through the FeatureLayer will include multipatchOption parameter if returnGeometry est vrai.\nApplies to snapshot, ondemand, selectFeatures, and queryFeatures","Remarque: Requires ArcGIS 10.3 and above. (Added at v3.12)\nValeur par défaut: xyFootprint\nSample:","var infoTemplate = new InfoTemplate(&quot;Attributes&quot;, &quot;$*&quot;);","var url = &quot;http://servername.fqdn.suffix/arcgis/rest/services/Hosted/pasadena/FeatureServer/0&quot;;\nvar featureLayerOptions = \n  id: &quot;cities&quot;,\n  mode: FeatureLayer.MODE_AUTO,\n  outFields: [\"*\"],\n  infoTemplate: infoTemplate\n;\nvar citiesFeatureLayer = new FeatureLayer(url, featureLayerOptions);","map.addLayer(citiesFeatureLayer);","The name of the layer as defined in the map service.","The name of the field that contains the Object ID field for the layer.","Opacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.\nKnown values: 0.0 - 1.0\nValeur par défaut: 1,0","Indicates the ownership access control configuration. If ownership based access control is not enabled for the feature service the value will be null. If ownership based access control is not enabled for the feature service the value will be null. This object has two properties allowDeleteToOthers et allowUpdateToOthers. When true features can be deleted or updated by users other than the creator.","allowUpdateToOthers,\n   allowDeleteToOthers","(Added at v2.6)","Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. (Added at v3.7)","Each element in the array is an object that describes the layer&#39;s relationship with another layer or table. Use the queryRelatedFeatures method to retrieve features or records related to a feature in this layer. The object has the following properties:","identifiant","Unique ID for the relationship","prénom","Name of the relationship.","relatedTableId","Unique ID of the related table or layer","Sample:","var relationships = wellFeatureLayer.relationships;\ndojo.forEach(relationships,function(relationship)\n  console.log(&quot;name: &quot; + relationship.name);\n  console.log(&quot;id: &quot; + relationship.id);\n  console.log(&quot;relationship id: &quot;   + relationship.relatedTableId);\n);","The renderer for the layer.","When true, the layer&#39;s attribution is displayed on the map. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: vrai","Determines if labels are displayed. When false, labels for the layer are not displayed. \nIf the FeatureLayer has labeling defined on it, labels will automatically display if the Map&#39;s showLabels est vrai. \nIf you do not wish to have your feature layer label, you can override this behavior by setting its showLabels property to false.\nNOTE: In order for the labels to display, all fields used by the labelingInfo should be set in outFields. In addition, only simple labeling is supported, for example CITY_NAME. For example, SQL keywords such as &quot;CONCAT&quot; are not supported. Consider using the LabelLayer class where you can specify the  textExpression if needing more functionality. Added at v3.11\nKnown values: true | faux\nValeur par défaut: vrai","The dynamic layer or table source. (Added at v2.7)","Indicates whether the layer is responsible for styling graphics. Quand vrai, styling is based on graphics symbol or the layer&#39;s renderer. Quand faux, graphics styling is disabled. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)\nKnown values: true | faux","When true, the layer supports orderByFields in a query operation. Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux","When true, the layer supports uploading attachments with Uploads REST operation, which then can be used in the Add Attachment or Update Attachment REST operations. Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux","When true, the layer supports the Calculer REST operation when updating features.  Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux","If true, the layer supports a user-defined field description. Please see the ArcGIS Online help topic, Describe attribute fields for additional information. (Added at v3.28)","When true, the layer supports statistical functions in query operations.  Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux","Type of vector graphics surface used to draw graphics. (Added at v3.7)\nKnown values: &quot;svg&quot; | &quot;canvas-2d&quot; | &quot;vml&quot;\nValeur par défaut: &quot;svg&quot; on all browsers - except IE8 or earlier where &quot;vml&quot; is used to draw graphics.","When true, the layer is suspended. A layer is considered to be suspended when one of the following is true:","The layer is hidden.\nThe layer is not visible at the current map scale.\nThe layer is explicitly suspended by calling the Layer.suspend méthode.","(Added at v3.1)\nKnown values: true | faux","An array of feature templates defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers.\nSample:","require([\n  \"esri/layers/FeatureLayer\", \"dojo/_base/array\", ... \n], function(FeatureLayer, array, ... ) \n  var layer = new FeatureLayer( ... );\n  var templates = layer.templates;\n  array.forEach(templates,function(template)\n    console.log(template.description);\n    console.log(template.name);\n  );\n  ...\n);","Time information for the layer, such as start time field, end time field, track id field, layers time extent and the draw time interval.  Only applicable if the layer is time aware.","Specifies the type of layer.  Can be &quot;Feature Layer&quot; or &quot;Table&quot;.","The field that represents the Type ID field. Only applicable for ArcGIS Server Feature Service layers.","An array of sub types defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers.","The version of ArcGIS Server where the layer is published. Examples are 9.3, 9.31, 10. (Added at v2.1)","Visibility of the layer.\nKnown values: true | faux\nValeur par défaut: vrai","When true, the layer is visible at the current map scale. (Added at v3.1)\nKnown values: true | faux","Indicates if WebGL is enabled on the layer. Note that this doesn&#39;t indicate that WebGL is actually being used in the rendering. Use hasWebGLSurface() to check if the layer is drawn with WebGL. (Added at v3.24)\nValeur par défaut: vrai","Method Details","Parameters:","&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature to which the attachment is added.","&lt;HTMLFormElement&gt; formNode\nChamps obligatoires\nHTML form that contains a file upload field pointing to the file to be added as an attachment. If you are using HTML then your form should follow this basic pattern:","If you wish to create the form data in JavaScript, then you can create a form using the following pattern:","var formData = new FormData();\nformData.append(&quot;attachment&quot;, file);","&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the addAttachmentComplete event.","&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs during task execution.","Apply edits to the feature layer. Only applicable for layers in a feature service. \nREMARQUE: Date field values are always represented as numérique valeurs. This means that when updating existing features, date fields must have numeric values and not date objects.","Parameters:","&lt;Graphic[]&gt; adds\nOptionnel\nArray of features to add to the layer in the feature service. New features are typically created using the Draw toolbar.","&lt;Graphic[]&gt; updates\nOptionnel","Array of features whose geometry and/or attributes have changed. Features must have a valid OBJECTID. The geometry of features is typically modified using the Edit toolbar. Attributes are modified using the Attribute Inspector.","&lt;Graphic[]&gt; deletes\nOptionnel\nArray of features to delete. Must have valid ObjectId","&lt;Une fonction&gt; callback\nOptionnel\nThis function will be called when the operation is complete. The arguments passed to this function are the same as the onEditsComplete event.","&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","Sample:","require([\n  \"esri/layers/FeatureLayer\", ... \n], function(FeatureLayer, ... ) \n  var firePerimeterFL = new FeatureLayer( ... );\n  var targetGraphic = firePerimeterFL.getSelectedFeatures()[0].setGeometry(reshapedGeometry);\n  firePerimeterFL.applyEdits(null, [targetGraphic], null);\n  ...\n);","Adds a new attribute or changes the value of an existing attribute on the layer&#39;s node. Removes the attribute if the value is nul ou indéfini. (Added at v3.7)\nParameters:","&lt;Chaîne&gt; name\nChamps obligatoires\nThe name of the attribute.","&lt;Chaîne&gt; value\nChamps obligatoires\nThe value of the attribute. Set this value as nul to remove the attribute.","Clears all graphics.\nSample:","graphicsLayer.clear();","Clears the current selection.","Delete one or more attachments for the feature specified by the input ObjectId. Only applicable if isEditable and hasAttachments are true.\nParameters:","&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature from which the attachment is removed.","&lt;Nombre[]&gt; attachmentIds\nChamps obligatoires\nThe array of attachment ids to delete.","&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","Disables feature reduction (for example clustering) on the layer. This is useful for certain workflows, such as editing, where feature reduction can hinder the desired user experience. Only applicable to point layers. (Added at v3.22)\nSample:","featureLayer.disableFeatureReduction();","Disables all mouse events on the graphics layer.","Enables feature reduction (for example clustering) on the layer using the options set in setFeatureReduction(). Only applicable to point layers. (Added at v3.22)\nSample:","featureLayer.enableFeatureReduction();","Enables all mouse events on the graphics layer.","Returns graphics representing the aggregation of several point features clustered together. Only applicable when feature reduction is enabled. (Added at v3.22)\nSample:","var aggregateGraphics = featureLayer.getAggregateGraphics();","Asynchrously returns custom data for the layer when available. (Added at v3.1)","Returns the current definition expression.","Parameters:","&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field.","&lt;Objet&gt; options\nOptionnel\nPlease see the options object specification table below.","Object Specifications: \n&lt;options&gt;","&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature in which the Domain is retrieved.NOTE: If the layer has sub-types, the domain will be calculated based on the feature type and domain defined for that type.","Returns an object that describes the edit capabilities of the layer. The returned object has the following properties:","canCreate\nWhen true, new features can be created.","canUpdate\nWhen true, existing features can be updated.","canDelete\nWhen true, features can be deleted.","(Added at v2.6)\nParameters:","&lt;Objet&gt; options\nOptionnel\nIf the layer supports ownership based access control, use the options to determine if the specified user can edit features. Ownership based access control requires ArcGIS Server services version 10.1 or greater. See the object specifications table below for the structure of the  options  objet.","Object Specifications: \n&lt;options&gt;","&lt;Graphic&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user.","&lt;graphique&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user.","&lt;Chaîne&gt; userId\nChamps obligatoires\nThe name of the currently logged in user. If the application uses the IdentityManager the IdentityManager supplies the layer with the userId so this parameter is not required.","Sample:","var capabilities = featureLayer.getEditCapabilities();","if(capabilities.canUpdate)","  console.log(&quot;This layer can be updated&quot;);","Returns an object describing the most recent edit operation performed on the given feature, if available. (Added at v2.8)\nParameters:","&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit info for.","&lt;Objet&gt; options\nOptionnel\n    See the object specifications table below for the structure of the  options  objet.","Object Specifications: \n&lt;options&gt;","&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior.","&#39;creation&#39; indicates creation summary is desired.\n&#39;edit&#39; indicates edit summary is desired.","Sample:","  &quot;action&quot;        : &quot;creation&quot;, // or &quot;edit&quot;\n  &quot;userId&quot;        : &quot;Mike&quot;,\n  &quot;minutes&quot;       :  15,\n  &quot;hours&quot;         :  5,\n  &quot;weekDay&quot;       : &quot;Tuesday&quot;,\n  &quot;formattedDate&quot; : &quot;1/1/2012&quot;,\n  &quot;formattedTime&quot; : &quot;9:30 AM&quot;,\n  &quot;displayPattern&quot;: &quot;Minutes&quot;, // or &quot;Seconds&quot;, &quot;Minute&quot;, &quot;Hour&quot;, &quot;Hours&quot;, &quot;WeekDay&quot;, &quot;Full&quot;\n  &quot;timeValue&quot;     :  1330167842310","Returns a localized summary of the last edit operation performed on the given feature, if available. Par exemple:\nEdited by Bjorn seconds ago\nEdited by Bjorn a minute ago\nEdited by Bjorn 15 minutes ago\nEdited by Bjorn an hour ago\nEdited by Bjorn 5 hours ago\nEdited by Bjorn on Tuesday at 1:30 PM\nEdited by Bjorn on 4/27/2014 at 11:30 AM","The word &quot;Edited&quot; will be replaced by &quot;Created&quot; if the author has disabled editorField attribute but enabled creatorField attribute. The user component and date-time component may or may not be available depending on your layer&#39;s edit tracking settings (see editFieldsInfo property of this layer for more information).\nAn empty string will be returned if:","the layer is not initialized or\nif the layer&#39;s edit tracking settings have been turned off or\nif the feature does not have edit tracking fields in its attributes.\n (Added at v2.8)","Parameters:","&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit summary for.","&lt;Objet&gt; options\nOptionnel\nSee the object specifications table below for the structure of the  options  objet.","Object Specifications: \n&lt;options&gt;","&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior.","&#39;creation&#39; indicates creation summary is desired.\n&#39;edit&#39; indicates edit summary is desired.","&lt;Une fonction&gt; callback\nChamps obligatoires\nIf you want to customize or override certain components of the summary, provide a callback function using this option. Par exemple:\nfeatureLayer.getEditSummary(feature, \n  callback: function(feature, info) \n    if (info &amp;&amp; info.userId) \n      info.userId = &quot;&quot; + info.userId + &quot;&quot;;\n    \n    return info;\n  \n);","Returns the options used to reduce the number of features visualized by the layer (for example clustering). This is only applicable to point layers. See setFeatureReduction() for more details. (Added at v3.22)\nSample:","featureLayer.getFeatureReduction();","Returns the Champ given the specified field name. (Added at v3.12)\nParameters:","&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field.","Returns reference to the map control the layer is added to. Résultats nul ou indéfini if it is not added to a map. (Added at v3.7)","Returns the current value of the maxAllowableOffset used by the layer. For non-editable layers in on-demand mode if autoGeneralize is enabled the maxAllowableOffset is set to the current map resolution. (Added at v2.7)\nSample:","var currentOffset = featureLayer.getMaxAllowableOffset();","Returns the layer&#39;s DOM node. (Added at v3.7)","Returns the list of fields used to order features by. For queries as well as rendering. (Added at v3.8)","Gets the currently selected features.","Gets the current selection symbol.","Returns graphics from the layer that are not represented by aggregate graphics when feature reduction (such as clustering) is enabled. (Added at v3.22)\nSample:","var singleGraphics = featureLayer.getSingleGraphics();","Get the current time definition applied to the feature layer.\nSample:","require([\n  \"esri/map\", \"esri/layers/FeatureLayer\", \"esri/layers/TimeInfo\", ... \n], function(Map, FeatureLayer, TimeInfo, ... ) \n  var timeSlider = new TimeSlider( ... );\n  var featureLayer = new FeatureLayer();\n  timeSlider.createTimeStopsByTimeInterval(featureLayer.getTimeDefinition(), \n    1, TimeInfo.UNIT_HOURS);\n  ...\n);","Returns a FeatureType describing the feature&#39;s type. NOTE: This is applicable if the layer containing the feature has a TypeIdField. (Added at v3.12)\nParameters:","&lt;Graphic&gt; feature\nChamps obligatoires\nA feature from this layer.","Indicates whether an error is thrown after the layer updates. (Added at v3.24)","Indicates if the layer is rendered in WebGL. (Added at v3.24)","Résultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint. Quand vrai, the FeatureLayer will behave as if it were a polygon.","Auto generalization will be enabled by default.\nAuto mode will treat the layer like a polygon layer.","(Added at v3.12)\nSample:","citiesFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\n  var hasXYFootprint = citiesFeatureLayer.hasXYFootprint();\n  console.log(&quot;Contains xyfootprints:&quot;, hasXYFootprint);\n);","Sets the visibility of the layer to &quot;false&quot;.  The layer is not removed, but it is hidden from view.","Returns true if the FeatureLayer is editable. If the layer is editable, one or more of the following operations can be performed depending on the permissions set on the service.","Add new features.\nModify the geometry and attributes of existing features.\nDelete features.","To see which of the above editing actions may be performed on the layer, execute getEditCapabilities() on the layer after verifying that isEditable() returns true.","Indicates if feature reduction (for example clustering) is active in the view. Feature reduction is active at all scales. At any given scale, if there are features that do not fall within a cluster, they are displayed as individual features. This method is only applicable to point layers when feature reduction is enabled. (Added at v3.22)\nSample:","featureLayer.isFeatureReductionActive();","Indicates if feature reduction (for example clustering) is enabled. Only applicable to point layers. See also setFeatureReduction(). (Added at v3.22)\nSample:","featureLayer.isFeatureReductionEnabled();","Returns true if the layer is visible at the given scale. (Added at v3.1)\nParameters:","&lt;Nombre&gt; scale\nChamps obligatoires\nThe scale at which to check if the layer is visible.","Query for information about attachments associated with the specified ObjectIds.\nParameters:","&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId for the feature to query for attachment information.","&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","Get a count of the number of features that satisfy the input query. Valid only for layers published using ArcGIS Server 10 SP1 or greater. Layers published with earlier versions of ArcGIS Server return an error to the error callback. (Added at v2.1)\nParameters:","&lt;Question&gt; query\nChamps obligatoires","The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.","outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.","&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","Sample:","require([\n  \"esri/tasks/query\", \"FeatureLayer\", ... \n], function(Query, FeatureLayer, ... ) {\n  var query = new Query();\n  var featureLayer = new FeatureLayer( ... );\n  query.where = &quot;POP90_SQMI","Get the extent of features that satisfy the input query. The count of features that satisfy the input query is returned as well. This is valid only for hosted feature services on arcgis.com and for ArcGIS Server 10.3.1 and later. (Added at v3.9)\nParameters:","&lt;Question&gt; query\nChamps obligatoires\nThe query definition.","&lt;Une fonction&gt; callback\nOptionnel\nThe function called when the method has completed.","&lt;Une fonction&gt; errback\nOptionnel\nThe function called when error occurred.","Query features from the feature layer. Layer definition and time definition are honored. Whenever possible the feature layer will perform the query on the client.\nParameters:","&lt;Question&gt; query\nChamps obligatoires","The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.","outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used. As of version 3.5 the returnGeometry value is honored.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.","&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","Sample:","require([\n  \"esri/layers/FeatureLayer\", \"esri/tasks/query\", ... \n], function(FeatureLayer, Query, ... ) \n  featureLayer = new FeatureLayer( ... );\n  var query = new Query();\n  query.objectIds =[features[features[features[features[0].attributes.OBJECTID];\n  query.outFields = [ \"*\" ];\n  // Query for the features with the given object ID\n  featureLayer.queryFeatures(query, function(featureSet) \n  );\n  ...\n);","Query for ObjectIds. There is no limit on the number of ObjectIds that are returned from the server. Like queryFeatures this operation will perform queries on the client (browser) whenever possible.  Valid only for layers published using ArcGIS Server 10 SP1 or greater.\nParameters:","&lt;Question&gt; query\nChamps obligatoires","The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.","outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.","&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","Sample:","require([\n  \"esri/layers/FeatureLayer\", \"esri/tasks/query\", ... \n], function(FeatureLayer, Query, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  // create a query to fetch object IDs for all records\n  var query = new Query();\n  query.where = &quot;1=1&quot;;\n  \n  featureLayer.queryIds(query, function(objectIds) \n    //do something with the objectIds here\n  );\n  ...\n);","Query features or records, from another layer or table, related to features in this layer.\nParameters:","&lt;RelationshipQuery&gt; relQuery\nChamps obligatoires\nThe input query.","&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","Sample:","require([\n  \"esri/layers/FeatureLayer\", \"esri/tasks/RelationshipQuery\", \"dojo/_base/connect\", ... \n], function(FeatureLayer, RelationshipQuery, connect, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  var relatedQuery = new RelationshipQuery();\n  relatedQuery.outFields = [\"AGREE_WITH_INCIDENT\"];\n  relatedQuery.relationshipId = 1;\n  \n  //query for the features related to the &quot;clicked&quot; feature\n  connect.connect(featureLayer, &quot;onClick&quot;, function(evt) \n    graphicAttributes = evt.graphic.attributes;\n    relatedQuery.objectIds = [graphicAttributes.OBJECTID];\n    featureLayer.queryRelatedFeatures(relatedQuery,relatedRecords);\n  \n  ...\n);","Redraws all the graphics in the graphics layer. Unlike refresh(), redraw does not re-query features from the server. (Added at v3.3)","Refreshes the features in the feature layer. The feature layer requeries all the features in the service, except the selected features, and updates itself.","Removes a graphic.\nParameters:","&lt;Graphic&gt; graphic\nChamps obligatoires\nThe graphic to remove.","Resumes layer drawing. (Added at v3.1)","Selects features from the FeatureLayer. Layer properties like layer definition and time definition are honored. The selection method defines how query results are passed to the selection. The feature layer will highlight the current selection if a selection symbol has been defined. Whenever possible, the feature layer will perform the query operation on the client (browser).\nParameters:","&lt;Question&gt; query\nChamps obligatoires","The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.","outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.","&lt;Nombre&gt; selectionMethod\nOptionnel\nThe selection method defines how the rest of the selection is combined with the existing selection. See Constants table for valid values. The default option is to create a new selection.","&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the onSelectionComplete event.","&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","Sample:","require([\n  \"esri/tasks/query\", \"esri/layers/FeatureLayer\", ... \n], function(Query, FeatureLayer, ... ) \n  var query = new Query();\n  var featureLayer = new FeatureLayer( ... );\n  query.geometry = feature.geometry;\n  featureLayer.selectFeatures(query,FeatureLayer.SELECTION_NEW);\n  ...\n);","Enable or disable auto generalization for the layer. Note that auto generalization is only applicable to non-editable feature layers in on-demand mode. (Added at v2.7)\nParameters:","&lt;Booléen&gt; enable\nChamps obligatoires\nWhen true, auto generalize is enabled. Default value for non-editable on-demand feature layers is true.","Sample:","featureLayer.setAutoGeneralize(false);","Sets the definition expression for the FeatureLayer. Only the features that match the definition expression are displayed. A definition expression limits the features available for display and queries by applying constraints to the layer&#39;s attribute fields. Setting a definition expression is useful when the dataset is large and you don&#39;t want to bring everything to the client for analysis. This method is typically called before adding the layer to the map. If the method is called after the layer is added to the map the layer will refresh itself to reflect the new definition expression.\nThis definition expression is combined with the layer&#39;s default definition expression which results in a further restriction of the layer.","Parameters:","&lt;Chaîne&gt; expression\nChamps obligatoires\nThe definition expression to apply. For example, &quot;TYPE=&#39;Park&#39;&quot;","Sample:","featureLayer.setDefinitionExpression(&quot;STATE_NAME = &#39;South Carolina&#39;&quot;);","Set the editability of feature layers created from a feature collection. This method is only valid for feature layers created from feature collections. \nWhen the feature layer&#39;s editability is updated the onCapabilitiesChange event is fired. Utilisez le isEditable method to determine if the layer is editable. \n (Added at v2.6)\nParameters:","&lt;Booléen&gt; editable\nChamps obligatoires\nWhen true, the layer will be set as editable.","Sample:","featureLayer.setEditable(true);","Sets feature reduction options on the layer (for example clustering options). When set, features in the layer will aggregate, thus changing the visualization. This will not change the renderer of the layer. See the valid parameters in the table below.\nSupport for feature reduction is limited to the following scenarios:","Point data in FeatureLayer (from service or FeatureCollection) and CSVLayer.\nThe map must have a spatial reference of Web Mercator or WGS84.\nIf the layer contains more than 50,000 features, then only the first 50,000 will be clustered.\nA FeatureLayer created from a service URL must point to a service that supports pagination (ArcGIS Server version 10.3.1 or higher).\nWhen editing is initiated with the Editor widget, then feature reduction is disabled until the Editor widget is destroyed.\nFeature reduction is disabled when the layer has one of the following renderers: HeatmapRenderer,\n        BlendRenderer, TemporalRenderer, ou\n        ScaleDependentRenderer.","(Added at v3.22)\nParameters:","&lt;Objet&gt; options\nChamps obligatoires\nOptions for reducing (or aggregating) the features in the map. See the table below for more details.","Object Specifications: \n&lt;options&gt;","&lt;Nombre&gt; clusterRadius\nOptionnel\nThe radius in pixels of each area in which multiple points will be summarized and visualized as a single cluster. The default value is 80.","&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nThe InfoTemplate used to display summary information about aggregate graphics.","&lt;Chaîne&gt; type\nChamps obligatoires\nThe reduction (or aggregation) method for reducing the features displayed in the map. The only valid type is grappe.","Sample:","featureLayer.setFeatureReduction(\n    type: &quot;cluster&quot;,\n    clusterRadius: 60\n  );","Set the layer&#39;s data source to the specified geodatabase version. If the versionName is null then the data source will be the published map&#39;s default version. Only applicable if the layer&#39;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)\nParameters:","&lt;Chaîne&gt; versionName\nChamps obligatoires\nThe name of the geodatabase version to use as the layer&#39;s data source.","Specify or change the info template for a layer. (Added at v2.2)\nSample:","require([\n  \"esri/InfoTemplate\", ... \n], function(InfoTemplate, ... ) \n    var template = new InfoTemplate();","    template.setTitle(&quot;$qAddress&quot;);","    template.setContent(getTextContent);","    featureLayer.setInfoTemplate(template);\n  ...\n);","Sets labeling info on the layer. Input value is an array of LabelClass objects. (Added at v3.10)\nParameters:","&lt;LabelClass[]&gt; labelingInfo\nChamps obligatoires\nThis is the label definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property.","Sample:","//make sure the Map&#39;s showLabels option is set to true\n  var map = new Map(&quot;map&quot;, \n    basemap: &quot;streets&quot;,\n    center:[-80, 30],\n    zoom: 5,\n    showLabels : true\n  );\n \n//create featurelayer\n  var flayer = new FeatureLayer(url, \n    outFields: [\"*\"] //make sure field to label is specified here in outFields\n  );","//create a text symbol and renderer to define the style of labels\n   var labelSymbol = new TextSymbol(); \n   var labelRenderer = new SimpleRenderer(labelSymbol);","var json = \n  &quot;labelExpressionInfo&quot;: &quot;value&quot;: &quot;LocalTime&quot;,\n  &quot;useCodedValues&quot;: false,\n  &quot;labelPlacement&quot;:&quot;above-right&quot;,\n  &quot;fieldInfos&quot;: [fieldName: \"LocalTime\",format:  \"dateFormat\": \"shortDate\"]\n  ;","//create instance of LabelClass\n  var lc = new LabelClass(json);\n  lc.symbol = labelSymbol; // symbol also can be set in LabelClass&#39; json\n  flayer.setLabelingInfo([ lc ])","Sets the maximum allowable offset used when generalizing geometries. The offset is in the units of the spatialReference. This is ignored when working with editable layers.\nParameters:","&lt;Nombre&gt; offset\nChamps obligatoires\nThe maximum allowable offset.","Sample:","require([\n  \"esri/layers/FeatureLayer\", ... \n], function(FeatureLayer, ... ) \n  featureLayer = new FeatureLayer(featureLayerUrl, \n    maxAllowableOffset: 1000\n  );\n  ...\n);","Set the maximum scale for the layer. (Added at v3.1)\nParameters:","&lt;Nombre&gt; scale\nChamps obligatoires\nThe maximum scale at which the layer is visible.","Set the minimum scale for the layer. (Added at v3.1)\nParameters:","&lt;Nombre&gt; scale\nChamps obligatoires\nThe minimum scale at which the layer is visible.","Initial opacity or transparency of layer. Not supported in Internet Explorer.\nParameters:","&lt;Nombre&gt; opacity\nChamps obligatoires\nValue from 0 to 1, where 0 is 100% transparent and 1 has no transparency. The default value is 1.","Sample:","featureLayer.setOpacity(.50);","Changes the layer&#39;s refresh interval to the given value (in minutes). Non-zero value sets up automatic layer refresh at the specified interval. Value of 0 stops auto refresh. (Added at v3.7)\nParameters:","&lt;Nombre&gt; interval\nChamps obligatoires\nRefresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled.","Set the renderer for the feature layer.\nParameters:","&lt;Renderer&gt; renderer\nChamps obligatoires\nThe renderer to apply to the feature layer","Sample:","require([\n  \"esri/symbols/SimpleFillSymbol\", \"esri/Color\", \"esri/renderers/SimpleRenderer\", ... \n], function(SimpleFillSymbol, Color, SimpleRenderer, ... ) \n  var symbol = new SimpleFillSymbol().setColor(new Color([255,0,0,0.5]));","  var renderer = new SimpleRenderer(symbol);","  featureLayer.setRenderer(renderer);\n  ...\n);","Set the scale range for the layer.  If minScale and maxScale are set to 0 then the layer will be visible at all scales. (Added at v2.5)\nParameters:","&lt;Nombre&gt; minScale\nChamps obligatoires\nThe minimum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a minimum scale.","&lt;Nombre&gt; maxScale\nChamps obligatoires\nThe maximum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a maximum scale.","Sample:","featureLayer.setScaleRange(591657528,147914381);","Sets the selection symbol for the feature layer. If no symbol is specified, features are drawn using the layer&#39;s renderer.\nParameters:","&lt;symbole&gt; symbol\nChamps obligatoires\nSymbol for the current selection. Make sure the symbol type is appropriate for the geometry type of the layer.","Sample:","require([\n  \"esri/layers/FeatureLayer\", \"esri/symbols/SimpleFillSymbol\", \"esri/Color\", ... \n], function(FeatureLayer, SimpleFillSymbol, Color, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  var selectionSymbol = new SimpleFillSymbol().setColor(new Color([255,255,0,0.5]));\n  featureLayer.setSelectionSymbol(selectionSymbol);\n  ...\n);","Sets whether to display labels or not. Set to false to turn off labeling. (Added at v3.11)\nParameters:","&lt;Booléen&gt; showLabels\nChamps obligatoires\nSet to true to show labels.","Sets the time definition for the feature layer. A time definition temporarily filters the features in the layer to match the specified time extent. Only applicable for time-aware layers. Only supported when the feature layer is in snapshot mode. \nIn addition to time definition, time-aware layers also support the time extent set on the map. Time-aware layers automatically update when the map&#39;s time extent is changed, similar to how layers react when the map&#39;s spatial reference is modified. If a layer&#39;s time definition is set to display features between 1970 and 1975 and the map has a time extent set to 1972-1980, the effective time on the feature layer will be 1972-1975","Parameters:","&lt;TimeExtent&gt; definition\nChamps obligatoires\nThe new time extent used to filter the layer.","Sample:","require([\n  \"esri/TimeExtent\", \"esri/layers/FeatureLayer\", ... \n], function(TimeExtent, FeatureLayer, ... ) \n  var defn = new TimeExtent();\n  var featureLayer( ... );\n  defn.startTime = new Date(&quot;November 30,2009 6:00:00&quot;)\n  defn.endTime = new Date(&quot;November 30, 2009 8:00:00&quot;);\n  featureLayer.setTimeDefinition(defn);\n  ...\n);","Time offset allows you to display the features at a different time so they can be overlaid on top of previous or future time periods. For example, to visualize the growth pattern of two wild fires that happened in two different years, one of the layers can be given an offset that will cause it to appear as if the fire started at the same time as the other fire. Note that the offset does not change the temporal component of the data itself and has no effect if the layer is not time aware.\nExample: If a layer has data recorded for the year 1970, an offset value of 2 years would temporarily shift the data to 1972 (for display purposes only, query and selection are not affected by offset).","Parameters:","&lt;Nombre&gt; offsetValue\nChamps obligatoires\nThe length of time to offset from &quot;this&quot; time. Specify a positive or negative whole number.","&lt;Chaîne&gt; offsetUnits\nChamps obligatoires\nUnits in which the offset is specified. See the TimeInfo constants for valid values.","Determine if the layer will update its content based on the map&#39;s current time extent. Default value is true. (Added at v2.2)\nParameters:","&lt;Booléen&gt; update\nChamps obligatoires\nWhen false the layer will not update its content based on the map&#39;s time extent. Default value is true.","Sets the visibility of the layer. When true, the layer is visible.\nParameters:","&lt;Booléen&gt; isVisible\nChamps obligatoires\nSet the visibility of the layer.","Toggles WebGL rendering on/off on the layer. (Added at v3.24)\nParameters:","&lt;Booléen&gt; enable\nChamps obligatoires\nIndicates whether to enable WebGL on the layer.","Sample: \nlayer.setWebGLEnabled(true);","Sets the visibility of the layer to &quot;true&quot;.","Suspends layer drawing. (Added at v3.1)","Returns an easily serializable object representation of the layer. Regardless of the layer&#39;s mode of operation, only features currently available on the client are included.","  layerDefinition: ,","    featureSet:","    features:","Détails de l&#39;évènement\n[[[[On Style Events | Connect Style Event ]","Fires when addAttachments() is complete. Should be used in favor of onAddAttachmentComplete. (Added at v3.5)\nEvent Object Properties:","&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added.","Fired before edits are applied to the feature layer. Should be used in favor of onBeforeApplyEdits. (Added at v3.5)\nEvent Object Properties:","&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service.","&lt;Graphic[]&gt; deletes\nArray of features to delete.","&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed.","Fired when the capabilities of the layer are modified using the setEditable method. Should be used in favor of onCapabilitiesChange. (Added at v3.5)","Fires when a graphic has been clicked. Should be used in favor of onClick. (Added at v3.5)\nEvent Object Properties:","&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","Fires when a feature has been double clicked. (Added at v3.6)\nEvent Object Properties:","&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic.","Sample:","require([\n  \"dojo/_base/connect\", \"esri/toolbars/Edit\", ... \n], function(connect, Edit, ... ) \n  var editToolbar = new Edit( ... );\n  connect.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt) \n    editToolbar.activate(Edit.EDIT_VERTICES , evt.graphic);\n  );\n  ...\n);","Fires when deleteAttachments is complete. Should be used in favor of onDeleteAttachmentsComplete. (Added at v3.5)\nEvent Object Properties:","&lt;Objet[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed.","Fires after applyEdits() is complete. Should be used in favor of onEditsComplete. (Added at v3.5)\nEvent Object Properties:","&lt;FeatureEditResult[]&gt; adds\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature.","&lt;FeatureEditResult[]&gt; deletes\nAn array of result objects, one for each feature, indicating if it was successfully deleted. If the feature was deleted the result object will contain the unique object ID previously assigned to the feature.","&lt;FeatureEditResult[]&gt; updates\nAn array of result objects, one for each feature, indicating if it was successfully updated. If the feature was updated the result object will contain the unique object ID assigned to the feature.","Fires when there is a problem retrieving a layer. Should be used in favor of onError. (Added at v3.5)","Fired when the geodatabase version is switched. (Added at v3.5)","Fires when a graphic is added to the GraphicsLayer. Should be used in favor of onGraphicAdd. (Added at v3.5)\nEvent Object Properties:","&lt;Graphic&gt; graphic\nThe added graphic.","Fires when a graphic is drawn. A graphic is drawn or redrawn when:","When it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn.","(Added at v3.7)\nEvent Object Properties:","&lt;Graphic&gt; graphic\nGraphic being drawn. When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#39;s DOM node is accessible with graphic.getNode().","Fires when a graphic&#39;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)","This event is fired when a graphic&#39;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:","Graphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image).","Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)","Fires when a graphic is removed from the GraphicsLayer. Should be used in favor of onGraphicRemove. (Added at v3.5)\nEvent Object Properties:","&lt;Graphic&gt; graphic\nThe removed graphic.","Fires when all graphics in the GraphicsLayer are cleared. Should be used in favor of onGraphicsClear. (Added at v3.5)","Fired when labeling info on the layer changes. (Added at v3.10)","Fires after layer properties for the layer are successfully populated. This event must be successful before the layer can be added to the map. Should be used in favor of onLoad. (Added at v3.5)\nEvent Object Properties:","&lt;Couche&gt; layer\nThe loaded layer.","Fires when a mouse button is pressed down and the mouse cursor is on a graphic. Should be used in favor of onMouseDown. (Added at v3.5)","Fires while the mouse is being dragged until the mouse button is released. Should be used in favor of onMouseDrag. (Added at v3.5)","Fires as the mouse moves through a graphic on the GraphicsLayer. Should be used in favor of onMouseMove. (Added at v3.5)","Fires as the mouse exits a graphic on the GraphicsLayer. Should be used in favor of onMouseOut. (Added at v3.5)","Fires when the mouse first enters into a graphic on the GraphicsLayer. Should be used in favor of onMouseOver. (Added at v3.5)","Fires when a mouse button is released and the mouse cursor is on a graphic. Should be used in favor of onMouseUp. (Added at v3.5)","Fires when the layer opacity has been changed, and returns an object with the opacity value. Should be used in favor of onOpacityChange. (Added at v3.5)\nEvent Object Properties:","&lt;Nombre&gt; opacity\nFires when the layer opacity (transparency) changes. A number property named opacity that indicates the new opacity. Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.","Fires when queryAttachmentInfos method is called. Should be used in favor of onQueryAttachmentInfosComplete. (Added at v3.5)\nEvent Object Properties:","&lt;Objet[]&gt; info\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size.","Fires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. Should be used in favor of onQueryCountComplete. (Added at v3.5)\nEvent Object Properties:","&lt;Nombre&gt; count\nThe number of features that satisfy the input query.","Fires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties:","&lt;Nombre&gt; count\nThe count of features.","&lt;Extent&gt; extent\nThe extent of features.","Fires when queryFeatures() is complete. Should be used in favor of onQueryFeaturesComplete. (Added at v3.5)\nEvent Object Properties:","&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query.","Fires when queryIds() is complete. Should be used in favor of onQueryIdsComplete. (Added at v3.5)\nEvent Object Properties:","&lt;Nombre[]&gt; objectIds\nArray of ObjectIds returned from the query.","Fired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. Should be used in favor of onQueryLimitExceeded. (Added at v3.5)","Fires when queryRelatedFeatures() is complete. Should be used in favor of onQueryRelatedFeaturesComplete. (Added at v3.5)\nEvent Object Properties:","&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table.","  &quot;15&quot;: ,\n  &quot;9&quot;:","This event is fired when the layer&#39;s refreshInterval is modified. (Added at v3.7)","Fires right before the actual refresh kicks in for the layer, and only fires when the refresh is triggered by the refreshInterval.  (Added at v3.27)","Fires when a layer resumes drawing. (Added at v3.6)","Fires when a layer&#39;s minScale and/or maxScale is changed. Should be used in favor of onScaleRangeChange. (Added at v3.5)","Fires when a layer&#39;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#39;s scale range or vice versa. Should be used in favor of onScaleVisibilityChange. (Added at v3.5)","Fires after clearSelection has been called. Should be used in favor of onSelectionClear. (Added at v3.5)","Fires when selectFeatures() completes. Should be used in favor of onSelectionComplete. (Added at v3.5)\nEvent Object Properties:","&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set.","&lt;Nombre&gt; method\nSelection method used in the selectFeatures method.","Fired when the feature layer&#39;s labels are changed. Should be used in favor of onShowLabelsChange. (Added at v3.11)","Fires when a layer suspends drawing. (Added at v3.6)","Fired when the layer has finished updating its content. This event is always preceded by update-start. Should be used in favor of onUpdateEnd. (Added at v3.5)\nEvent Object Properties:","&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update.","&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8","Fired when the layer begins to update its content. The following table describes when the event is fired in various modes.","Instantané","When the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#39;s time extent changes.\nWhen the layer is refreshed.","OnDemand","When the layer is added to the map.\nWhen the map&#39;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed.","Selection","The event is not fired in selection mode.","(Added at v3.6)","Fires when the layer visibility has been changed, and returns an object with a Boolean visible property containing the new visibility value of the layer. Should be used in favor of onVisibilityChange. (Added at v3.5)\nEvent Object Properties:","&lt;Booléen&gt; visible\nFires when the layer visibility changes. A boolean property named visible indicates whether or not the layer is visible after visibility changed.","Fires when addAttachments() is complete.\nEvent Object Properties:","&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added.","Fired before edits are applied to the feature layer.\nEvent Object Properties:","&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service.","&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed.","&lt;Graphic[]&gt; deletes\nArray of features to delete.","Fired when the capabilities of the layer are modified using the setEditable méthode. (Added at v2.6)\nSample:","dojo.connect(featureLayer,&#39;onCapabilitiesChange&#39;,function()","  var capabilities = featureLayer.getEditCapabilities();",");","Fires when a graphic has been clicked.\nEvent Object Properties:","&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","Fires when a feature has been double clicked.\nEvent Object Properties:","&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic.","Sample:","dojo.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt)","  editToolbar.activate(esri.toolbars.Edit.EDIT_VERTICES , evt.graphic);",");","Fires when deleteAttachments is complete.\nEvent Object Properties:","&lt;FeatureEditResult[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed.","Fires after applyEdits() has been called.\nEvent Object Properties:","&lt;FeatureEditResult[]&gt; addResults\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature.","&lt;FeatureEditResult[]&gt; updateResults\nAn array of result objects, one for each feature, indicating if it was successfully updated.","&lt;FeatureEditResult[]&gt; deleteResults\nAn array of result objects, one for each feature, indicating if the it was successfully deleted.","Fires when there is a problem retrieving a layer. (Added at v1.3)","Fires when a graphic is added to the GraphicsLayer.\nEvent Object Properties:","&lt;Graphic&gt; graphic\nThe added graphic.","Fires when a graphic is drawn. A graphic is drawn or redrawn when:","When it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn.","(Added at v3.7)\nEvent Object Properties:","&lt;Objet&gt; evt\nle < Graphic > graphique being drawn.  When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#39;s DOM node is accessible with graphic.getNode().","Fires when a graphic&#39;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties:","&lt;Objet&gt; evt\nAn object with the following properties:","< Graphic > graphique:Graphic being drawn.\n   \n< DOM Node > nœud: Graphic&#39;s DOM Node.","This event is fired when a graphic&#39;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:","Graphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image).","Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties:","&lt;Objet&gt; evt\nAn object with the following properties:","graphique\nGraphic being drawn.","nœud\nGraphic&#39;s DOM node.","Fires when a graphic is removed from the GraphicsLayer.\nEvent Object Properties:","&lt;Graphic&gt; graphic\nThe removed graphic.","Fires when all graphics in the GraphicsLayer are cleared.","Fired when labeling info on the layer changes. (Added at v3.10)","Fires after layer properties for the layer are successfully populated.  This event must be successful before the layer can be added to the map. \nIn Internet Explorer, due to resource caching, the onLoad event is fired as soon as the layer is constructed. Consequently you should check whether the layer&#39;s loaded property is true before registering a listener for the onLoad event:","Event Object Properties:","&lt;Couche&gt; layer\nThe loaded layer.","Sample: \nfunction init() \n  //setting initial extent in constructor\n  var map = new esri.Map(&quot;mapDiv&quot;,  extent: new esri.geometry.Extent(...) );","  //or use set extent method\n  var map = new esri.Map(&quot;mapDiv&quot;);\n  map.setExtent(new esri.geometry.Extent(...));","  //add first layer\n  map.addLayer(...);","Fires when a mouse button is pressed down and the mouse cursor is on a graphic.\nEvent Object Properties:","&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","Fires while the mouse is being dragged until the mouse button is released.\nEvent Object Properties:","&lt;Objet&gt; event\nThe result can be any JavaScript MouseEvent, or the x and y coordinates of screenPoint or mapPoint.","Fires as the mouse moves through a graphic on the GraphicsLayer.\nEvent Object Properties:","&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","Fires as the mouse exits a graphic on the GraphicsLayer.\nEvent Object Properties:","&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","Fires when the mouse first enters into a graphic on the GraphicsLayer.\nEvent Object Properties:","&lt;Objet&gt; event\nThe returned object contains  screenPoint, mapPoint, and Graphic.","Fires when a mouse button is released and the mouse cursor is on a graphic.\nEvent Object Properties:","&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","Fires when the layer opacity has been changed, and returns the opacity value.\nEvent Object Properties:","&lt;Nombre&gt; opacity\nOpacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.","Fires when queryAttachmentInfos() is complete.\nEvent Object Properties:","&lt;Objet[]&gt; attachmentInfos\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size.","Fires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. (Added at v2.1)\nEvent Object Properties:","&lt;Nombre&gt; count\nThe number of features that satisfy the input query.","Sample:","dojo.connect(featureLayer,&#39;onQueryCountComplete&#39;,function(count)","  console.log(count + &quot; features satisfied the input query&quot;);",");","Fires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties:","&lt;Extent&gt; extent\nThe extent of features.","&lt;Nombre&gt; count\nThe count of features.","Fires when queryFeatures() is complete.\nEvent Object Properties:","&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query.","Fires when queryIds() is complete.\nEvent Object Properties:","&lt;Nombre[]&gt; ids\nArray of ObjectIds returned from the query.","Fired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. (Added at v2.8)","Fires when queryRelatedFeatures() is complete.\nEvent Object Properties:","&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table.","  &quot;15&quot;: ,\n  &quot;9&quot;:","This event is fired when the layer&#39;s refreshInterval is modified. (Added at v3.7)","Fires when a layer resumes drawing. (Added at v3.1)","Fires when a layer&#39;s minScale and/or maxScale is changed. (Added at v3.1)","Fires when a layer&#39;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#39;s scale range or vice versa. (Added at v3.1)","Fires after clearSelection has been called.","Fires when selectFeatures() has completed. OnSelectionComplete always fires unless there is an error returned by the server.\nEvent Object Properties:","&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set.","&lt;Nombre&gt; selectionMethod\nSelection method used in the selectFeatures method.","Fires when the labels of the featurelayer have changed. (Added at v3.11)","Fires when a layer suspends drawing. (Added at v3.1)","Fired when the layer has finished updating its content. This event is always preceded by onUpdateStart\nEvent Object Properties:","&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update.","&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8","Fired when the layer begins to update its content. The following table describes when the event is fired in various modes.","Instantané","When the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#39;s time extent changes.\nWhen the layer is refreshed.","OnDemand","When the layer is added to the map.\nWhen the map&#39;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed.","Selection","The event is not fired in selection mode.","Fires when the layer visibility has been changed, and returns the new visibility.\nEvent Object Properties:","&lt;Booléen&gt; visbility\nDetermines whether the layer is visible on the map.","Click to rate this post!\n                                   \n                               [Total: 0  Average: 0]"],"content_blocks":[{"id":"text-1","type":"text","heading":"","plain_text":"exiger([\"esri/layers/FeatureLayer\"], function (FeatureLayer) / * code va ici * /);\nLa description","html":"<p>exiger([&quot;esri/layers/FeatureLayer&quot;], function (FeatureLayer) / * code va ici * /);\nLa description</p>"},{"id":"text-2","type":"text","heading":"","plain_text":"(Ajouté à la v2.0)\nLa couche d&#39;entités hérite de la couche graphique et peut être utilisée pour afficher les entités d&#39;une seule couche dans un service de carte ou un service d&#39;entités. La couche peut être une couche (spatiale) ou une table (non spatiale). Les entités d’une couche d’entités peuvent être modifiées si le est éditable méthode est vraie.\nFeatureLayer utilisera par défaut les informations de dessin du serveur (requiert ArcGIS Server 10 ou une version ultérieure). Pour un exemple, voir le moteur de rendu simple dans le Informations de dessin à http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer/0","html":"<p>(Ajouté à la v2.0)\nLa couche d&#039;entités hérite de la couche graphique et peut être utilisée pour afficher les entités d&#039;une seule couche dans un service de carte ou un service d&#039;entités. La couche peut être une couche (spatiale) ou une table (non spatiale). Les entités d’une couche d’entités peuvent être modifiées si le est éditable méthode est vraie.\nFeatureLayer utilisera par défaut les informations de dessin du serveur (requiert ArcGIS Server 10 ou une version ultérieure). Pour un exemple, voir le moteur de rendu simple dans le Informations de dessin à http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer/0</p>"},{"id":"text-3","type":"text","heading":"","plain_text":"Rendu WebGL\nÀ partir de la version 3.24, vous pouvez choisir de rendre FeatureLayer avec WebGL. Cela vous permet d&#39;afficher plus de données sur la carte et de mettre à jour plus rapidement la visualisation des entités. Pour activer le rendu WebGL de FeatureLayer, collez le script suivant dans votre application avant de charger l&#39;API ArcGIS pour JavaScript:","html":"<p>Rendu WebGL\nÀ partir de la version 3.24, vous pouvez choisir de rendre FeatureLayer avec WebGL. Cela vous permet d&#039;afficher plus de données sur la carte et de mettre à jour plus rapidement la visualisation des entités. Pour activer le rendu WebGL de FeatureLayer, collez le script suivant dans votre application avant de charger l&#039;API ArcGIS pour JavaScript:</p>"},{"id":"text-4","type":"text","heading":"","plain_text":"Une fois activé globalement pour l&#39;application, WebGL peut être activé / désactivé à l&#39;aide de l&#39;API ci-dessous:","html":"<p>Une fois activé globalement pour l&#039;application, WebGL peut être activé / désactivé à l&#039;aide de l&#039;API ci-dessous:</p>"},{"id":"text-5","type":"text","heading":"","plain_text":"Limites connues\nLes limitations suivantes des FeatureLayers rendues par WebGL peuvent être modifiées dans les versions futures. Si l&#39;une de ces conditions n&#39;est pas remplie, la couche bascule automatiquement de WebGL à SVG pendant la session.","html":"<p>Limites connues\nLes limitations suivantes des FeatureLayers rendues par WebGL peuvent être modifiées dans les versions futures. Si l&#039;une de ces conditions n&#039;est pas remplie, la couche bascule automatiquement de WebGL à SVG pendant la session.</p>"},{"id":"text-6","type":"text","heading":"","plain_text":"La prise en charge est limitée aux couches créées à partir de services d&#39;entités hébergés sur ArcGIS Online et de services d&#39;entités d&#39;entreprise non hébergés versions 10.6.1 ou ultérieure. Les FeatureLayers créés à partir de FeatureCollections ne sont pas pris en charge.\nLes couches de polygones doivent prendre en charge le retour des centroïdes.\nLe calque ne doit pas être éditable.\nLa couche ne doit pas être groupée.\nLa couche doit utiliser le mode de récupération à la demande.\nLa couche ne doit pas utiliser d&#39;étiquettes.\nLa couche ne doit pas utiliser d&#39;expressions Arcade contenant des opérations de géométrie.\nLe rendu de la couche doit être de type SimpleRenderer, ClassBreaksRenderer ou UniqueValueRenderer.\nLes variables visuelles de couleur et d&#39;opacité doivent avoir 8 arrêts ou moins.\nLes variables visuelles de taille gérées par les attributs doivent comporter 6 arrêts ou moins. Cela n&#39;affecte pas les variables générées par l&#39;échelle de la carte.\nLes symboles de ligne ne doivent pas avoir de flèches.\nLe symbole de sélection n&#39;est pas pris en charge.","html":"<p>La prise en charge est limitée aux couches créées à partir de services d&#039;entités hébergés sur ArcGIS Online et de services d&#039;entités d&#039;entreprise non hébergés versions 10.6.1 ou ultérieure. Les FeatureLayers créés à partir de FeatureCollections ne sont pas pris en charge.\nLes couches de polygones doivent prendre en charge le retour des centroïdes.\nLe calque ne doit pas être éditable.\nLa couche ne doit pas être groupée.\nLa couche doit utiliser le mode de récupération à la demande.\nLa couche ne doit pas utiliser d&#039;étiquettes.\nLa couche ne doit pas utiliser d&#039;expressions Arcade contenant des opérations de géométrie.\nLe rendu de la couche doit être de type SimpleRenderer, ClassBreaksRenderer ou UniqueValueRenderer.\nLes variables visuelles de couleur et d&#039;opacité doivent avoir 8 arrêts ou moins.\nLes variables visuelles de taille gérées par les attributs doivent comporter 6 arrêts ou moins. Cela n&#039;affecte pas les variables générées par l&#039;échelle de la carte.\nLes symboles de ligne ne doivent pas avoir de flèches.\nLe symbole de sélection n&#039;est pas pris en charge.</p>"},{"id":"text-7","type":"text","heading":"","plain_text":"Notez que seul l&#39;événement click se déclenche lorsque WebGL est activé. Tous les autres événements ne sont pas pris en charge. Les sous-classes FeatureLayer ne prennent pas en charge le rendu WebGL. Notez également que la modification des attributs, des symboles, de la géométrie et de la visibilité des entités individuelles dans un calque rendu WebGL n&#39;aura aucun effet.","html":"<p>Notez que seul l&#039;événement click se déclenche lorsque WebGL est activé. Tous les autres événements ne sont pas pris en charge. Les sous-classes FeatureLayer ne prennent pas en charge le rendu WebGL. Notez également que la modification des attributs, des symboles, de la géométrie et de la visibilité des entités individuelles dans un calque rendu WebGL n&#039;aura aucun effet.</p>"},{"id":"text-8","type":"text","heading":"","plain_text":"Des échantillons\n      Rechercher des échantillons qui utilisent cette classe.\nHiérarchie de classe\nesri / layers / Layer\n| _esri / layers / GraphicsLayer\n  | _esri / layers / FeatureLayer\nSous-classes\nConstructeurs\nConstantes","html":"<p>Des échantillons\n      Rechercher des échantillons qui utilisent cette classe.\nHiérarchie de classe\nesri / layers / Layer\n| _esri / layers / GraphicsLayer\n  | _esri / layers / FeatureLayer\nSous-classes\nConstructeurs\nConstantes</p>"},{"id":"text-9","type":"text","heading":"","plain_text":"MODE_AUTO","html":"<p>MODE_AUTO</p>"},{"id":"text-10","type":"text","heading":"","plain_text":"Déléguez en mode à la demande ou en mode instantané en fonction des caractéristiques du service. Cela ne s&#39;applique qu&#39;aux services d&#39;entités hébergés.\nSi le nombre total d&#39;entités dans une couche est inférieur à maxRecordCount et si le nombre total de sommets est inférieur à 250 000, le mode Instantané est utilisé. Sinon, le mode à la demande est utilisé. Ce mode a pour but de réduire la charge côté serveur. Au lieu d&#39;obtenir un petit nombre de fonctionnalités avec plusieurs requêtes (mode à la demande), obtenez toutes les fonctionnalités avec une seule requête. Ce mode nécessite une demande supplémentaire avant de récupérer des fonctionnalités.","html":"<p>Déléguez en mode à la demande ou en mode instantané en fonction des caractéristiques du service. Cela ne s&#039;applique qu&#039;aux services d&#039;entités hébergés.\nSi le nombre total d&#039;entités dans une couche est inférieur à maxRecordCount et si le nombre total de sommets est inférieur à 250 000, le mode Instantané est utilisé. Sinon, le mode à la demande est utilisé. Ce mode a pour but de réduire la charge côté serveur. Au lieu d&#039;obtenir un petit nombre de fonctionnalités avec plusieurs requêtes (mode à la demande), obtenez toutes les fonctionnalités avec une seule requête. Ce mode nécessite une demande supplémentaire avant de récupérer des fonctionnalités.</p>"},{"id":"text-11","type":"text","heading":"","plain_text":"MODE_ONDEMAND","html":"<p>MODE_ONDEMAND</p>"},{"id":"text-12","type":"text","heading":"","plain_text":"En mode à la demande, la couche d&#39;entités récupère les entités du serveur en cas de besoin. Ceci est basé sur les exigences définies dans les propriétés suivantes:","html":"<p>En mode à la demande, la couche d&#039;entités récupère les entités du serveur en cas de besoin. Ceci est basé sur les exigences définies dans les propriétés suivantes:</p>"},{"id":"text-13","type":"text","heading":"","plain_text":"Propriétés de la carte telles que l&#39;étendue spatiale actuelle et l&#39;heure.\nPropriétés de la couche telles que le décalage temporel et l&#39;expression de définition.","html":"<p>Propriétés de la carte telles que l&#039;étendue spatiale actuelle et l&#039;heure.\nPropriétés de la couche telles que le décalage temporel et l&#039;expression de définition.</p>"},{"id":"text-14","type":"text","heading":"","plain_text":"SÉLECTION DE MODE","html":"<p>SÉLECTION DE MODE</p>"},{"id":"text-15","type":"text","heading":"","plain_text":"En mode de sélection, les fonctionnalités sont extraites du serveur uniquement lorsqu&#39;elles sont sélectionnées. Les fonctionnalités sont disponibles sur le client uniquement lorsqu&#39;elles sont sélectionnées. Pour utiliser les fonctionnalités sélectionnées:","html":"<p>En mode de sélection, les fonctionnalités sont extraites du serveur uniquement lorsqu&#039;elles sont sélectionnées. Les fonctionnalités sont disponibles sur le client uniquement lorsqu&#039;elles sont sélectionnées. Pour utiliser les fonctionnalités sélectionnées:</p>"},{"id":"text-16","type":"text","heading":"","plain_text":"Appelez la méthode selectFeatures.\nÉcoutez l&#39;événement onSelectionComplete.\nUne fois que onSelectionComplete est activé, récupérez les entités sélectionnées à l&#39;aide de la méthode getSelectedFeatures.","html":"<p>Appelez la méthode selectFeatures.\nÉcoutez l&#039;événement onSelectionComplete.\nUne fois que onSelectionComplete est activé, récupérez les entités sélectionnées à l&#039;aide de la méthode getSelectedFeatures.</p>"},{"id":"text-17","type":"text","heading":"","plain_text":"Lors de l&#39;édition de couches d&#39;entités en mode sélection, vous devez ajouter le service de carte associé au service d&#39;entités à la carte en tant que service de carte dynamique. Si le service de carte n&#39;est pas ajouté en tant que service de carte dynamique, les modifications ne seront pas visibles, car une fois les modifications terminées, la fonctionnalité n&#39;est plus sélectionnée.","html":"<p>Lors de l&#039;édition de couches d&#039;entités en mode sélection, vous devez ajouter le service de carte associé au service d&#039;entités à la carte en tant que service de carte dynamique. Si le service de carte n&#039;est pas ajouté en tant que service de carte dynamique, les modifications ne seront pas visibles, car une fois les modifications terminées, la fonctionnalité n&#039;est plus sélectionnée.</p>"},{"id":"text-18","type":"text","heading":"","plain_text":"MODE_SNAPSHOT\nEn mode Instantané, la couche d&#39;entités récupère toutes les entités de la ressource de couche associée et les affiche sous forme de graphiques sur le client. Les expressions de définition et les définitions de temps sont honorées. Les entités sont récupérées une fois la couche d’entités ajoutée à la carte. Une fois que l&#39;événement onUpdateEnd a été déclenché, vous pouvez accéder aux fonctionnalités à l&#39;aide de la propriété graphics de la couche ou par le biais d&#39;opérations de sélection et de requête.","html":"<p>MODE_SNAPSHOT\nEn mode Instantané, la couche d&#039;entités récupère toutes les entités de la ressource de couche associée et les affiche sous forme de graphiques sur le client. Les expressions de définition et les définitions de temps sont honorées. Les entités sont récupérées une fois la couche d’entités ajoutée à la carte. Une fois que l&#039;événement onUpdateEnd a été déclenché, vous pouvez accéder aux fonctionnalités à l&#039;aide de la propriété graphics de la couche ou par le biais d&#039;opérations de sélection et de requête.</p>"},{"id":"text-19","type":"text","heading":"","plain_text":"POPUP_HTML_TEXT\nLa popup affiche le contenu en HTML / TEXT.","html":"<p>POPUP_HTML_TEXT\nLa popup affiche le contenu en HTML / TEXT.</p>"},{"id":"text-20","type":"text","heading":"","plain_text":"POPUP_NONE\nAucun type de popup défini.","html":"<p>POPUP_NONE\nAucun type de popup défini.</p>"},{"id":"text-21","type":"text","heading":"","plain_text":"POPUP_URL\nLa popup affiche le contenu d&#39;une URL.","html":"<p>POPUP_URL\nLa popup affiche le contenu d&#039;une URL.</p>"},{"id":"text-22","type":"text","heading":"","plain_text":"SELECTION_ADD\nAjoute des fonctionnalités au jeu de sélection actuel.","html":"<p>SELECTION_ADD\nAjoute des fonctionnalités au jeu de sélection actuel.</p>"},{"id":"text-23","type":"text","heading":"","plain_text":"SELECTION_NEW\nCrée une nouvelle sélection.","html":"<p>SELECTION_NEW\nCrée une nouvelle sélection.</p>"},{"id":"text-24","type":"text","heading":"","plain_text":"SELECTION_SUBTRACT\nSupprime les fonctionnalités de la sélection actuelle.","html":"<p>SELECTION_SUBTRACT\nSupprime les fonctionnalités de la sélection actuelle.</p>"},{"id":"text-25","type":"text","heading":"","plain_text":"Propriétés","html":"<p>Propriétés</p>"},{"id":"text-26","type":"text","heading":"","plain_text":"advancedQueryCapabilities\nObjet\nUn objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue.","html":"<p>advancedQueryCapabilities\nObjet\nUn objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue.</p>"},{"id":"text-27","type":"text","heading":"","plain_text":"allowGeometryUpdates\nBooléen\nRenvoie true si la géométrie des entités de la couche peut être modifiée, false sinon.","html":"<p>allowGeometryUpdates\nBooléen\nRenvoie true si la géométrie des entités de la couche peut être modifiée, false sinon.</p>"},{"id":"text-28","type":"text","heading":"","plain_text":"allowUpdateWithoutValues\nBooléen\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées.","html":"<p>allowUpdateWithoutValues\nBooléen\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées.</p>"},{"id":"text-29","type":"text","heading":"","plain_text":"attributionDataUrl\nChaîne\nL&#39;URL, le cas échéant, où sont stockées les données d&#39;attribution de la couche.","html":"<p>attributionDataUrl\nChaîne\nL&#039;URL, le cas échéant, où sont stockées les données d&#039;attribution de la couche.</p>"},{"id":"text-30","type":"text","heading":"","plain_text":"capacités\nChaîne\nInformations sur les fonctionnalités activées pour cette couche.","html":"<p>capacités\nChaîne\nInformations sur les fonctionnalités activées pour cette couche.</p>"},{"id":"text-31","type":"text","heading":"","plain_text":"nom du cours\nChaîne\nattribut de classe du nœud de la couche.","html":"<p>nom du cours\nChaîne\nattribut de classe du nœud de la couche.</p>"},{"id":"text-32","type":"text","heading":"","plain_text":"droits d&#39;auteur\nChaîne\nInformations de copyright pour la couche.","html":"<p>droits d&#039;auteur\nChaîne\nInformations de copyright pour la couche.</p>"},{"id":"text-33","type":"text","heading":"","plain_text":"titre de compétence\nCredential\nFournit des informations d&#39;identification pour la couche, telles que l&#39;ID utilisateur et le jeton, si cette couche représente une ressource sécurisée avec une authentification par jeton.","html":"<p>titre de compétence\nCredential\nFournit des informations d&#039;identification pour la couche, telles que l&#039;ID utilisateur et le jeton, si cette couche représente une ressource sécurisée avec une authentification par jeton.</p>"},{"id":"text-34","type":"text","heading":"","plain_text":"dataAttributes\nChaîne    | Chaîne[]\nListe des champs d&#39;attribut ajoutés en tant qu&#39;attributs de données personnalisés au nœud graphique.","html":"<p>dataAttributes\nChaîne    | Chaîne[]\nListe des champs d&#039;attribut ajoutés en tant qu&#039;attributs de données personnalisés au nœud graphique.</p>"},{"id":"text-35","type":"text","heading":"","plain_text":"defaultDefinitionExpression\nChaîne\nMétadonnées décrivant l&#39;expression de définition par défaut de la couche telle que définie par le service.","html":"<p>defaultDefinitionExpression\nChaîne\nMétadonnées décrivant l&#039;expression de définition par défaut de la couche telle que définie par le service.</p>"},{"id":"text-36","type":"text","heading":"","plain_text":"defaultVisibility\nBooléen\nIndique la visibilité par défaut de la couche.","html":"<p>defaultVisibility\nBooléen\nIndique la visibilité par défaut de la couche.</p>"},{"id":"text-37","type":"text","heading":"","plain_text":"la description\nChaîne\nLa description de la couche telle que définie dans le service de carte.","html":"<p>la description\nChaîne\nLa description de la couche telle que définie dans le service de carte.</p>"},{"id":"text-38","type":"text","heading":"","plain_text":"displayField\nChaîne\nNom du champ d&#39;affichage principal de la couche.","html":"<p>displayField\nChaîne\nNom du champ d&#039;affichage principal de la couche.</p>"},{"id":"text-39","type":"text","heading":"","plain_text":"editFieldsInfo\nObjet\nIndique les noms de champs pour les champs de l&#39;éditeur.","html":"<p>editFieldsInfo\nObjet\nIndique les noms de champs pour les champs de l&#039;éditeur.</p>"},{"id":"text-40","type":"text","heading":"","plain_text":"éditionInfo\nObjet\nApplicable aux services de fonctionnalités hébergés sur ArcGIS Online.","html":"<p>éditionInfo\nObjet\nApplicable aux services de fonctionnalités hébergés sur ArcGIS Online.</p>"},{"id":"text-41","type":"text","heading":"","plain_text":"des champs\nChamp[]\nLe tableau de champs dans la couche.","html":"<p>des champs\nChamp[]\nLe tableau de champs dans la couche.</p>"},{"id":"text-42","type":"text","heading":"","plain_text":"fullExtent\nAmpleur\nL&#39;étendue complète de la couche.","html":"<p>fullExtent\nAmpleur\nL&#039;étendue complète de la couche.</p>"},{"id":"text-43","type":"text","heading":"","plain_text":"gdbVersion\nChaîne\nLa version de la géodatabase.","html":"<p>gdbVersion\nChaîne\nLa version de la géodatabase.</p>"},{"id":"text-44","type":"text","heading":"","plain_text":"geometryType\nChaîne\nType de géométrie des entités de la couche.","html":"<p>geometryType\nChaîne\nType de géométrie des entités de la couche.</p>"},{"id":"text-45","type":"text","heading":"","plain_text":"globalIdField\nChaîne\nLe globalIdField pour la couche.","html":"<p>globalIdField\nChaîne\nLe globalIdField pour la couche.</p>"},{"id":"text-46","type":"text","heading":"","plain_text":"graphique\nGraphique[]\nTableau de fonctionnalités dans la couche.","html":"<p>graphique\nGraphique[]\nTableau de fonctionnalités dans la couche.</p>"},{"id":"text-47","type":"text","heading":"","plain_text":"hasAllFeatures\nBooléen\nIndique si le calque affiche toutes les entités intersectant la vue actuelle.","html":"<p>hasAllFeatures\nBooléen\nIndique si le calque affiche toutes les entités intersectant la vue actuelle.</p>"},{"id":"text-48","type":"text","heading":"","plain_text":"hasAttachments\nBooléen\nVrai si les pièces jointes sont activées sur la couche d&#39;entités.","html":"<p>hasAttachments\nBooléen\nVrai si les pièces jointes sont activées sur la couche d&#039;entités.</p>"},{"id":"text-49","type":"text","heading":"","plain_text":"hasAttributionData\nBooléen\nLorsque la valeur est true, la couche contient des données d&#39;attribution.","html":"<p>hasAttributionData\nBooléen\nLorsque la valeur est true, la couche contient des données d&#039;attribution.</p>"},{"id":"text-50","type":"text","heading":"","plain_text":"htmlPopupType\nChaîne\nLe type de popup html défini pour la couche.","html":"<p>htmlPopupType\nChaîne\nLe type de popup html défini pour la couche.</p>"},{"id":"text-51","type":"text","heading":"","plain_text":"identifiant\nChaîne\nID attribué à la couche.","html":"<p>identifiant\nChaîne\nID attribué à la couche.</p>"},{"id":"text-52","type":"text","heading":"","plain_text":"infoTemplate\nInfoTemplate\nLe modèle d&#39;informations pour la couche.","html":"<p>infoTemplate\nInfoTemplate\nLe modèle d&#039;informations pour la couche.</p>"},{"id":"text-53","type":"text","heading":"","plain_text":"étiquetageInfo\nLabelClass[]\nDéfinition de l&#39;étiquette pour cette couche, spécifiée comme un tableau de classes d&#39;étiquettes.","html":"<p>étiquetageInfo\nLabelClass[]\nDéfinition de l&#039;étiquette pour cette couche, spécifiée comme un tableau de classes d&#039;étiquettes.</p>"},{"id":"text-54","type":"text","heading":"","plain_text":"layerId\nNombre\nID unique de la couche sur laquelle FeatureLayer a été construit.","html":"<p>layerId\nNombre\nID unique de la couche sur laquelle FeatureLayer a été construit.</p>"},{"id":"text-55","type":"text","heading":"","plain_text":"loadError\nErreur\nDéfinir si le chargement de la couche a échoué.","html":"<p>loadError\nErreur\nDéfinir si le chargement de la couche a échoué.</p>"},{"id":"text-56","type":"text","heading":"","plain_text":"chargé\nBooléen\nLorsque la couche est chargée, la valeur devient &quot;true&quot; et les propriétés de la couche sont accessibles.","html":"<p>chargé\nBooléen\nLorsque la couche est chargée, la valeur devient &quot;true&quot; et les propriétés de la couche sont accessibles.</p>"},{"id":"text-57","type":"text","heading":"","plain_text":"maxAllowableOffset\nNombre\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables.","html":"<p>maxAllowableOffset\nNombre\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables.</p>"},{"id":"text-58","type":"text","heading":"","plain_text":"maxRecordCount\nNombre\nNombre maximal de résultats renvoyés par une requête.","html":"<p>maxRecordCount\nNombre\nNombre maximal de résultats renvoyés par une requête.</p>"},{"id":"text-59","type":"text","heading":"","plain_text":"maxScale\nNombre\nÉchelle maximale visible pour le calque.","html":"<p>maxScale\nNombre\nÉchelle maximale visible pour le calque.</p>"},{"id":"text-60","type":"text","heading":"","plain_text":"échelle min\nNombre\nÉchelle minimale visible pour le calque.","html":"<p>échelle min\nNombre\nÉchelle minimale visible pour le calque.</p>"},{"id":"text-61","type":"text","heading":"","plain_text":"multipatchOption\nChaîne\nPrend en charge les services d&#39;entités dont la source de données est une classe multipatch.","html":"<p>multipatchOption\nChaîne\nPrend en charge les services d&#039;entités dont la source de données est une classe multipatch.</p>"},{"id":"text-62","type":"text","heading":"","plain_text":"La valeur par défaut est xyFootprint si geometryType est esriGeometryMultiPatch.","html":"<p>La valeur par défaut est xyFootprint si geometryType est esriGeometryMultiPatch.</p>"},{"id":"text-63","type":"text","heading":"","plain_text":"prénom\nChaîne\nNom de la couche tel que défini dans le service de carte.","html":"<p>prénom\nChaîne\nNom de la couche tel que défini dans le service de carte.</p>"},{"id":"text-64","type":"text","heading":"","plain_text":"objectIdField\nChaîne\nNom du champ contenant le champ ID d&#39;objet pour la couche.","html":"<p>objectIdField\nChaîne\nNom du champ contenant le champ ID d&#039;objet pour la couche.</p>"},{"id":"text-65","type":"text","heading":"","plain_text":"opacité\nNombre\nOpacité ou transparence du calque.","html":"<p>opacité\nNombre\nOpacité ou transparence du calque.</p>"},{"id":"text-66","type":"text","heading":"","plain_text":"propertyBasedAccessControlForFeatures\nObjet\nIndique la configuration du contrôle d&#39;accès de propriété.","html":"<p>propertyBasedAccessControlForFeatures\nObjet\nIndique la configuration du contrôle d&#039;accès de propriété.</p>"},{"id":"text-67","type":"text","heading":"","plain_text":"intervalle de rafraîchissement\nNombre\nIntervalle de rafraîchissement de la couche en minutes.","html":"<p>intervalle de rafraîchissement\nNombre\nIntervalle de rafraîchissement de la couche en minutes.</p>"},{"id":"text-68","type":"text","heading":"","plain_text":"des relations\nObjet[]\nChaque élément du tableau est un objet décrivant la relation de la couche avec une autre couche ou un autre tableau.","html":"<p>des relations\nObjet[]\nChaque élément du tableau est un objet décrivant la relation de la couche avec une autre couche ou un autre tableau.</p>"},{"id":"text-69","type":"text","heading":"","plain_text":"moteur de rendu\nRenderer\nLe rendu du calque.","html":"<p>moteur de rendu\nRenderer\nLe rendu du calque.</p>"},{"id":"text-70","type":"text","heading":"","plain_text":"showAttribution\nBooléen\nLorsque la valeur est true, l&#39;attribution de la couche est affichée sur la carte.","html":"<p>showAttribution\nBooléen\nLorsque la valeur est true, l&#039;attribution de la couche est affichée sur la carte.</p>"},{"id":"text-71","type":"text","heading":"","plain_text":"showLabels\nBooléen\nDétermine si les étiquettes sont affichées.","html":"<p>showLabels\nBooléen\nDétermine si les étiquettes sont affichées.</p>"},{"id":"text-72","type":"text","heading":"","plain_text":"la source\nLayerSource\nLe calque dynamique ou la source de la table.","html":"<p>la source\nLayerSource\nLe calque dynamique ou la source de la table.</p>"},{"id":"text-73","type":"text","heading":"","plain_text":"coiffant\nBooléen\nIndique si le calque est responsable du style des graphiques.","html":"<p>coiffant\nBooléen\nIndique si le calque est responsable du style des graphiques.</p>"},{"id":"text-74","type":"text","heading":"","plain_text":"prend en chargeQueries avancées\nBooléen\nLorsque vrai, la couche prend en charge orderByFields dans une opération de requête.","html":"<p>prend en chargeQueries avancées\nBooléen\nLorsque vrai, la couche prend en charge orderByFields dans une opération de requête.</p>"},{"id":"text-75","type":"text","heading":"","plain_text":"prend en chargeAttachementsParUploadId\nBooléen\nLorsque la valeur est true, la couche prend en charge le téléchargement de pièces jointes avec l&#39;opération REST Uploads, qui peut ensuite être utilisée dans les opérations REST Ajouter une pièce jointe ou Mettre à jour la pièce jointe.","html":"<p>prend en chargeAttachementsParUploadId\nBooléen\nLorsque la valeur est true, la couche prend en charge le téléchargement de pièces jointes avec l&#039;opération REST Uploads, qui peut ensuite être utilisée dans les opérations REST Ajouter une pièce jointe ou Mettre à jour la pièce jointe.</p>"},{"id":"text-76","type":"text","heading":"","plain_text":"soutientCalculer\nBooléen\nLorsque true, la couche prend en charge la Calculer Opération REST lors de la mise à jour des fonctionnalités.","html":"<p>soutientCalculer\nBooléen\nLorsque true, la couche prend en charge la Calculer Opération REST lors de la mise à jour des fonctionnalités.</p>"},{"id":"text-77","type":"text","heading":"","plain_text":"prend en charge la description du champ\nBooléen\nSi la valeur est true, la couche prend en charge une description de champ définie par l&#39;utilisateur.","html":"<p>prend en charge la description du champ\nBooléen\nSi la valeur est true, la couche prend en charge une description de champ définie par l&#039;utilisateur.</p>"},{"id":"text-78","type":"text","heading":"","plain_text":"supports statistiques\nBooléen\nLorsque la valeur est true, la couche prend en charge les fonctions statistiques dans les opérations de requête.","html":"<p>supports statistiques\nBooléen\nLorsque la valeur est true, la couche prend en charge les fonctions statistiques dans les opérations de requête.</p>"},{"id":"text-79","type":"text","heading":"","plain_text":"surfaceType\nChaîne\nType de surface graphique vectorielle utilisée pour dessiner des graphiques.","html":"<p>surfaceType\nChaîne\nType de surface graphique vectorielle utilisée pour dessiner des graphiques.</p>"},{"id":"text-80","type":"text","heading":"","plain_text":"suspendu\nBooléen\nLorsque true, le calque est suspendu.","html":"<p>suspendu\nBooléen\nLorsque true, le calque est suspendu.</p>"},{"id":"text-81","type":"text","heading":"","plain_text":"des modèles\nFeatureTemplate[]\nTableau de modèles d&#39;entités définis dans la couche Service d&#39;entités.","html":"<p>des modèles\nFeatureTemplate[]\nTableau de modèles d&#039;entités définis dans la couche Service d&#039;entités.</p>"},{"id":"text-82","type":"text","heading":"","plain_text":"timeInfo\nTimeInfo\nInformations de temps pour la couche, telles que le champ Heure de début, le champ Heure de fin, le champ ID de piste, l&#39;étendue de temps des couches et l&#39;intervalle de temps d&#39;affichage.","html":"<p>timeInfo\nTimeInfo\nInformations de temps pour la couche, telles que le champ Heure de début, le champ Heure de fin, le champ ID de piste, l&#039;étendue de temps des couches et l&#039;intervalle de temps d&#039;affichage.</p>"},{"id":"text-83","type":"text","heading":"","plain_text":"type\nChaîne\nSpécifie le type de couche.","html":"<p>type\nChaîne\nSpécifie le type de couche.</p>"},{"id":"text-84","type":"text","heading":"","plain_text":"typeIdField\nChaîne\nLe champ qui représente le champ Type ID.","html":"<p>typeIdField\nChaîne\nLe champ qui représente le champ Type ID.</p>"},{"id":"text-85","type":"text","heading":"","plain_text":"les types\nFeatureType[]\nTableau de sous-types définis dans la couche de service d&#39;entités.","html":"<p>les types\nFeatureType[]\nTableau de sous-types définis dans la couche de service d&#039;entités.</p>"},{"id":"text-86","type":"text","heading":"","plain_text":"url\nChaîne\nURL de la ressource REST ArcGIS Server qui représente un service de carte.","html":"<p>url\nChaîne\nURL de la ressource REST ArcGIS Server qui représente un service de carte.</p>"},{"id":"text-87","type":"text","heading":"","plain_text":"version\nNombre\nLa version d&#39;ArcGIS Server où la couche est publiée.","html":"<p>version\nNombre\nLa version d&#039;ArcGIS Server où la couche est publiée.</p>"},{"id":"text-88","type":"text","heading":"","plain_text":"visible\nBooléen\nVisibilité du calque.","html":"<p>visible\nBooléen\nVisibilité du calque.</p>"},{"id":"text-89","type":"text","heading":"","plain_text":"visibleAtMapScale\nBooléen\nLorsque la valeur est true, le calque est visible à l&#39;échelle de la carte actuelle.","html":"<p>visibleAtMapScale\nBooléen\nLorsque la valeur est true, le calque est visible à l&#039;échelle de la carte actuelle.</p>"},{"id":"text-90","type":"text","heading":"","plain_text":"webglEnabled\nBooléen\nIndique si WebGL est activé sur la couche.","html":"<p>webglEnabled\nBooléen\nIndique si WebGL est activé sur la couche.</p>"},{"id":"text-91","type":"text","heading":"","plain_text":"Les méthodes","html":"<p>Les méthodes</p>"},{"id":"text-92","type":"text","heading":"","plain_text":"addAttachment (objectId, formNode, callback ?, errback?)\nDifféré\nAjoutez une pièce jointe à la fonctionnalité spécifiée par ObjectId.","html":"<p>addAttachment (objectId, formNode, callback ?, errback?)\nDifféré\nAjoutez une pièce jointe à la fonctionnalité spécifiée par ObjectId.</p>"},{"id":"text-93","type":"text","heading":"","plain_text":"applyEdits (ajoute ?, met à jour? supprime ?, rappel ?, errback?)\nDifféré\nAppliquez des modifications à la couche d&#39;entités.","html":"<p>applyEdits (ajoute ?, met à jour? supprime ?, rappel ?, errback?)\nDifféré\nAppliquez des modifications à la couche d&#039;entités.</p>"},{"id":"text-94","type":"text","heading":"","plain_text":"attr (nom, valeur)\nCouche\nAjoute un nouvel attribut ou modifie la valeur d&#39;un attribut existant sur le nœud de la couche.","html":"<p>attr (nom, valeur)\nCouche\nAjoute un nouvel attribut ou modifie la valeur d&#039;un attribut existant sur le nœud de la couche.</p>"},{"id":"text-95","type":"text","heading":"","plain_text":"clair()\nAucun\nEfface tous les graphiques.","html":"<p>clair()\nAucun\nEfface tous les graphiques.</p>"},{"id":"text-96","type":"text","heading":"","plain_text":"clearSelection ()\nFeatureLayer\nEfface la sélection en cours.","html":"<p>clearSelection ()\nFeatureLayer\nEfface la sélection en cours.</p>"},{"id":"text-97","type":"text","heading":"","plain_text":"deleteAttachments (objectId, attachmentIds, callback ?, errback?)\nDifféré\nSupprimez une ou plusieurs pièces jointes pour la fonctionnalité spécifiée par l&#39;objet ObjectId en entrée.","html":"<p>deleteAttachments (objectId, attachmentIds, callback ?, errback?)\nDifféré\nSupprimez une ou plusieurs pièces jointes pour la fonctionnalité spécifiée par l&#039;objet ObjectId en entrée.</p>"},{"id":"text-98","type":"text","heading":"","plain_text":"disableFeatureReduction ()\nAucun\nDésactive la réduction des fonctionnalités (par exemple la mise en cluster) sur la couche.","html":"<p>disableFeatureReduction ()\nAucun\nDésactive la réduction des fonctionnalités (par exemple la mise en cluster) sur la couche.</p>"},{"id":"text-99","type":"text","heading":"","plain_text":"disableMouseEvents ()\nAucun\nDésactive tous les événements de la souris sur la couche graphique.","html":"<p>disableMouseEvents ()\nAucun\nDésactive tous les événements de la souris sur la couche graphique.</p>"},{"id":"text-100","type":"text","heading":"","plain_text":"enableFeatureReduction ()\nAucun\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur le calque en utilisant les options définies dans setFeatureReduction ().","html":"<p>enableFeatureReduction ()\nAucun\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur le calque en utilisant les options définies dans setFeatureReduction ().</p>"},{"id":"text-101","type":"text","heading":"","plain_text":"enableMouseEvents ()\nAucun\nActive tous les événements de souris sur la couche graphique.","html":"<p>enableMouseEvents ()\nAucun\nActive tous les événements de souris sur la couche graphique.</p>"},{"id":"text-102","type":"text","heading":"","plain_text":"getAggregateGraphics ()\nGraphique[]\nRenvoie des graphiques représentant l&#39;agrégation de plusieurs entités ponctuelles regroupées.","html":"<p>getAggregateGraphics ()\nGraphique[]\nRenvoie des graphiques représentant l&#039;agrégation de plusieurs entités ponctuelles regroupées.</p>"},{"id":"text-103","type":"text","heading":"","plain_text":"getAttributionData ()\nDifféré\nRenvoie de manière asynchrone des données personnalisées pour la couche lorsqu&#39;elles sont disponibles.","html":"<p>getAttributionData ()\nDifféré\nRenvoie de manière asynchrone des données personnalisées pour la couche lorsqu&#039;elles sont disponibles.</p>"},{"id":"text-104","type":"text","heading":"","plain_text":"getDefinitionExpression ()\nChaîne\nRetourne l&#39;expression de définition actuelle.","html":"<p>getDefinitionExpression ()\nChaîne\nRetourne l&#039;expression de définition actuelle.</p>"},{"id":"text-105","type":"text","heading":"","plain_text":"getDomain (fieldName, options?)\nDomaine\nRetourne le domaine associé au nom de champ donné.","html":"<p>getDomain (fieldName, options?)\nDomaine\nRetourne le domaine associé au nom de champ donné.</p>"},{"id":"text-106","type":"text","heading":"","plain_text":"getEditCapabilities (options?)\nObjet\nRetourne un objet qui décrit les capacités d&#39;édition du calque.","html":"<p>getEditCapabilities (options?)\nObjet\nRetourne un objet qui décrit les capacités d&#039;édition du calque.</p>"},{"id":"text-107","type":"text","heading":"","plain_text":"getEditInfo (fonctionnalité, options?)\nObjet\nRetourne un objet décrivant l&#39;opération d&#39;édition la plus récente effectuée sur la fonction donnée, si disponible.","html":"<p>getEditInfo (fonctionnalité, options?)\nObjet\nRetourne un objet décrivant l&#039;opération d&#039;édition la plus récente effectuée sur la fonction donnée, si disponible.</p>"},{"id":"text-108","type":"text","heading":"","plain_text":"getEditSummary (fonctionnalité, options?)\nChaîne\nRetourne un résumé localisé de la dernière opération d&#39;édition effectuée sur la fonction donnée, si disponible.","html":"<p>getEditSummary (fonctionnalité, options?)\nChaîne\nRetourne un résumé localisé de la dernière opération d&#039;édition effectuée sur la fonction donnée, si disponible.</p>"},{"id":"text-109","type":"text","heading":"","plain_text":"getFeatureReduction ()\nObjet\nRenvoie les options utilisées pour réduire le nombre d&#39;entités visualisées par la couche (par exemple, la mise en cluster).","html":"<p>getFeatureReduction ()\nObjet\nRenvoie les options utilisées pour réduire le nombre d&#039;entités visualisées par la couche (par exemple, la mise en cluster).</p>"},{"id":"text-110","type":"text","heading":"","plain_text":"getField (fieldName)\nChamp\nRenvoie le Champ étant donné le nom de champ spécifié.","html":"<p>getField (fieldName)\nChamp\nRenvoie le Champ étant donné le nom de champ spécifié.</p>"},{"id":"text-111","type":"text","heading":"","plain_text":"getMap ()\nCarte\nRenvoie la référence au contrôle de la carte auquel la couche est ajoutée.","html":"<p>getMap ()\nCarte\nRenvoie la référence au contrôle de la carte auquel la couche est ajoutée.</p>"},{"id":"text-112","type":"text","heading":"","plain_text":"getMaxAllowableOffset ()\nNombre\nRenvoie la valeur actuelle du maxAllowableOffset utilisé par la couche.","html":"<p>getMaxAllowableOffset ()\nNombre\nRenvoie la valeur actuelle du maxAllowableOffset utilisé par la couche.</p>"},{"id":"text-113","type":"text","heading":"","plain_text":"getNode ()\nHTMLElement\nRenvoie le nœud DOM de la couche.","html":"<p>getNode ()\nHTMLElement\nRenvoie le nœud DOM de la couche.</p>"},{"id":"text-114","type":"text","heading":"","plain_text":"getOrderByFields ()\nChaîne[]\nRenvoie la liste des champs utilisés pour commander les entités par.","html":"<p>getOrderByFields ()\nChaîne[]\nRenvoie la liste des champs utilisés pour commander les entités par.</p>"},{"id":"text-115","type":"text","heading":"","plain_text":"getSelectedFeatures ()\nGraphique[]\nObtient les fonctionnalités actuellement sélectionnées.","html":"<p>getSelectedFeatures ()\nGraphique[]\nObtient les fonctionnalités actuellement sélectionnées.</p>"},{"id":"text-116","type":"text","heading":"","plain_text":"getSelectionSymbol ()\nsymbole\nObtient le symbole de sélection actuel.","html":"<p>getSelectionSymbol ()\nsymbole\nObtient le symbole de sélection actuel.</p>"},{"id":"text-117","type":"text","heading":"","plain_text":"getSingleGraphics ()\nGraphique[]\nRenvoie les graphiques de la couche qui ne sont pas représentés par des graphiques agrégés lorsque la réduction des fonctionnalités (telle que la mise en cluster) est activée.","html":"<p>getSingleGraphics ()\nGraphique[]\nRenvoie les graphiques de la couche qui ne sont pas représentés par des graphiques agrégés lorsque la réduction des fonctionnalités (telle que la mise en cluster) est activée.</p>"},{"id":"text-118","type":"text","heading":"","plain_text":"getTimeDefinition ()\nTimeExtent\nObtenir la définition de l&#39;heure actuelle appliquée à la couche d&#39;entités.","html":"<p>getTimeDefinition ()\nTimeExtent\nObtenir la définition de l&#039;heure actuelle appliquée à la couche d&#039;entités.</p>"},{"id":"text-119","type":"text","heading":"","plain_text":"getType (fonctionnalité)\nFeatureType\nRetourne un FeatureType décrivant le type de l&#39;entité.","html":"<p>getType (fonctionnalité)\nFeatureType\nRetourne un FeatureType décrivant le type de l&#039;entité.</p>"},{"id":"text-120","type":"text","heading":"","plain_text":"hasUpdateError ()\nAucun\nIndique si une erreur est générée après la mise à jour de la couche.","html":"<p>hasUpdateError ()\nAucun\nIndique si une erreur est générée après la mise à jour de la couche.</p>"},{"id":"text-121","type":"text","heading":"","plain_text":"hasWebGLSurface ()\nBooléen\nIndique si le calque est rendu dans WebGL.","html":"<p>hasWebGLSurface ()\nBooléen\nIndique si le calque est rendu dans WebGL.</p>"},{"id":"text-122","type":"text","heading":"","plain_text":"hasXYFootprint ()\nBooléen\nRésultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint.","html":"<p>hasXYFootprint ()\nBooléen\nRésultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint.</p>"},{"id":"text-123","type":"text","heading":"","plain_text":"cacher()\nAucun\nDéfinit la visibilité du calque sur &quot;false&quot;.","html":"<p>cacher()\nAucun\nDéfinit la visibilité du calque sur &quot;false&quot;.</p>"},{"id":"text-124","type":"text","heading":"","plain_text":"isEditable ()\nBooléen\nRenvoie true si FeatureLayer est modifiable.","html":"<p>isEditable ()\nBooléen\nRenvoie true si FeatureLayer est modifiable.</p>"},{"id":"text-125","type":"text","heading":"","plain_text":"isFeatureReductionActive ()\nBooléen\nIndique si la réduction des fonctionnalités (par exemple, la mise en cluster) est active dans la vue.","html":"<p>isFeatureReductionActive ()\nBooléen\nIndique si la réduction des fonctionnalités (par exemple, la mise en cluster) est active dans la vue.</p>"},{"id":"text-126","type":"text","heading":"","plain_text":"isFeatureReductionEnabled ()\nBooléen\nIndique si la réduction de fonctionnalité (par exemple la mise en cluster) est activée.","html":"<p>isFeatureReductionEnabled ()\nBooléen\nIndique si la réduction de fonctionnalité (par exemple la mise en cluster) est activée.</p>"},{"id":"text-127","type":"text","heading":"","plain_text":"isVisibleAtScale (scale)\nBooléen\nRenvoie true si le calque est visible à l&#39;échelle donnée.","html":"<p>isVisibleAtScale (scale)\nBooléen\nRenvoie true si le calque est visible à l&#039;échelle donnée.</p>"},{"id":"text-128","type":"text","heading":"","plain_text":"queryAttachmentInfos (objectId, callback ?, errback?)\nDifféré\nDemander des informations sur les pièces jointes associées aux ObjectIds spécifiés.","html":"<p>queryAttachmentInfos (objectId, callback ?, errback?)\nDifféré\nDemander des informations sur les pièces jointes associées aux ObjectIds spécifiés.</p>"},{"id":"text-129","type":"text","heading":"","plain_text":"queryCount (requête, rappel ?, errback?)\nDifféré\nObtenez un nombre du nombre d&#39;entités qui satisfont la requête d&#39;entrée.","html":"<p>queryCount (requête, rappel ?, errback?)\nDifféré\nObtenez un nombre du nombre d&#039;entités qui satisfont la requête d&#039;entrée.</p>"},{"id":"text-130","type":"text","heading":"","plain_text":"queryExtent (requête, rappel ?, errback?)\nDifféré\nObtenez l&#39;étendue des fonctionnalités qui répondent à la requête d&#39;entrée.","html":"<p>queryExtent (requête, rappel ?, errback?)\nDifféré\nObtenez l&#039;étendue des fonctionnalités qui répondent à la requête d&#039;entrée.</p>"},{"id":"text-131","type":"text","heading":"","plain_text":"queryFeatures (requête, rappel ?, errback?)\nDifféré\nInterrogez les entités de la couche d&#39;entités.","html":"<p>queryFeatures (requête, rappel ?, errback?)\nDifféré\nInterrogez les entités de la couche d&#039;entités.</p>"},{"id":"text-132","type":"text","heading":"","plain_text":"queryIds (requête, rappel ?, errback?)\nDifféré\nRequête pour ObjectIds.","html":"<p>queryIds (requête, rappel ?, errback?)\nDifféré\nRequête pour ObjectIds.</p>"},{"id":"text-133","type":"text","heading":"","plain_text":"queryRelatedFeatures (relQuery, callback?, errback?)\nDifféré\nInterrogez des entités ou des enregistrements, provenant d&#39;une autre couche ou d&#39;une autre table, liés aux entités de cette couche.","html":"<p>queryRelatedFeatures (relQuery, callback?, errback?)\nDifféré\nInterrogez des entités ou des enregistrements, provenant d&#039;une autre couche ou d&#039;une autre table, liés aux entités de cette couche.</p>"},{"id":"text-134","type":"text","heading":"","plain_text":"redessiner ()\nAucun\nRedessine tous les graphiques de la couche graphique.","html":"<p>redessiner ()\nAucun\nRedessine tous les graphiques de la couche graphique.</p>"},{"id":"text-135","type":"text","heading":"","plain_text":"rafraîchir()\nAucun\nActualise les entités de la couche d’entités.","html":"<p>rafraîchir()\nAucun\nActualise les entités de la couche d’entités.</p>"},{"id":"text-136","type":"text","heading":"","plain_text":"enlever (graphique)\nGraphique\nSupprime un graphique.","html":"<p>enlever (graphique)\nGraphique\nSupprime un graphique.</p>"},{"id":"text-137","type":"text","heading":"","plain_text":"CV()\nAucun\nReprend le calque.","html":"<p>CV()\nAucun\nReprend le calque.</p>"},{"id":"text-138","type":"text","heading":"","plain_text":"selectFeatures (requête, selectionMethod?, callback?, errback?)\nDifféré\nSélectionne les fonctionnalités de FeatureLayer.","html":"<p>selectFeatures (requête, selectionMethod?, callback?, errback?)\nDifféré\nSélectionne les fonctionnalités de FeatureLayer.</p>"},{"id":"text-139","type":"text","heading":"","plain_text":"setAutoGeneralize (activer)\nFeatureLayer\nActiver ou désactiver la généralisation automatique pour la couche.","html":"<p>setAutoGeneralize (activer)\nFeatureLayer\nActiver ou désactiver la généralisation automatique pour la couche.</p>"},{"id":"text-140","type":"text","heading":"","plain_text":"setDefinitionExpression (expression)\nFeatureLayer\nDéfinit l&#39;expression de définition pour FeatureLayer.","html":"<p>setDefinitionExpression (expression)\nFeatureLayer\nDéfinit l&#039;expression de définition pour FeatureLayer.</p>"},{"id":"text-141","type":"text","heading":"","plain_text":"setEditable (éditable)\nFeatureLayer\nDéfinissez les possibilités d&#39;édition des couches d&#39;entités créées à partir d&#39;une collection d&#39;entités.","html":"<p>setEditable (éditable)\nFeatureLayer\nDéfinissez les possibilités d&#039;édition des couches d&#039;entités créées à partir d&#039;une collection d&#039;entités.</p>"},{"id":"text-142","type":"text","heading":"","plain_text":"setFeatureReduction (options)\nAucun\nDéfinit les options de réduction des caractéristiques sur la couche (par exemple, les options de mise en cluster).","html":"<p>setFeatureReduction (options)\nAucun\nDéfinit les options de réduction des caractéristiques sur la couche (par exemple, les options de mise en cluster).</p>"},{"id":"text-143","type":"text","heading":"","plain_text":"setGDBVersion (versionName)\nFeatureLayer\nDéfinissez la source de données de la couche sur la version de géodatabase spécifiée.","html":"<p>setGDBVersion (versionName)\nFeatureLayer\nDéfinissez la source de données de la couche sur la version de géodatabase spécifiée.</p>"},{"id":"text-144","type":"text","heading":"","plain_text":"setInfoTemplate (infoTemplate)\nAucun\nSpécifiez ou modifiez le modèle d&#39;informations pour une couche.","html":"<p>setInfoTemplate (infoTemplate)\nAucun\nSpécifiez ou modifiez le modèle d&#039;informations pour une couche.</p>"},{"id":"text-145","type":"text","heading":"","plain_text":"setLabelingInfo (étiquetageInfo)\nAucun\nDéfinit les informations d&#39;étiquetage sur la couche.","html":"<p>setLabelingInfo (étiquetageInfo)\nAucun\nDéfinit les informations d&#039;étiquetage sur la couche.</p>"},{"id":"text-146","type":"text","heading":"","plain_text":"setMaxAllowableOffset (offset)\nAucun\nDéfinit le décalage maximum autorisé utilisé lors de la généralisation des géométries.","html":"<p>setMaxAllowableOffset (offset)\nAucun\nDéfinit le décalage maximum autorisé utilisé lors de la généralisation des géométries.</p>"},{"id":"text-147","type":"text","heading":"","plain_text":"setMaxScale (scale)\nAucun\nDéfinissez l&#39;échelle maximale pour le calque.","html":"<p>setMaxScale (scale)\nAucun\nDéfinissez l&#039;échelle maximale pour le calque.</p>"},{"id":"text-148","type":"text","heading":"","plain_text":"setMinScale (scale)\nAucun\nDéfinissez l&#39;échelle minimale pour le calque.","html":"<p>setMinScale (scale)\nAucun\nDéfinissez l&#039;échelle minimale pour le calque.</p>"},{"id":"text-149","type":"text","heading":"","plain_text":"setOpacity (opacité)\nAucun\nOpacité initiale ou transparence du calque.","html":"<p>setOpacity (opacité)\nAucun\nOpacité initiale ou transparence du calque.</p>"},{"id":"text-150","type":"text","heading":"","plain_text":"setRefreshInterval (intervalle)\nCouche\nModifie l&#39;intervalle d&#39;actualisation de la couche sur la valeur donnée (en minutes).","html":"<p>setRefreshInterval (intervalle)\nCouche\nModifie l&#039;intervalle d&#039;actualisation de la couche sur la valeur donnée (en minutes).</p>"},{"id":"text-151","type":"text","heading":"","plain_text":"setRenderer (rendu)\nAucun\nDéfinissez le rendu pour la couche d&#39;entités.","html":"<p>setRenderer (rendu)\nAucun\nDéfinissez le rendu pour la couche d&#039;entités.</p>"},{"id":"text-152","type":"text","heading":"","plain_text":"setScaleRange (minScale, maxScale)\nAucun\nDéfinissez la plage d&#39;échelle pour le calque.","html":"<p>setScaleRange (minScale, maxScale)\nAucun\nDéfinissez la plage d&#039;échelle pour le calque.</p>"},{"id":"text-153","type":"text","heading":"","plain_text":"setSelectionSymbol (symbole)\nFeatureLayer\nDéfinit le symbole de sélection pour la couche d&#39;entités.","html":"<p>setSelectionSymbol (symbole)\nFeatureLayer\nDéfinit le symbole de sélection pour la couche d&#039;entités.</p>"},{"id":"text-154","type":"text","heading":"","plain_text":"setShowLabels (showLabels)\nAucun\nDéfinit si les étiquettes doivent être affichées ou non.","html":"<p>setShowLabels (showLabels)\nAucun\nDéfinit si les étiquettes doivent être affichées ou non.</p>"},{"id":"text-155","type":"text","heading":"","plain_text":"setTimeDefinition (définition)\nFeatureLayer\nDéfinit la définition de l&#39;heure pour la couche d&#39;entités.","html":"<p>setTimeDefinition (définition)\nFeatureLayer\nDéfinit la définition de l&#039;heure pour la couche d&#039;entités.</p>"},{"id":"text-156","type":"text","heading":"","plain_text":"setTimeOffset (offsetValue, offsetUnits)\nFeatureLayer\nLe décalage temporel vous permet d&#39;afficher les entités à une heure différente afin qu&#39;elles puissent être superposées au-dessus des périodes précédentes ou futures.","html":"<p>setTimeOffset (offsetValue, offsetUnits)\nFeatureLayer\nLe décalage temporel vous permet d&#039;afficher les entités à une heure différente afin qu&#039;elles puissent être superposées au-dessus des périodes précédentes ou futures.</p>"},{"id":"text-157","type":"text","heading":"","plain_text":"setUseMapTime (mise à jour)\nAucun\nDéterminez si la couche mettra à jour son contenu en fonction de la durée actuelle de la carte.","html":"<p>setUseMapTime (mise à jour)\nAucun\nDéterminez si la couche mettra à jour son contenu en fonction de la durée actuelle de la carte.</p>"},{"id":"text-158","type":"text","heading":"","plain_text":"setVisibility (isVisible)\nAucun\nDéfinit la visibilité du calque.","html":"<p>setVisibility (isVisible)\nAucun\nDéfinit la visibilité du calque.</p>"},{"id":"text-159","type":"text","heading":"","plain_text":"setWebGLEnabled (activer)\nAucun\nActive / désactive le rendu WebGL sur le calque.","html":"<p>setWebGLEnabled (activer)\nAucun\nActive / désactive le rendu WebGL sur le calque.</p>"},{"id":"text-160","type":"text","heading":"","plain_text":"spectacle()\nAucun\nDéfinit la visibilité du calque sur &quot;true&quot;.","html":"<p>spectacle()\nAucun\nDéfinit la visibilité du calque sur &quot;true&quot;.</p>"},{"id":"text-161","type":"text","heading":"","plain_text":"suspendre()\nAucun\nSuspend le dessin de calque.","html":"<p>suspendre()\nAucun\nSuspend le dessin de calque.</p>"},{"id":"text-162","type":"text","heading":"","plain_text":"toJson ()\nObjet\nRetourne une représentation d&#39;objet facilement sérialisable de la couche.","html":"<p>toJson ()\nObjet\nRetourne une représentation d&#039;objet facilement sérialisable de la couche.</p>"},{"id":"text-163","type":"text","heading":"","plain_text":"Événements\n[[[[Evénements On Style | Événement de style de connexion ]\nTous les écouteurs d&#39;événement On Style reçoivent un seul objet d&#39;événement. De plus, l&#39;objet événement contient également une propriété &#39;cible&#39; dont la valeur est l&#39;objet qui a déclenché l&#39;événement.","html":"<p>Événements\n[[[[Evénements On Style | Événement de style de connexion ]\nTous les écouteurs d&#039;événement On Style reçoivent un seul objet d&#039;événement. De plus, l&#039;objet événement contient également une propriété &#039;cible&#039; dont la valeur est l&#039;objet qui a déclenché l&#039;événement.</p>"},{"id":"text-164","type":"text","heading":"","plain_text":"Événements","html":"<p>Événements</p>"},{"id":"text-165","type":"text","heading":"","plain_text":"add-attachment-complete","html":"<p>add-attachment-complete</p>"},{"id":"text-166","type":"text","heading":"","plain_text":"  résultat: &lt;FeatureEditResult&gt;","html":"<p>  résultat: &lt;FeatureEditResult&gt;</p>"},{"id":"text-167","type":"text","heading":"","plain_text":"Se déclenche lorsque addAttachments () est terminé.","html":"<p>Se déclenche lorsque addAttachments () est terminé.</p>"},{"id":"text-168","type":"text","heading":"","plain_text":"avant-application-modifications","html":"<p>avant-application-modifications</p>"},{"id":"text-169","type":"text","heading":"","plain_text":"  ajoute: &lt;Graphique[]&gt;\n  supprime: &lt;Graphique[]&gt;\n  mises à jour: &lt;Graphique[]&gt;","html":"<p>  ajoute: &lt;Graphique[]&gt;\n  supprime: &lt;Graphique[]&gt;\n  mises à jour: &lt;Graphique[]&gt;</p>"},{"id":"text-170","type":"text","heading":"","plain_text":"Déclenché avant que les modifications ne soient appliquées à la couche d&#39;entités.","html":"<p>Déclenché avant que les modifications ne soient appliquées à la couche d&#039;entités.</p>"},{"id":"text-171","type":"text","heading":"","plain_text":"capacités-changement","html":"<p>capacités-changement</p>"},{"id":"text-172","type":"text","heading":"","plain_text":"Déclenché lorsque les fonctionnalités de la couche sont modifiées à l&#39;aide de la méthode setEditable.","html":"<p>Déclenché lorsque les fonctionnalités de la couche sont modifiées à l&#039;aide de la méthode setEditable.</p>"},{"id":"text-173","type":"text","heading":"","plain_text":"Cliquez sur","html":"<p>Cliquez sur</p>"},{"id":"text-174","type":"text","heading":"","plain_text":"  événement: &lt;Objet&gt;","html":"<p>  événement: &lt;Objet&gt;</p>"},{"id":"text-175","type":"text","heading":"","plain_text":"Se déclenche quand un graphique a été cliqué.","html":"<p>Se déclenche quand un graphique a été cliqué.</p>"},{"id":"text-176","type":"text","heading":"","plain_text":"clic-dbl","html":"<p>clic-dbl</p>"},{"id":"text-177","type":"text","heading":"","plain_text":"  événement: &lt;Objet&gt;","html":"<p>  événement: &lt;Objet&gt;</p>"},{"id":"text-178","type":"text","heading":"","plain_text":"Se déclenche lorsqu&#39;une fonctionnalité a été double-cliquée.","html":"<p>Se déclenche lorsqu&#039;une fonctionnalité a été double-cliquée.</p>"},{"id":"text-179","type":"text","heading":"","plain_text":"delete-attachments-complete","html":"<p>delete-attachments-complete</p>"},{"id":"text-180","type":"text","heading":"","plain_text":"  résultats: &lt;Objet[]&gt;","html":"<p>  résultats: &lt;Objet[]&gt;</p>"},{"id":"text-181","type":"text","heading":"","plain_text":"Se déclenche lorsque deleteAttachments est terminé.","html":"<p>Se déclenche lorsque deleteAttachments est terminé.</p>"},{"id":"text-182","type":"text","heading":"","plain_text":"éditions complètes","html":"<p>éditions complètes</p>"},{"id":"text-183","type":"text","heading":"","plain_text":"  ajoute: &lt;FeatureEditResult[]&gt;\n  supprime: &lt;FeatureEditResult[]&gt;\n  mises à jour: &lt;FeatureEditResult[]&gt;","html":"<p>  ajoute: &lt;FeatureEditResult[]&gt;\n  supprime: &lt;FeatureEditResult[]&gt;\n  mises à jour: &lt;FeatureEditResult[]&gt;</p>"},{"id":"text-184","type":"text","heading":"","plain_text":"Se déclenche une fois que applyEdits () est terminé.","html":"<p>Se déclenche une fois que applyEdits () est terminé.</p>"},{"id":"text-185","type":"text","heading":"","plain_text":"Erreur","html":"<p>Erreur</p>"},{"id":"text-186","type":"text","heading":"","plain_text":"  erreur: &lt;Erreur&gt;","html":"<p>  erreur: &lt;Erreur&gt;</p>"},{"id":"text-187","type":"text","heading":"","plain_text":"Se déclenche lorsqu&#39;il y a un problème de récupération d&#39;une couche.","html":"<p>Se déclenche lorsqu&#039;il y a un problème de récupération d&#039;une couche.</p>"},{"id":"text-188","type":"text","heading":"","plain_text":"gdb-version-change","html":"<p>gdb-version-change</p>"},{"id":"text-189","type":"text","heading":"","plain_text":"Déclenché lorsque la version de la géodatabase est modifiée.","html":"<p>Déclenché lorsque la version de la géodatabase est modifiée.</p>"},{"id":"text-190","type":"text","heading":"","plain_text":"ajouter graphique","html":"<p>ajouter graphique</p>"},{"id":"text-191","type":"text","heading":"","plain_text":"  graphique: &lt;Graphique&gt;","html":"<p>  graphique: &lt;Graphique&gt;</p>"},{"id":"text-192","type":"text","heading":"","plain_text":"Se déclenche lorsqu&#39;un graphique est ajouté à GraphicsLayer.","html":"<p>Se déclenche lorsqu&#039;un graphique est ajouté à GraphicsLayer.</p>"},{"id":"text-193","type":"text","heading":"","plain_text":"graphique dessiner","html":"<p>graphique dessiner</p>"},{"id":"text-194","type":"text","heading":"","plain_text":"  graphique: &lt;Graphique&gt;","html":"<p>  graphique: &lt;Graphique&gt;</p>"},{"id":"text-195","type":"text","heading":"","plain_text":"Se déclenche lorsqu&#39;un graphique est dessiné.","html":"<p>Se déclenche lorsqu&#039;un graphique est dessiné.</p>"},{"id":"text-196","type":"text","heading":"","plain_text":"graph-node-add","html":"<p>graph-node-add</p>"},{"id":"text-197","type":"text","heading":"","plain_text":"  graphique: &lt;Graphique&gt;\n  noeud: &lt;HTMLElement&gt;","html":"<p>  graphique: &lt;Graphique&gt;\n  noeud: &lt;HTMLElement&gt;</p>"},{"id":"text-198","type":"text","heading":"","plain_text":"Se déclenche lorsque le nœud DOM d&#39;un graphique est créé et ajouté à la couche.","html":"<p>Se déclenche lorsque le nœud DOM d&#039;un graphique est créé et ajouté à la couche.</p>"},{"id":"text-199","type":"text","heading":"","plain_text":"noeud-graphique-supprimer","html":"<p>noeud-graphique-supprimer</p>"},{"id":"text-200","type":"text","heading":"","plain_text":"  graphique: &lt;Graphique&gt;\n  noeud: &lt;HTMLElement&gt;","html":"<p>  graphique: &lt;Graphique&gt;\n  noeud: &lt;HTMLElement&gt;</p>"},{"id":"text-201","type":"text","heading":"","plain_text":"Cet événement est déclenché lorsque le nœud DOM d&#39;un graphique est supprimé (considérez le nœud détruit).","html":"<p>Cet événement est déclenché lorsque le nœud DOM d&#039;un graphique est supprimé (considérez le nœud détruit).</p>"},{"id":"text-202","type":"text","heading":"","plain_text":"supprimer graphique","html":"<p>supprimer graphique</p>"},{"id":"text-203","type":"text","heading":"","plain_text":"  graphique: &lt;Graphique&gt;","html":"<p>  graphique: &lt;Graphique&gt;</p>"},{"id":"text-204","type":"text","heading":"","plain_text":"Se déclenche lorsqu&#39;un graphique est supprimé du GraphicsLayer.","html":"<p>Se déclenche lorsqu&#039;un graphique est supprimé du GraphicsLayer.</p>"},{"id":"text-205","type":"text","heading":"","plain_text":"graphisme clair","html":"<p>graphisme clair</p>"},{"id":"text-206","type":"text","heading":"","plain_text":"Se déclenche lorsque tous les graphiques du GraphicsLayer sont effacés.","html":"<p>Se déclenche lorsque tous les graphiques du GraphicsLayer sont effacés.</p>"},{"id":"text-207","type":"text","heading":"","plain_text":"étiquetage-info-changement","html":"<p>étiquetage-info-changement</p>"},{"id":"text-208","type":"text","heading":"","plain_text":"Déclenché lors du marquage des informations sur la couche.","html":"<p>Déclenché lors du marquage des informations sur la couche.</p>"},{"id":"text-209","type":"text","heading":"","plain_text":"charge","html":"<p>charge</p>"},{"id":"text-210","type":"text","heading":"","plain_text":"  couche: &lt;Couche&gt;","html":"<p>  couche: &lt;Couche&gt;</p>"},{"id":"text-211","type":"text","heading":"","plain_text":"Les incendies après les propriétés de calque pour le calque ont été renseignés avec succès.","html":"<p>Les incendies après les propriétés de calque pour le calque ont été renseignés avec succès.</p>"},{"id":"text-212","type":"text","heading":"","plain_text":"souris vers le bas\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est enfoncé et que le curseur de la souris est sur un graphique.","html":"<p>souris vers le bas\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est enfoncé et que le curseur de la souris est sur un graphique.</p>"},{"id":"text-213","type":"text","heading":"","plain_text":"faites glisser la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris est déplacée jusqu&#39;à ce que le bouton de la souris soit relâché.","html":"<p>faites glisser la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris est déplacée jusqu&#039;à ce que le bouton de la souris soit relâché.</p>"},{"id":"text-214","type":"text","heading":"","plain_text":"déplacer la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris se déplace dans un graphique du GraphicsLayer.","html":"<p>déplacer la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris se déplace dans un graphique du GraphicsLayer.</p>"},{"id":"text-215","type":"text","heading":"","plain_text":"sortie de souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris quitte un graphique du GraphicsLayer.","html":"<p>sortie de souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris quitte un graphique du GraphicsLayer.</p>"},{"id":"text-216","type":"text","heading":"","plain_text":"survoler\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris entre pour la première fois dans un graphique du GraphicsLayer.","html":"<p>survoler\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris entre pour la première fois dans un graphique du GraphicsLayer.</p>"},{"id":"text-217","type":"text","heading":"","plain_text":"la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est relâché et que le curseur de la souris est sur un graphique.","html":"<p>la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est relâché et que le curseur de la souris est sur un graphique.</p>"},{"id":"text-218","type":"text","heading":"","plain_text":"changement d&#39;opacité","html":"<p>changement d&#039;opacité</p>"},{"id":"text-219","type":"text","heading":"","plain_text":"  opacité: &lt;Nombre&gt;","html":"<p>  opacité: &lt;Nombre&gt;</p>"},{"id":"text-220","type":"text","heading":"","plain_text":"Se déclenche lorsque l&#39;opacité du calque a été modifiée et renvoie un objet avec la valeur d&#39;opacité.","html":"<p>Se déclenche lorsque l&#039;opacité du calque a été modifiée et renvoie un objet avec la valeur d&#039;opacité.</p>"},{"id":"text-221","type":"text","heading":"","plain_text":"query-attachment-infos-complete","html":"<p>query-attachment-infos-complete</p>"},{"id":"text-222","type":"text","heading":"","plain_text":"  info: &lt;Objet[]&gt;","html":"<p>  info: &lt;Objet[]&gt;</p>"},{"id":"text-223","type":"text","heading":"","plain_text":"Se déclenche lorsque la méthode queryAttachmentInfos est appelée.","html":"<p>Se déclenche lorsque la méthode queryAttachmentInfos est appelée.</p>"},{"id":"text-224","type":"text","heading":"","plain_text":"requête-compte-complet","html":"<p>requête-compte-complet</p>"},{"id":"text-225","type":"text","heading":"","plain_text":"  compter: &lt;Nombre&gt;","html":"<p>  compter: &lt;Nombre&gt;</p>"},{"id":"text-226","type":"text","heading":"","plain_text":"Se déclenche lorsque la requête pour le compte est terminée.","html":"<p>Se déclenche lorsque la requête pour le compte est terminée.</p>"},{"id":"text-227","type":"text","heading":"","plain_text":"requête-étendue-complète","html":"<p>requête-étendue-complète</p>"},{"id":"text-228","type":"text","heading":"","plain_text":"  compter: &lt;Nombre&gt;\n  mesure: &lt;Ampleur&gt;","html":"<p>  compter: &lt;Nombre&gt;\n  mesure: &lt;Ampleur&gt;</p>"},{"id":"text-229","type":"text","heading":"","plain_text":"Se déclenche lorsque la méthode queryExtent est terminée.","html":"<p>Se déclenche lorsque la méthode queryExtent est terminée.</p>"},{"id":"text-230","type":"text","heading":"","plain_text":"requête-fonctionnalités-complète","html":"<p>requête-fonctionnalités-complète</p>"},{"id":"text-231","type":"text","heading":"","plain_text":"  featureSet: &lt;Jeu de fonctionnalités&gt;","html":"<p>  featureSet: &lt;Jeu de fonctionnalités&gt;</p>"},{"id":"text-232","type":"text","heading":"","plain_text":"Se déclenche lorsque queryFeatures () est terminée.","html":"<p>Se déclenche lorsque queryFeatures () est terminée.</p>"},{"id":"text-233","type":"text","heading":"","plain_text":"query-ids-complete","html":"<p>query-ids-complete</p>"},{"id":"text-234","type":"text","heading":"","plain_text":"  objectIds: &lt;Nombre[]&gt;","html":"<p>  objectIds: &lt;Nombre[]&gt;</p>"},{"id":"text-235","type":"text","heading":"","plain_text":"Se déclenche lorsque queryIds () est terminée.","html":"<p>Se déclenche lorsque queryIds () est terminée.</p>"},{"id":"text-236","type":"text","heading":"","plain_text":"limite de requête dépassée","html":"<p>limite de requête dépassée</p>"},{"id":"text-237","type":"text","heading":"","plain_text":"Déclenché lorsque la couche d&#39;entités n&#39;a pas pu dessiner toutes les entités en raison d&#39;une limitation de maxRecordCount sur une opération de requête.","html":"<p>Déclenché lorsque la couche d&#039;entités n&#039;a pas pu dessiner toutes les entités en raison d&#039;une limitation de maxRecordCount sur une opération de requête.</p>"},{"id":"text-238","type":"text","heading":"","plain_text":"requête-related-features-complete","html":"<p>requête-related-features-complete</p>"},{"id":"text-239","type":"text","heading":"","plain_text":"  relatedFeatures: &lt;Objet&gt;","html":"<p>  relatedFeatures: &lt;Objet&gt;</p>"},{"id":"text-240","type":"text","heading":"","plain_text":"Se déclenche lorsque queryRelatedFeatures () est terminée.","html":"<p>Se déclenche lorsque queryRelatedFeatures () est terminée.</p>"},{"id":"text-241","type":"text","heading":"","plain_text":"rafraîchissement-intervalle-changement","html":"<p>rafraîchissement-intervalle-changement</p>"},{"id":"text-242","type":"text","heading":"","plain_text":"Cet événement est déclenché lorsque la couche est intervalle de rafraîchissement est modifié.","html":"<p>Cet événement est déclenché lorsque la couche est intervalle de rafraîchissement est modifié.</p>"},{"id":"text-243","type":"text","heading":"","plain_text":"rafraichissement","html":"<p>rafraichissement</p>"},{"id":"text-244","type":"text","heading":"","plain_text":"Se déclenche juste avant l&#39;actualisation de la couche et ne se déclenche que lorsque l&#39;actualisation est déclenchée par la commande refreshInterval.","html":"<p>Se déclenche juste avant l&#039;actualisation de la couche et ne se déclenche que lorsque l&#039;actualisation est déclenchée par la commande refreshInterval.</p>"},{"id":"text-245","type":"text","heading":"","plain_text":"CV","html":"<p>CV</p>"},{"id":"text-246","type":"text","heading":"","plain_text":"Se déclenche lorsqu&#39;un calque reprend son dessin.","html":"<p>Se déclenche lorsqu&#039;un calque reprend son dessin.</p>"},{"id":"text-247","type":"text","heading":"","plain_text":"changement de gamme d&#39;échelle","html":"<p>changement de gamme d&#039;échelle</p>"},{"id":"text-248","type":"text","heading":"","plain_text":"Se déclenche lorsque les propriétés minScale et / ou maxScale d&#39;une couche sont modifiées.","html":"<p>Se déclenche lorsque les propriétés minScale et / ou maxScale d&#039;une couche sont modifiées.</p>"},{"id":"text-249","type":"text","heading":"","plain_text":"échelle-visibilité-changement","html":"<p>échelle-visibilité-changement</p>"},{"id":"text-250","type":"text","heading":"","plain_text":"Se déclenche lorsque la visibilité d&#39;échelle d&#39;un calque change.","html":"<p>Se déclenche lorsque la visibilité d&#039;échelle d&#039;un calque change.</p>"},{"id":"text-251","type":"text","heading":"","plain_text":"sélection-clear","html":"<p>sélection-clear</p>"},{"id":"text-252","type":"text","heading":"","plain_text":"Se déclenche après l&#39;appel de clearSelection.","html":"<p>Se déclenche après l&#039;appel de clearSelection.</p>"},{"id":"text-253","type":"text","heading":"","plain_text":"sélection complète","html":"<p>sélection complète</p>"},{"id":"text-254","type":"text","heading":"","plain_text":"  caractéristiques: &lt;Graphique[]&gt;\n  méthode: &lt;Nombre&gt;","html":"<p>  caractéristiques: &lt;Graphique[]&gt;\n  méthode: &lt;Nombre&gt;</p>"},{"id":"text-255","type":"text","heading":"","plain_text":"Se déclenche lorsque selectFeatures () est terminé.","html":"<p>Se déclenche lorsque selectFeatures () est terminé.</p>"},{"id":"text-256","type":"text","heading":"","plain_text":"show-labels-change","html":"<p>show-labels-change</p>"},{"id":"text-257","type":"text","heading":"","plain_text":"Déclenché lorsque les étiquettes de la couche d&#39;entités sont modifiées.","html":"<p>Déclenché lorsque les étiquettes de la couche d&#039;entités sont modifiées.</p>"},{"id":"text-258","type":"text","heading":"","plain_text":"suspendre","html":"<p>suspendre</p>"},{"id":"text-259","type":"text","heading":"","plain_text":"Se déclenche lorsqu&#39;un calque suspend le dessin.","html":"<p>Se déclenche lorsqu&#039;un calque suspend le dessin.</p>"},{"id":"text-260","type":"text","heading":"","plain_text":"mettre à jour","html":"<p>mettre à jour</p>"},{"id":"text-261","type":"text","heading":"","plain_text":"Se déclenche chaque fois qu&#39;une couche a fini de se charger ou de se mettre à jour.","html":"<p>Se déclenche chaque fois qu&#039;une couche a fini de se charger ou de se mettre à jour.</p>"},{"id":"text-262","type":"text","heading":"","plain_text":"fin de mise à jour","html":"<p>fin de mise à jour</p>"},{"id":"text-263","type":"text","heading":"","plain_text":"  erreur: &lt;Erreur&gt;\n  info: &lt;Objet&gt;","html":"<p>  erreur: &lt;Erreur&gt;\n  info: &lt;Objet&gt;</p>"},{"id":"text-264","type":"text","heading":"","plain_text":"Déclenché lorsque la couche a fini de mettre à jour son contenu.","html":"<p>Déclenché lorsque la couche a fini de mettre à jour son contenu.</p>"},{"id":"text-265","type":"text","heading":"","plain_text":"mise à jour-début","html":"<p>mise à jour-début</p>"},{"id":"text-266","type":"text","heading":"","plain_text":"Déclenché lorsque la couche commence à mettre à jour son contenu.","html":"<p>Déclenché lorsque la couche commence à mettre à jour son contenu.</p>"},{"id":"text-267","type":"text","heading":"","plain_text":"changement de visibilité","html":"<p>changement de visibilité</p>"},{"id":"text-268","type":"text","heading":"","plain_text":"  visible: &lt;Booléen&gt;","html":"<p>  visible: &lt;Booléen&gt;</p>"},{"id":"text-269","type":"text","heading":"","plain_text":"Se déclenche lorsque la visibilité du calque a été modifiée et renvoie un objet avec une propriété booléenne visible contenant la nouvelle valeur de visibilité du calque.","html":"<p>Se déclenche lorsque la visibilité du calque a été modifiée et renvoie un objet avec une propriété booléenne visible contenant la nouvelle valeur de visibilité du calque.</p>"},{"id":"text-270","type":"text","heading":"","plain_text":"Détails du constructeur","html":"<p>Détails du constructeur</p>"},{"id":"text-271","type":"text","heading":"","plain_text":"Crée une nouvelle instance d&#39;un objet de couche d&#39;entités à partir de la ressource REST ArcGIS Server identifiée par l&#39;URL d&#39;entrée. Une fois créé, vous pouvez éventuellement définir une expression de définition ou une définition de temps.\nParamètres:","html":"<p>Crée une nouvelle instance d&#039;un objet de couche d&#039;entités à partir de la ressource REST ArcGIS Server identifiée par l&#039;URL d&#039;entrée. Une fois créé, vous pouvez éventuellement définir une expression de définition ou une définition de temps.\nParamètres:</p>"},{"id":"text-272","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; url\nChamps obligatoires\nURL de la ressource REST ArcGIS Server qui représente un service de fonctionnalité. Un exemple est http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0. Pour plus d&#39;informations sur la construction d&#39;une URL, voir Le répertoire de services et l&#39;API REST.","html":"<p>&lt;Chaîne&gt; url\nChamps obligatoires\nURL de la ressource REST ArcGIS Server qui représente un service de fonctionnalité. Un exemple est http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0. Pour plus d&#039;informations sur la construction d&#039;une URL, voir Le répertoire de services et l&#039;API REST.</p>"},{"id":"text-273","type":"text","heading":"","plain_text":"&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options.","html":"<p>&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options.</p>"},{"id":"text-274","type":"text","heading":"","plain_text":"options Propriétés:","html":"<p>options Propriétés:</p>"},{"id":"text-275","type":"text","heading":"","plain_text":"&lt;Booléen&gt; allowUpdateWithoutMValues\nOptionnel\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées. La valeur par défaut est faux.","html":"<p>&lt;Booléen&gt; allowUpdateWithoutMValues\nOptionnel\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées. La valeur par défaut est faux.</p>"},{"id":"text-276","type":"text","heading":"","plain_text":"&lt;Booléen&gt; autoGeneralize\nOptionnel\nActiver ou désactiver la généralisation automatique des fonctionnalités d&#39;un calque non modifiable en mode à la demande. Lorsque la valeur est true, la couche utilise la résolution actuelle de la carte comme maxAllowableOffset pour toutes les requêtes envoyées au serveur. La valeur par défaut est true. À partir de v2.7","html":"<p>&lt;Booléen&gt; autoGeneralize\nOptionnel\nActiver ou désactiver la généralisation automatique des fonctionnalités d&#039;un calque non modifiable en mode à la demande. Lorsque la valeur est true, la couche utilise la résolution actuelle de la carte comme maxAllowableOffset pour toutes les requêtes envoyées au serveur. La valeur par défaut est true. À partir de v2.7</p>"},{"id":"text-277","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; className\nOptionnel\nAttribut de classe à définir pour le nœud de la couche.","html":"<p>&lt;Chaîne&gt; className\nOptionnel\nAttribut de classe à définir pour le nœud de la couche.</p>"},{"id":"text-278","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; definitionExpression\nOptionnel\nClause Where à utiliser comme expression de définition pour la couche. Ajouté à la v3.11","html":"<p>&lt;Chaîne&gt; definitionExpression\nOptionnel\nClause Where à utiliser comme expression de définition pour la couche. Ajouté à la v3.11</p>"},{"id":"text-279","type":"text","heading":"","plain_text":"&lt;Booléen&gt; displayOnPan\nOptionnel\nLorsque la valeur est true, les graphiques sont affichés pendant le panoramique. Lorsque la valeur est false, les graphiques sont désactivés pendant le déplacement du panoramique. La définition de false peut améliorer les performances dans Internet Explorer. Le défaut est vrai.","html":"<p>&lt;Booléen&gt; displayOnPan\nOptionnel\nLorsque la valeur est true, les graphiques sont affichés pendant le panoramique. Lorsque la valeur est false, les graphiques sont désactivés pendant le déplacement du panoramique. La définition de false peut améliorer les performances dans Internet Explorer. Le défaut est vrai.</p>"},{"id":"text-280","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; editSummaryCallback\nOptionnel\nDéfinir une fonction de rappel qui sera appelée par  FeatureLayer.getEditSummary. À partir de v2.8","html":"<p>&lt;Une fonction&gt; editSummaryCallback\nOptionnel\nDéfinir une fonction de rappel qui sera appelée par  FeatureLayer.getEditSummary. À partir de v2.8</p>"},{"id":"text-281","type":"text","heading":"","plain_text":"&lt;Objet&gt; caractéristiqueRéduction\nOptionnel\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur les couches de points. Voir setFeatureReduction () pour plus de détails. Voir le fonctionRéduction tableau de spécification d&#39;objet ci-dessous pour les options pouvant être définies dans cet objet. \nLa prise en charge de la réduction des fonctionnalités est limitée aux scénarios suivants:","html":"<p>&lt;Objet&gt; caractéristiqueRéduction\nOptionnel\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur les couches de points. Voir setFeatureReduction () pour plus de détails. Voir le fonctionRéduction tableau de spécification d&#039;objet ci-dessous pour les options pouvant être définies dans cet objet. \nLa prise en charge de la réduction des fonctionnalités est limitée aux scénarios suivants:</p>"},{"id":"text-282","type":"text","heading":"","plain_text":"Données de points (provenant du service ou de FeatureCollection).\nLa carte doit avoir une référence spatiale Web Mercator ou WGS84.\nSi la couche contient plus de 50 000 entités, seules les 50 000 premières seront mises en cluster.\nUne FeatureLayer créée à partir d&#39;une URL de service doit pointer vers un service prenant en charge la pagination (ArcGIS Server version 10.3.1 ou ultérieure).\nLorsque la modification est lancée avec le widget Editeur, la réduction des fonctionnalités est désactivée jusqu&#39;à ce que le widget Editeur soit détruit.\nLa réduction de fonctionnalité est désactivée lorsque la couche a l&#39;un des moteurs de rendu suivants: HeatmapRenderer,\n        BlendRenderer, Rendu temporel, ou\n        ScaleDependentRenderer.","html":"<p>Données de points (provenant du service ou de FeatureCollection).\nLa carte doit avoir une référence spatiale Web Mercator ou WGS84.\nSi la couche contient plus de 50 000 entités, seules les 50 000 premières seront mises en cluster.\nUne FeatureLayer créée à partir d&#039;une URL de service doit pointer vers un service prenant en charge la pagination (ArcGIS Server version 10.3.1 ou ultérieure).\nLorsque la modification est lancée avec le widget Editeur, la réduction des fonctionnalités est désactivée jusqu&#039;à ce que le widget Editeur soit détruit.\nLa réduction de fonctionnalité est désactivée lorsque la couche a l&#039;un des moteurs de rendu suivants: HeatmapRenderer,\n        BlendRenderer, Rendu temporel, ou\n        ScaleDependentRenderer.</p>"},{"id":"text-283","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; gdbVersion\nOptionnel\nSpécifiez la version de la géodatabase à afficher. (À partir de v2.7). Requiert le service ArcGIS Server 10.1 ou supérieur","html":"<p>&lt;Chaîne&gt; gdbVersion\nOptionnel\nSpécifiez la version de la géodatabase à afficher. (À partir de v2.7). Requiert le service ArcGIS Server 10.1 ou supérieur</p>"},{"id":"text-284","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; id\nOptionnel\nID unique à attribuer à la couche. Si non assigné, esri.Carte crée un identifiant unique.","html":"<p>&lt;Chaîne&gt; id\nOptionnel\nID unique à attribuer à la couche. Si non assigné, esri.Carte crée un identifiant unique.</p>"},{"id":"text-285","type":"text","heading":"","plain_text":"&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nLe modèle qui définit le contenu à afficher dans la fenêtre d&#39;informations de la carte lorsque l&#39;utilisateur clique sur une entité. Si non spécifié, la fenêtre d&#39;information ne sera pas affichée.","html":"<p>&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nLe modèle qui définit le contenu à afficher dans la fenêtre d&#039;informations de la carte lorsque l&#039;utilisateur clique sur une entité. Si non spécifié, la fenêtre d&#039;information ne sera pas affichée.</p>"},{"id":"text-286","type":"text","heading":"","plain_text":"&lt;Nombre&gt; maxAllowableOffset\nOptionnel\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables.","html":"<p>&lt;Nombre&gt; maxAllowableOffset\nOptionnel\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables.</p>"},{"id":"text-287","type":"text","heading":"","plain_text":"&lt;Nombre&gt; mode\nOptionnel\nLe mode de requête pour la couche d&#39;entités. Chaque mode détermine quand et combien de fonctionnalités sont envoyées au client. Le mode par défaut consiste à interroger à la demande lorsque l&#39;étendue, l&#39;heure et la définition de la couche changent. Vous pouvez spécifier les valeurs suivantes:","html":"<p>&lt;Nombre&gt; mode\nOptionnel\nLe mode de requête pour la couche d&#039;entités. Chaque mode détermine quand et combien de fonctionnalités sont envoyées au client. Le mode par défaut consiste à interroger à la demande lorsque l&#039;étendue, l&#039;heure et la définition de la couche changent. Vous pouvez spécifier les valeurs suivantes:</p>"},{"id":"text-288","type":"text","heading":"","plain_text":"FeatureLayer.MODE_SNAPSHOT: les fonctionnalités sont extraites du serveur en fonction de DefinitionExpression et TimeDefinition. Si la définition change, la couche se met à jour en interrogeant les entités depuis le serveur. Une fois que les entités ont été récupérées sur le client, leur &quot;visibilité&quot; sur la carte est basée sur le temps et l&#39;étendue spatiale de la carte. Par exemple, pour une animation temporelle, vous pouvez demander toutes les fonctionnalités au serveur, puis ajuster l&#39;étendue temporelle sur la carte pour afficher uniquement un sous-ensemble.\nFeatureLayer.MODE_ONDEMAND: les fonctionnalités sont extraites du serveur selon les besoins.\nFeatureLayer.MODE_SELECTION: seules les fonctionnalités sélectionnées sont disponibles sur le client. Généralement utilisé en combinaison avec un service de carte dynamique affichant les entités pouvant être sélectionnées.\nFeatureLayer.MODE_AUTO: Les fonctionnalités sont extraites en mode à la demande ou en mode instantané, en fonction des caractéristiques du service. Applicable uniquement aux services d&#39;entités hébergés. Voir le tableau des constantes pour plus de détails.","html":"<p>FeatureLayer.MODE_SNAPSHOT: les fonctionnalités sont extraites du serveur en fonction de DefinitionExpression et TimeDefinition. Si la définition change, la couche se met à jour en interrogeant les entités depuis le serveur. Une fois que les entités ont été récupérées sur le client, leur &quot;visibilité&quot; sur la carte est basée sur le temps et l&#039;étendue spatiale de la carte. Par exemple, pour une animation temporelle, vous pouvez demander toutes les fonctionnalités au serveur, puis ajuster l&#039;étendue temporelle sur la carte pour afficher uniquement un sous-ensemble.\nFeatureLayer.MODE_ONDEMAND: les fonctionnalités sont extraites du serveur selon les besoins.\nFeatureLayer.MODE_SELECTION: seules les fonctionnalités sélectionnées sont disponibles sur le client. Généralement utilisé en combinaison avec un service de carte dynamique affichant les entités pouvant être sélectionnées.\nFeatureLayer.MODE_AUTO: Les fonctionnalités sont extraites en mode à la demande ou en mode instantané, en fonction des caractéristiques du service. Applicable uniquement aux services d&#039;entités hébergés. Voir le tableau des constantes pour plus de détails.</p>"},{"id":"text-289","type":"text","heading":"","plain_text":"La valeur par défaut est MODE_ONDEMAND.\nVoir le tableau des constantes pour plus de détails sur chaque mode.","html":"<p>La valeur par défaut est MODE_ONDEMAND.\nVoir le tableau des constantes pour plus de détails sur chaque mode.</p>"},{"id":"text-290","type":"text","heading":"","plain_text":"&lt;Nombre&gt; opacité\nOptionnel\nOpacité initiale ou transparence du calque. Les valeurs vont de 0,0 à 1,0, 0,0 étant transparent à 100% et 1,0 non transparent. La valeur par défaut est 1.0. Non pris en charge dans Internet Explorer.","html":"<p>&lt;Nombre&gt; opacité\nOptionnel\nOpacité initiale ou transparence du calque. Les valeurs vont de 0,0 à 1,0, 0,0 étant transparent à 100% et 1,0 non transparent. La valeur par défaut est 1.0. Non pris en charge dans Internet Explorer.</p>"},{"id":"text-291","type":"text","heading":"","plain_text":"&lt;Chaîne[]&gt; orderByFields\nOptionnel\nUn ou plusieurs champs utilisés pour classer les entités &#8211; pour les requêtes ainsi que pour le rendu.","html":"<p>&lt;Chaîne[]&gt; orderByFields\nOptionnel\nUn ou plusieurs champs utilisés pour classer les entités &#8211; pour les requêtes ainsi que pour le rendu.</p>"},{"id":"text-292","type":"text","heading":"","plain_text":"Spécifiquement ASC (ascendant) ou DESC (décroissant) après le nom du champ pour contrôler l&#39;ordre. Exemple: [ \"POPULATION DESC\" ].\nLors de la visualisation d&#39;une couche d&#39;entités à l&#39;aide d&#39;un moteur de rendu avec dimensionnement basé sur les données, cette option est utile pour garantir que les entités plus petites sont dessinées par-dessus les plus grandes et ne sont pas cachées dessous.\nS&#39;il n&#39;est pas spécifié, la couche d&#39;entités choisira l&#39;ordre comme suit:","html":"<p>Spécifiquement ASC (ascendant) ou DESC (décroissant) après le nom du champ pour contrôler l&#039;ordre. Exemple: [ &quot;POPULATION DESC&quot; ].\nLors de la visualisation d&#039;une couche d&#039;entités à l&#039;aide d&#039;un moteur de rendu avec dimensionnement basé sur les données, cette option est utile pour garantir que les entités plus petites sont dessinées par-dessus les plus grandes et ne sont pas cachées dessous.\nS&#039;il n&#039;est pas spécifié, la couche d&#039;entités choisira l&#039;ordre comme suit:</p>"},{"id":"text-293","type":"text","heading":"","plain_text":"La couche a un rendu avec dimensionnement basé sur les données: ordre décroissant de Renderer.sizeInfo.field.\nLa couche a un ClassBreaksRenderer avec backgroundFillSymbol: ordre décroissant de Renderer.attributeField.\nLa couche a un ClassBreaksRenderer où chaque saut a différentes tailles de symbole: ordre décroissant de Renderer.attributeField.","html":"<p>La couche a un rendu avec dimensionnement basé sur les données: ordre décroissant de Renderer.sizeInfo.field.\nLa couche a un ClassBreaksRenderer avec backgroundFillSymbol: ordre décroissant de Renderer.attributeField.\nLa couche a un ClassBreaksRenderer où chaque saut a différentes tailles de symbole: ordre décroissant de Renderer.attributeField.</p>"},{"id":"text-294","type":"text","heading":"","plain_text":"&lt;Chaîne[]&gt; les champs\nOptionnel\nUn tableau de chaînes qui correspondent aux champs à inclure dans FeatureLayer. Si non spécifié, la couche d&#39;entités renverra le champ OBJECTID et, le cas échéant, le champ d&#39;heure de début, le champ d&#39;heure de fin et le champ de type id. Vous pouvez spécifier [\"*\"]    Pour récupérer les valeurs de tous les champs de la couche, cela est utile lors de la modification des entités.","html":"<p>&lt;Chaîne[]&gt; les champs\nOptionnel\nUn tableau de chaînes qui correspondent aux champs à inclure dans FeatureLayer. Si non spécifié, la couche d&#039;entités renverra le champ OBJECTID et, le cas échéant, le champ d&#039;heure de début, le champ d&#039;heure de fin et le champ de type id. Vous pouvez spécifier [&quot;*&quot;]    Pour récupérer les valeurs de tous les champs de la couche, cela est utile lors de la modification des entités.</p>"},{"id":"text-295","type":"text","heading":"","plain_text":"&lt;Nombre&gt; refreshInterval\nOptionnel\nIntervalle de rafraîchissement de la couche en minutes. Une valeur autre que zéro définit l&#39;actualisation automatique de la couche à l&#39;intervalle spécifié.","html":"<p>&lt;Nombre&gt; refreshInterval\nOptionnel\nIntervalle de rafraîchissement de la couche en minutes. Une valeur autre que zéro définit l&#039;actualisation automatique de la couche à l&#039;intervalle spécifié.</p>"},{"id":"text-296","type":"text","heading":"","plain_text":"&lt;Objet&gt; resourceInfo\nOptionnel\nSpécifiez les métadonnées de la couche.","html":"<p>&lt;Objet&gt; resourceInfo\nOptionnel\nSpécifiez les métadonnées de la couche.</p>"},{"id":"text-297","type":"text","heading":"","plain_text":"&lt;Booléen&gt; showAttribution\nOptionnel\nLorsque la valeur est true, l&#39;attribution de la couche est affichée sur la carte. La valeur par défaut est true. Ajouté à la v3.1","html":"<p>&lt;Booléen&gt; showAttribution\nOptionnel\nLorsque la valeur est true, l&#039;attribution de la couche est affichée sur la carte. La valeur par défaut est true. Ajouté à la v3.1</p>"},{"id":"text-298","type":"text","heading":"","plain_text":"exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var censusBlock = new FeatureLayer (layerUrl, \n    showAttribution: false\n  );\n  ...\n);","html":"<p>exiger([\n  &quot;esri/layers/FeatureLayer&quot;, ... \n], function (FeatureLayer, ...) \n  var censusBlock = new FeatureLayer (layerUrl, \n    showAttribution: false\n  );\n  ...\n);</p>"},{"id":"text-299","type":"text","heading":"","plain_text":"&lt;Booléen&gt; showLabels\nOptionnel\nIndique si les étiquettes doivent être affichées sur la couche.\nSi un libellé est défini pour le FeatureLayer, les libellés s’affichent automatiquement si la carte showLabels est vrai. \nSi vous ne souhaitez pas que l’étiquette de la couche d’entité apparaisse, vous pouvez remplacer ce comportement en définissant son showLabels propriété à false.\nIndique si les étiquettes doivent être affichées. Si la valeur est true, toute FeatureLayer ajoutée à la carte sera automatiquement étiquetée en fonction de labelInfo. La valeur par défaut est false. Ajouté à la v3.11 \nREMARQUE: pour que les étiquettes s&#39;affichent, tous les champs utilisés par labelInfo doivent être définis dans les champs. De plus, seul un étiquetage simple est pris en charge, par exemple NOM DE VILLE. Par exemple, les mots-clés SQL tels que &quot;CONCAT&quot; ne sont pas pris en charge. Pensez à utiliser la classe LabelLayer où vous pouvez spécifier le  textexpression si besoin de plus de fonctionnalités.","html":"<p>&lt;Booléen&gt; showLabels\nOptionnel\nIndique si les étiquettes doivent être affichées sur la couche.\nSi un libellé est défini pour le FeatureLayer, les libellés s’affichent automatiquement si la carte showLabels est vrai. \nSi vous ne souhaitez pas que l’étiquette de la couche d’entité apparaisse, vous pouvez remplacer ce comportement en définissant son showLabels propriété à false.\nIndique si les étiquettes doivent être affichées. Si la valeur est true, toute FeatureLayer ajoutée à la carte sera automatiquement étiquetée en fonction de labelInfo. La valeur par défaut est false. Ajouté à la v3.11 \nREMARQUE: pour que les étiquettes s&#039;affichent, tous les champs utilisés par labelInfo doivent être définis dans les champs. De plus, seul un étiquetage simple est pris en charge, par exemple NOM DE VILLE. Par exemple, les mots-clés SQL tels que &quot;CONCAT&quot; ne sont pas pris en charge. Pensez à utiliser la classe LabelLayer où vous pouvez spécifier le  textexpression si besoin de plus de fonctionnalités.</p>"},{"id":"text-300","type":"text","heading":"","plain_text":"var map = nouvelle carte (&quot;map&quot;, showLabels: true);\n  ...\n  var fl1 = new FeatureLayer (url, showLabels: true, outFields: [\"*\"]);\n  var fl2 = new FeatureLayer (url2, showLabels: false, outFields: [\"*\"]);\n  map.addLayers ([fls, fl2])","html":"<p>var map = nouvelle carte (&quot;map&quot;, showLabels: true);\n  ...\n  var fl1 = new FeatureLayer (url, showLabels: true, outFields: [&quot;*&quot;]);\n  var fl2 = new FeatureLayer (url2, showLabels: false, outFields: [&quot;*&quot;]);\n  map.addLayers ([fls, fl2])</p>"},{"id":"text-301","type":"text","heading":"","plain_text":"Ajouté à la v3.11","html":"<p>Ajouté à la v3.11</p>"},{"id":"text-302","type":"text","heading":"","plain_text":"&lt;LayerSource&gt; source\nOptionnel\nLe calque dynamique ou la source de la table. L&#39;URL devrait se terminer par / dynamicLayer.","html":"<p>&lt;LayerSource&gt; source\nOptionnel\nLe calque dynamique ou la source de la table. L&#039;URL devrait se terminer par / dynamicLayer.</p>"},{"id":"text-303","type":"text","heading":"","plain_text":"&lt;Nombre&gt; carrelage\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#39;une valeur telle que 512&#215;256 n&#39;est pas prise en charge.","html":"<p>&lt;Nombre&gt; carrelage\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#039;une valeur telle que 512&#215;256 n&#039;est pas prise en charge.</p>"},{"id":"text-304","type":"text","heading":"","plain_text":"&lt;Nombre&gt; largeur du carreau\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#39;une valeur telle que 512&#215;256 n&#39;est pas prise en charge.","html":"<p>&lt;Nombre&gt; largeur du carreau\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#039;une valeur telle que 512&#215;256 n&#039;est pas prise en charge.</p>"},{"id":"text-305","type":"text","heading":"","plain_text":"exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var featureLayer = new FeatureLayer (&quot;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/1&quot;, \n    mode: FeatureLayer.MODE_ONDEMAND,\n    tileWidth: 200,\n    mosaïqueHauteur: 200\n  );\n  ...\n);","html":"<p>exiger([\n  &quot;esri/layers/FeatureLayer&quot;, ... \n], function (FeatureLayer, ...) \n  var featureLayer = new FeatureLayer (&quot;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/1&quot;, \n    mode: FeatureLayer.MODE_ONDEMAND,\n    tileWidth: 200,\n    mosaïqueHauteur: 200\n  );\n  ...\n);</p>"},{"id":"text-306","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; trackIdField\nOptionnel\nLe nom de la pisteIdField.","html":"<p>&lt;Chaîne&gt; trackIdField\nOptionnel\nLe nom de la pisteIdField.</p>"},{"id":"text-307","type":"text","heading":"","plain_text":"exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var featureLayer = new FeatureLayer (featureLayerURL, \n    mode: FeatureLayer.MODE_SELECTION,\n    trackIdField: &quot;Animal_1&quot;\n  );\n  ...\n);","html":"<p>exiger([\n  &quot;esri/layers/FeatureLayer&quot;, ... \n], function (FeatureLayer, ...) \n  var featureLayer = new FeatureLayer (featureLayerURL, \n    mode: FeatureLayer.MODE_SELECTION,\n    trackIdField: &quot;Animal_1&quot;\n  );\n  ...\n);</p>"},{"id":"text-308","type":"text","heading":"","plain_text":"&lt;Booléen&gt; useMapTime\nOptionnel\nLorsque la valeur est true, la couche mettra à jour son contenu en fonction de la durée de la carte. Les valeurs par défaut sont true.","html":"<p>&lt;Booléen&gt; useMapTime\nOptionnel\nLorsque la valeur est true, la couche mettra à jour son contenu en fonction de la durée de la carte. Les valeurs par défaut sont true.</p>"},{"id":"text-309","type":"text","heading":"","plain_text":"&lt;Booléen&gt; visible\nOptionnel\nVisibilité initiale du calque. Le défaut est vrai.","html":"<p>&lt;Booléen&gt; visible\nOptionnel\nVisibilité initiale du calque. Le défaut est vrai.</p>"},{"id":"text-310","type":"text","heading":"","plain_text":"&lt;Booléen&gt; webglEnabled\nOptionnel\nIndique si la couche activera le rendu de WebGL. La valeur par défaut est vrai.","html":"<p>&lt;Booléen&gt; webglEnabled\nOptionnel\nIndique si la couche activera le rendu de WebGL. La valeur par défaut est vrai.</p>"},{"id":"text-311","type":"text","heading":"","plain_text":"Spécifications de l&#39;objet: \n&lt;fonctionRéduction&gt;","html":"<p>Spécifications de l&#039;objet: \n&lt;fonctionRéduction&gt;</p>"},{"id":"text-312","type":"text","heading":"","plain_text":"&lt;Nombre&gt; clusterRadius\nOptionnel\nRayon en pixels de chaque zone dans laquelle plusieurs points seront résumés et visualisés sous la forme d&#39;un cluster unique.","html":"<p>&lt;Nombre&gt; clusterRadius\nOptionnel\nRayon en pixels de chaque zone dans laquelle plusieurs points seront résumés et visualisés sous la forme d&#039;un cluster unique.</p>"},{"id":"text-313","type":"text","heading":"","plain_text":"&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nL&#39;InfoTemplate utilisé pour afficher des informations récapitulatives sur les graphiques agrégés.","html":"<p>&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nL&#039;InfoTemplate utilisé pour afficher des informations récapitulatives sur les graphiques agrégés.</p>"},{"id":"text-314","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; type\nChamps obligatoires\nLa méthode de réduction (ou agrégation) pour réduire les entités affichées sur la carte. La seule valeur valide est grappe.","html":"<p>&lt;Chaîne&gt; type\nChamps obligatoires\nLa méthode de réduction (ou agrégation) pour réduire les entités affichées sur la carte. La seule valeur valide est grappe.</p>"},{"id":"text-315","type":"text","heading":"","plain_text":"Échantillon:","html":"<p>Échantillon:</p>"},{"id":"text-316","type":"text","heading":"","plain_text":"exiger([\n  \"esri/InfoTemplate\", \"esri/layers/FeatureLayer\", ... \n], fonction (InfoTemplate, FeatureLayer, ...) \n  var infoTemplate = new InfoTemplate (&quot;$ FIELD_NAME&quot;, contenu);\n  var featureLayer = new FeatureLayer (&quot;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Petroleum/KGS_OilGasFields_Kansas/MapServer/0&quot;, \n    mode: FeatureLayer.MODE_ONDEMAND,\n    infoTemplate: infoTemplate,\n    outFields: [\"*\"]\n  );\n  ...\n);","html":"<p>exiger([\n  &quot;esri/InfoTemplate&quot;, &quot;esri/layers/FeatureLayer&quot;, ... \n], fonction (InfoTemplate, FeatureLayer, ...) \n  var infoTemplate = new InfoTemplate (&quot;$ FIELD_NAME&quot;, contenu);\n  var featureLayer = new FeatureLayer (&quot;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Petroleum/KGS_OilGasFields_Kansas/MapServer/0&quot;, \n    mode: FeatureLayer.MODE_ONDEMAND,\n    infoTemplate: infoTemplate,\n    outFields: [&quot;*&quot;]\n  );\n  ...\n);</p>"},{"id":"text-317","type":"text","heading":"","plain_text":"Crée une nouvelle instance d&#39;une couche d&#39;entités à l&#39;aide d&#39;un objet FeatureCollection. La couche d&#39;entités, lorsqu&#39;elle est initialisée avec un objet de collection d&#39;entités, présente le comportement suivant:","html":"<p>Crée une nouvelle instance d&#039;une couche d&#039;entités à l&#039;aide d&#039;un objet FeatureCollection. La couche d&#039;entités, lorsqu&#039;elle est initialisée avec un objet de collection d&#039;entités, présente le comportement suivant:</p>"},{"id":"text-318","type":"text","heading":"","plain_text":"Les modifications sont appliquées sur le client non publié sur le serveur.\nLa couche d&#39;entités génère un identifiant d&#39;objet unique pour les nouvelles entités.\nNe prend pas en charge les requêtes devant être effectuées sur le serveur, par exemple les requêtes avec une clause where ou des requêtes spatiales sans extension. \nLa méthode toJson de la couche d&#39;entités renvoie un objet avec les mêmes propriétés que la collection d&#39;objets. L&#39;objet renvoyé inclut toutes les entités présentes dans la couche lorsque la méthode est appelée. Cette méthode peut être utilisée pour accéder à une représentation sérialisable des fonctionnalités pouvant être enregistrées sur le serveur.","html":"<p>Les modifications sont appliquées sur le client non publié sur le serveur.\nLa couche d&#039;entités génère un identifiant d&#039;objet unique pour les nouvelles entités.\nNe prend pas en charge les requêtes devant être effectuées sur le serveur, par exemple les requêtes avec une clause where ou des requêtes spatiales sans extension. \nLa méthode toJson de la couche d&#039;entités renvoie un objet avec les mêmes propriétés que la collection d&#039;objets. L&#039;objet renvoyé inclut toutes les entités présentes dans la couche lorsque la méthode est appelée. Cette méthode peut être utilisée pour accéder à une représentation sérialisable des fonctionnalités pouvant être enregistrées sur le serveur.</p>"},{"id":"text-319","type":"text","heading":"","plain_text":"Paramètres:","html":"<p>Paramètres:</p>"},{"id":"text-320","type":"text","heading":"","plain_text":"&lt;Objet&gt; featureCollectionObject\nChamps obligatoires\nUn objet de collection d&#39;entités. Voir les tableaux de spécifications d&#39;objets ci-dessous pour plus de détails.","html":"<p>&lt;Objet&gt; featureCollectionObject\nChamps obligatoires\nUn objet de collection d&#039;entités. Voir les tableaux de spécifications d&#039;objets ci-dessous pour plus de détails.</p>"},{"id":"text-321","type":"text","heading":"","plain_text":"&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options.","html":"<p>&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options.</p>"},{"id":"text-322","type":"text","heading":"","plain_text":"Spécifications de l&#39;objet: \n&lt;featureCollectionObject&gt;","html":"<p>Spécifications de l&#039;objet: \n&lt;featureCollectionObject&gt;</p>"},{"id":"text-323","type":"text","heading":"","plain_text":"&lt;Objet&gt; featureSet\nChamps obligatoires\nUne collection de fonctionnalités.","html":"<p>&lt;Objet&gt; featureSet\nChamps obligatoires\nUne collection de fonctionnalités.</p>"},{"id":"text-324","type":"text","heading":"","plain_text":"&lt;Objet&gt; layerDefinition\nChamps obligatoires\nLa structure est identique aux informations renvoyées par REST pour une couche dans un service de carte ou d&#39;entité. La définition de couche minimale requise pour créer un objet de collection d’entités dépend de la fonctionnalité requise, à savoir le temps, le rendu, etc.","html":"<p>&lt;Objet&gt; layerDefinition\nChamps obligatoires\nLa structure est identique aux informations renvoyées par REST pour une couche dans un service de carte ou d&#039;entité. La définition de couche minimale requise pour créer un objet de collection d’entités dépend de la fonctionnalité requise, à savoir le temps, le rendu, etc.</p>"},{"id":"text-325","type":"text","heading":"","plain_text":"Échantillon:","html":"<p>Échantillon:</p>"},{"id":"text-326","type":"text","heading":"","plain_text":"exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var layerDefinition = \n    &quot;geometryType&quot;: &quot;esriGeometryPolygon&quot;,\n    &quot;des champs&quot;: [\n      \"name\": \"BUFF_DIST\",\n      \"type\": \"esriFieldTypeInteger\",\n      \"alias\": \"Buffer Distance\"\n    ]\n  \n  var featureCollection = \n    layerDefinition: layerDefinition,\n    featureSet: null\n  ;\n  var featureLayer = new FeatureLayer (featureCollection, \n    showLabels: true\n  );\n  ...\n);","html":"<p>exiger([\n  &quot;esri/layers/FeatureLayer&quot;, ... \n], function (FeatureLayer, ...) \n  var layerDefinition = \n    &quot;geometryType&quot;: &quot;esriGeometryPolygon&quot;,\n    &quot;des champs&quot;: [\n      &quot;name&quot;: &quot;BUFF_DIST&quot;,\n      &quot;type&quot;: &quot;esriFieldTypeInteger&quot;,\n      &quot;alias&quot;: &quot;Buffer Distance&quot;\n    ]\n  \n  var featureCollection = \n    layerDefinition: layerDefinition,\n    featureSet: null\n  ;\n  var featureLayer = new FeatureLayer (featureCollection, \n    showLabels: true\n  );\n  ...\n);</p>"},{"id":"text-327","type":"text","heading":"","plain_text":"Détails de la propriété","html":"<p>Détails de la propriété</p>"},{"id":"text-328","type":"text","heading":"","plain_text":"Un objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue. Cet objet contient les propriétés existantes supports statistiques et prend en chargeQueries avancées qui est retourné dans le nouveau soutientOrderBy propriété. Pour la compatibilité ascendante supports statistiques et prend en chargeQueries avancées restera les propriétés de FeatureLayer.","html":"<p>Un objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue. Cet objet contient les propriétés existantes supports statistiques et prend en chargeQueries avancées qui est retourné dans le nouveau soutientOrderBy propriété. Pour la compatibilité ascendante supports statistiques et prend en chargeQueries avancées restera les propriétés de FeatureLayer.</p>"},{"id":"text-329","type":"text","heading":"","plain_text":"&quot;advancedQueryCapabilities&quot;: \n  &quot;supportsPagination&quot;: vrai,\n  &quot;supportsQueryWithDistance&quot;: true,\n  &quot;supportsReturningQueryExtent&quot;: true,\n  &quot;supportsStatistics&quot;: true,\n  &quot;supportsOrderBy&quot;: true,\n  &quot;supportsDistinct&quot;: vrai","html":"<p>&quot;advancedQueryCapabilities&quot;: \n  &quot;supportsPagination&quot;: vrai,\n  &quot;supportsQueryWithDistance&quot;: true,\n  &quot;supportsReturningQueryExtent&quot;: true,\n  &quot;supportsStatistics&quot;: true,\n  &quot;supportsOrderBy&quot;: true,\n  &quot;supportsDistinct&quot;: vrai</p>"},{"id":"text-330","type":"text","heading":"","plain_text":"(Ajouté à la v3.12)\nÉchantillon:","html":"<p>(Ajouté à la v3.12)\nÉchantillon:</p>"},{"id":"text-331","type":"text","heading":"","plain_text":"var wildfireResponsePointsFeatureLayer = new FeatureLayer(url, featureLayerOptions);\nmap.addLayer(wildfireResponsePointsFeatureLayer);","html":"<p>var wildfireResponsePointsFeatureLayer = new FeatureLayer(url, featureLayerOptions);\nmap.addLayer(wildfireResponsePointsFeatureLayer);</p>"},{"id":"text-332","type":"text","heading":"","plain_text":"wildfireResponsePointsFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\n  console.log(&quot;advancedQueryCapabilities&quot;),   wildfireResponsePointsFeatureLayer.advancedQueryCapabilities);\n  /* Object supportsStatistics: true, supportsOrderBy: true, supportsDistinct: true */\n);","html":"<p>wildfireResponsePointsFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\n  console.log(&quot;advancedQueryCapabilities&quot;),   wildfireResponsePointsFeatureLayer.advancedQueryCapabilities);\n  /* Object supportsStatistics: true, supportsOrderBy: true, supportsDistinct: true */\n);</p>"},{"id":"text-333","type":"text","heading":"","plain_text":"Returns true if the geometry of the features in the layer can be edited, false otherwise. In ArcGIS Server version 10.1, this option can be configured when publishing the service. For earlier versions, this is always true. (Added at v2.8)\nKnown values: true | faux","html":"<p>Returns true if the geometry of the features in the layer can be edited, false otherwise. In ArcGIS Server version 10.1, this option can be configured when publishing the service. For earlier versions, this is always true. (Added at v2.8)\nKnown values: true | faux</p>"},{"id":"text-334","type":"text","heading":"","plain_text":"Indicates whether attribute features containing m-values can be edited. (Added at v3.21)\nValeur par défaut: faux","html":"<p>Indicates whether attribute features containing m-values can be edited. (Added at v3.21)\nValeur par défaut: faux</p>"},{"id":"text-335","type":"text","heading":"","plain_text":"The URL, when available, where the layer&#39;s attribution data is stored. (Added at v3.1)","html":"<p>The URL, when available, where the layer&#039;s attribution data is stored. (Added at v3.1)</p>"},{"id":"text-336","type":"text","heading":"","plain_text":"Information about the capabilities enabled for this layer.","html":"<p>Information about the capabilities enabled for this layer.</p>"},{"id":"text-337","type":"text","heading":"","plain_text":"class attribute of the layer&#39;s node. (Added at v3.7)","html":"<p>class attribute of the layer&#039;s node. (Added at v3.7)</p>"},{"id":"text-338","type":"text","heading":"","plain_text":"Copyright information for the layer.","html":"<p>Copyright information for the layer.</p>"},{"id":"text-339","type":"text","heading":"","plain_text":"Provides credential information for the layer such as userid and token if the layer represents a resource that is secured with token-based authentication. This value is available after the layer has been loaded i.e. layer.loaded est vrai. (Added at v2.5)","html":"<p>Provides credential information for the layer such as userid and token if the layer represents a resource that is secured with token-based authentication. This value is available after the layer has been loaded i.e. layer.loaded est vrai. (Added at v2.5)</p>"},{"id":"text-340","type":"text","heading":"","plain_text":"List of attribute fields added as custom data attributes to graphics node. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)","html":"<p>List of attribute fields added as custom data attributes to graphics node. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)</p>"},{"id":"text-341","type":"text","heading":"","plain_text":"Metadata describing the default definition expression for the layer as defined by the service. The default definition expression limits the features available for display and query. You cannot override this value but you define additional filters on the default expression using the setDefinitionExpression method. For example, if the default definition expression is set to display data where &quot;STATE_NAME = &#39;California&#39;&quot; you could use setDefinitionExpression to only display a subset of the features in California, for example using &quot;COUNTY=&#39;San Diego&#39;&quot;.","html":"<p>Metadata describing the default definition expression for the layer as defined by the service. The default definition expression limits the features available for display and query. You cannot override this value but you define additional filters on the default expression using the setDefinitionExpression method. For example, if the default definition expression is set to display data where &quot;STATE_NAME = &#039;California&#039;&quot; you could use setDefinitionExpression to only display a subset of the features in California, for example using &quot;COUNTY=&#039;San Diego&#039;&quot;.</p>"},{"id":"text-342","type":"text","heading":"","plain_text":"Indicates the default visibility for the layer. (Added at v3.0)\nKnown values: true | faux\nSample:","html":"<p>Indicates the default visibility for the layer. (Added at v3.0)\nKnown values: true | faux\nSample:</p>"},{"id":"text-343","type":"text","heading":"","plain_text":"var isVisible = layer.defaultVisibility;","html":"<p>var isVisible = layer.defaultVisibility;</p>"},{"id":"text-344","type":"text","heading":"","plain_text":"The description of the layer as defined in the map service.","html":"<p>The description of the layer as defined in the map service.</p>"},{"id":"text-345","type":"text","heading":"","plain_text":"The name of the layer&#39;s primary display field. The value of this property matches the name of one of the fields of the layer.","html":"<p>The name of the layer&#039;s primary display field. The value of this property matches the name of one of the fields of the layer.</p>"},{"id":"text-346","type":"text","heading":"","plain_text":"Indicates the field names for the editor fields. If ownership based access control is not enabled for the feature service the value will be null. The object has the following properties:\n  \n     creatorField,\n     creationDateField,\n     editorField,\n     editDateField\n  ","html":"<p>Indicates the field names for the editor fields. If ownership based access control is not enabled for the feature service the value will be null. The object has the following properties:\n  \n     creatorField,\n     creationDateField,\n     editorField,\n     editDateField\n  </p>"},{"id":"text-347","type":"text","heading":"","plain_text":"Requires ArcGIS Server feature service version 10.1 or greater. (Added at v2.6)","html":"<p>Requires ArcGIS Server feature service version 10.1 or greater. (Added at v2.6)</p>"},{"id":"text-348","type":"text","heading":"","plain_text":"Applicable to ArcGIS Online hosted feature services. If present, this object specifies information about editing. See the object specifications table below for the structure of the editingInfo object. (Added at v3.28)\nObject Specifications: \n&lt;editingInfo&gt;","html":"<p>Applicable to ArcGIS Online hosted feature services. If present, this object specifies information about editing. See the object specifications table below for the structure of the editingInfo object. (Added at v3.28)\nObject Specifications: \n&lt;editingInfo&gt;</p>"},{"id":"text-349","type":"text","heading":"","plain_text":"&lt;Nombre&gt; lastEditDate\nChamps obligatoires\nA read-only value that indicates the last time a layer was edited. This value gets updated every time the layer data is edited or when any of the layer properties change. The value is depicted as a Unix timestamp, e.g.","html":"<p>&lt;Nombre&gt; lastEditDate\nChamps obligatoires\nA read-only value that indicates the last time a layer was edited. This value gets updated every time the layer data is edited or when any of the layer properties change. The value is depicted as a Unix timestamp, e.g.</p>"},{"id":"text-350","type":"text","heading":"","plain_text":"&quot;editingInfo&quot; : \n  &quot;lastEditDate&quot; : 1536363634886","html":"<p>&quot;editingInfo&quot; : \n  &quot;lastEditDate&quot; : 1536363634886</p>"},{"id":"text-351","type":"text","heading":"","plain_text":"The array of fields in the layer.","html":"<p>The array of fields in the layer.</p>"},{"id":"text-352","type":"text","heading":"","plain_text":"The full extent of the layer.","html":"<p>The full extent of the layer.</p>"},{"id":"text-353","type":"text","heading":"","plain_text":"The geodatabase version. Only applicable if the layer&#39;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)","html":"<p>The geodatabase version. Only applicable if the layer&#039;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)</p>"},{"id":"text-354","type":"text","heading":"","plain_text":"Geometry type of the features in the layer. Can be one of the following: &quot;esriGeometryPoint&quot;, &quot;esriGeometryPolygon&quot; or &quot;esriGeometryPolyline&quot;.","html":"<p>Geometry type of the features in the layer. Can be one of the following: &quot;esriGeometryPoint&quot;, &quot;esriGeometryPolygon&quot; or &quot;esriGeometryPolyline&quot;.</p>"},{"id":"text-355","type":"text","heading":"","plain_text":"The globalIdField for the layer.","html":"<p>The globalIdField for the layer.</p>"},{"id":"text-356","type":"text","heading":"","plain_text":"Array of features in the layer.","html":"<p>Array of features in the layer.</p>"},{"id":"text-357","type":"text","heading":"","plain_text":"Indicates whether the layer displays all features intersecting the current view. Typically, this method should be called after the layer emits the update-end un événement. (Added at v3.28)\nValeur par défaut: vrai","html":"<p>Indicates whether the layer displays all features intersecting the current view. Typically, this method should be called after the layer emits the update-end un événement. (Added at v3.28)\nValeur par défaut: vrai</p>"},{"id":"text-358","type":"text","heading":"","plain_text":"True if attachments are enabled on the feature layer. Use the queryAttachmentInfos method to determine if the feature has attachments. If the layer is editable (isEditable) and supports attachments the following operations can be performed.","html":"<p>True if attachments are enabled on the feature layer. Use the queryAttachmentInfos method to determine if the feature has attachments. If the layer is editable (isEditable) and supports attachments the following operations can be performed.</p>"},{"id":"text-359","type":"text","heading":"","plain_text":"Add attachments to features.\nDelete existing attachments.","html":"<p>Add attachments to features.\nDelete existing attachments.</p>"},{"id":"text-360","type":"text","heading":"","plain_text":"Known values: true | faux","html":"<p>Known values: true | faux</p>"},{"id":"text-361","type":"text","heading":"","plain_text":"When true, the layer has attribution data. The default value is false.  Use the getAttributionData method to retrieve this data as JSON. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: faux","html":"<p>When true, the layer has attribution data. The default value is false.  Use the getAttributionData method to retrieve this data as JSON. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: faux</p>"},{"id":"text-362","type":"text","heading":"","plain_text":"The html popup type defined for the layer. View the constants table for a list of valid values.","html":"<p>The html popup type defined for the layer. View the constants table for a list of valid values.</p>"},{"id":"text-363","type":"text","heading":"","plain_text":"ID assigned to the layer. If not assigned, esri.Map assigns value. By default, the ID of the layer is &quot;layer&quot; followed by a number. The ID can be user defined only in the layer constructor.\nSample:","html":"<p>ID assigned to the layer. If not assigned, esri.Map assigns value. By default, the ID of the layer is &quot;layer&quot; followed by a number. The ID can be user defined only in the layer constructor.\nSample:</p>"},{"id":"text-364","type":"text","heading":"","plain_text":"Setting the layer ID in the layer constructor.","html":"<p>Setting the layer ID in the layer constructor.</p>"},{"id":"text-365","type":"text","heading":"","plain_text":"require([\n  \"esri/layers/ArcGISDynamicMapServiceLayer\", ... \n], function(ArcGISDynamicMapServiceLayer, ... ) \n  var population = new ArcGISDynamicMapServiceLayer(&quot;http://myserver/arcgis/rest/population/MapServer/Layers&quot;, id:&quot;population&quot;);\n  ...\n);","html":"<p>require([\n  &quot;esri/layers/ArcGISDynamicMapServiceLayer&quot;, ... \n], function(ArcGISDynamicMapServiceLayer, ... ) \n  var population = new ArcGISDynamicMapServiceLayer(&quot;http://myserver/arcgis/rest/population/MapServer/Layers&quot;, id:&quot;population&quot;);\n  ...\n);</p>"},{"id":"text-366","type":"text","heading":"","plain_text":"Setting the layer ID after a layer is initialized.","html":"<p>Setting the layer ID after a layer is initialized.</p>"},{"id":"text-367","type":"text","heading":"","plain_text":"population.id = &quot;population&quot;;","html":"<p>population.id = &quot;population&quot;;</p>"},{"id":"text-368","type":"text","heading":"","plain_text":"Retrieving the layer ID.","html":"<p>Retrieving the layer ID.</p>"},{"id":"text-369","type":"text","heading":"","plain_text":"function getMapLayers() \n  for (var j=0, jl=map.layerIds.length; j&lt;jl; j++) \n    var currentLayer = map.getLayer(map.layerIds[j])\n    alert(&quot;id: &quot; + currentLayer.id);\n  ","html":"<p>function getMapLayers() \n  for (var j=0, jl=map.layerIds.length; j&lt;jl; j++) \n    var currentLayer = map.getLayer(map.layerIds[j])\n    alert(&quot;id: &quot; + currentLayer.id);\n  </p>"},{"id":"text-370","type":"text","heading":"","plain_text":"The info template for the layer. (Added at v3.9)","html":"<p>The info template for the layer. (Added at v3.9)</p>"},{"id":"text-371","type":"text","heading":"","plain_text":"Label definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property.  (Added at v3.10)\nSample:","html":"<p>Label definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property.  (Added at v3.10)\nSample:</p>"},{"id":"text-372","type":"text","heading":"","plain_text":"labelingInfo:[{\n  &quot;labelExpression&quot;: &quot;&quot;, //deprecated, labelExpressionInfo property should be used in its place\n  &quot;labelExpressionInfo&quot;: \n   &quot;value&quot;: &quot;City Of CITY_NAME has population POPULATION&quot;\n  ,\n  &quot;useCodedValues&quot;:  //parameters used when attribute field has domain values,\n  &quot;labelPlacement&quot;: &quot;above-right&quot;,\n  &quot;symbol&quot;: ..., //TextSymbol used for labeling\n  &quot;minScale&quot;: 0, //specified scale range where labels are visible\n  &quot;maxScale&quot;: 5000,\n  //fieldInfos structure describes attribute field formatting\n  &quot;fieldInfos&quot;:[\n     fieldName: &quot;created_date&quot;, format:  dateFormat: &quot;shortDate&quot; , //date/time formatting \n     fieldName: &quot;last_edited_date&quot;, format:  dateFormat: &quot;longDate&quot; ,  //date/time formatting\n     fieldName: &quot;eventtype&quot;, format:  places: 6, digitSeparator: true   //numeric formatting\n  ],\n  &quot;where&quot;: &quot;POP_RANK &gt; 2 AND POP_RANK","html":"<p>labelingInfo:[{\n  &quot;labelExpression&quot;: &quot;&quot;, //deprecated, labelExpressionInfo property should be used in its place\n  &quot;labelExpressionInfo&quot;: \n   &quot;value&quot;: &quot;City Of CITY_NAME has population POPULATION&quot;\n  ,\n  &quot;useCodedValues&quot;:  //parameters used when attribute field has domain values,\n  &quot;labelPlacement&quot;: &quot;above-right&quot;,\n  &quot;symbol&quot;: ..., //TextSymbol used for labeling\n  &quot;minScale&quot;: 0, //specified scale range where labels are visible\n  &quot;maxScale&quot;: 5000,\n  //fieldInfos structure describes attribute field formatting\n  &quot;fieldInfos&quot;:[\n     fieldName: &quot;created_date&quot;, format:  dateFormat: &quot;shortDate&quot; , //date/time formatting \n     fieldName: &quot;last_edited_date&quot;, format:  dateFormat: &quot;longDate&quot; ,  //date/time formatting\n     fieldName: &quot;eventtype&quot;, format:  places: 6, digitSeparator: true   //numeric formatting\n  ],\n  &quot;where&quot;: &quot;POP_RANK &gt; 2 AND POP_RANK</p>"},{"id":"text-373","type":"text","heading":"","plain_text":"Unique ID of the layer that the FeatureLayer was constructed against.","html":"<p>Unique ID of the layer that the FeatureLayer was constructed against.</p>"},{"id":"text-374","type":"text","heading":"","plain_text":"Set if the layer failed to load. (Added at v3.9)","html":"<p>Set if the layer failed to load. (Added at v3.9)</p>"},{"id":"text-375","type":"text","heading":"","plain_text":"When the layer is loaded, the value becomes &quot;true&quot;, and layer properties can be accessed.  The onLoad event is also fired.\nKnown values: true | faux","html":"<p>When the layer is loaded, the value becomes &quot;true&quot;, and layer properties can be accessed.  The onLoad event is also fired.\nKnown values: true | faux</p>"},{"id":"text-376","type":"text","heading":"","plain_text":"The maximum allowable offset, only applicable for layers that are not editable. (Added at v2.7)","html":"<p>The maximum allowable offset, only applicable for layers that are not editable. (Added at v2.7)</p>"},{"id":"text-377","type":"text","heading":"","plain_text":"The maximum number of results that will be returned from a query. Requires ArcGIS Server version 10.1 or greater. (Added at v2.6)","html":"<p>The maximum number of results that will be returned from a query. Requires ArcGIS Server version 10.1 or greater. (Added at v2.6)</p>"},{"id":"text-378","type":"text","heading":"","plain_text":"Maximum visible scale for the layer. If the map is zoomed in beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a maximum scale. (Added at v3.1)\nValeur par défaut: 0","html":"<p>Maximum visible scale for the layer. If the map is zoomed in beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a maximum scale. (Added at v3.1)\nValeur par défaut: 0</p>"},{"id":"text-379","type":"text","heading":"","plain_text":"Minimum visible scale for the layer. If the map is zoomed out beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a visible scale. (Added at v3.1)\nValeur par défaut: 0","html":"<p>Minimum visible scale for the layer. If the map is zoomed out beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a visible scale. (Added at v3.1)\nValeur par défaut: 0</p>"},{"id":"text-380","type":"text","heading":"","plain_text":"Supports feature services whose data source is a multipatch featureclass.","html":"<p>Supports feature services whose data source is a multipatch featureclass.</p>"},{"id":"text-381","type":"text","heading":"","plain_text":"Default is xyFootprint if geometryType is esriGeometryMultiPatch. Otherwise, undefined.\nUser can override this property with a different choice in the future when FS supports it.\nQueries made through the FeatureLayer will include multipatchOption parameter if returnGeometry est vrai.\nApplies to snapshot, ondemand, selectFeatures, and queryFeatures","html":"<p>Default is xyFootprint if geometryType is esriGeometryMultiPatch. Otherwise, undefined.\nUser can override this property with a different choice in the future when FS supports it.\nQueries made through the FeatureLayer will include multipatchOption parameter if returnGeometry est vrai.\nApplies to snapshot, ondemand, selectFeatures, and queryFeatures</p>"},{"id":"text-382","type":"text","heading":"","plain_text":"Remarque: Requires ArcGIS 10.3 and above. (Added at v3.12)\nValeur par défaut: xyFootprint\nSample:","html":"<p>Remarque: Requires ArcGIS 10.3 and above. (Added at v3.12)\nValeur par défaut: xyFootprint\nSample:</p>"},{"id":"text-383","type":"text","heading":"","plain_text":"var infoTemplate = new InfoTemplate(&quot;Attributes&quot;, &quot;$*&quot;);","html":"<p>var infoTemplate = new InfoTemplate(&quot;Attributes&quot;, &quot;$*&quot;);</p>"},{"id":"text-384","type":"text","heading":"","plain_text":"var url = &quot;http://servername.fqdn.suffix/arcgis/rest/services/Hosted/pasadena/FeatureServer/0&quot;;\nvar featureLayerOptions = \n  id: &quot;cities&quot;,\n  mode: FeatureLayer.MODE_AUTO,\n  outFields: [\"*\"],\n  infoTemplate: infoTemplate\n;\nvar citiesFeatureLayer = new FeatureLayer(url, featureLayerOptions);","html":"<p>var url = &quot;http://servername.fqdn.suffix/arcgis/rest/services/Hosted/pasadena/FeatureServer/0&quot;;\nvar featureLayerOptions = \n  id: &quot;cities&quot;,\n  mode: FeatureLayer.MODE_AUTO,\n  outFields: [&quot;*&quot;],\n  infoTemplate: infoTemplate\n;\nvar citiesFeatureLayer = new FeatureLayer(url, featureLayerOptions);</p>"},{"id":"text-385","type":"text","heading":"","plain_text":"map.addLayer(citiesFeatureLayer);","html":"<p>map.addLayer(citiesFeatureLayer);</p>"},{"id":"text-386","type":"text","heading":"","plain_text":"The name of the layer as defined in the map service.","html":"<p>The name of the layer as defined in the map service.</p>"},{"id":"text-387","type":"text","heading":"","plain_text":"The name of the field that contains the Object ID field for the layer.","html":"<p>The name of the field that contains the Object ID field for the layer.</p>"},{"id":"text-388","type":"text","heading":"","plain_text":"Opacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.\nKnown values: 0.0 - 1.0\nValeur par défaut: 1,0","html":"<p>Opacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.\nKnown values: 0.0 - 1.0\nValeur par défaut: 1,0</p>"},{"id":"text-389","type":"text","heading":"","plain_text":"Indicates the ownership access control configuration. If ownership based access control is not enabled for the feature service the value will be null. If ownership based access control is not enabled for the feature service the value will be null. This object has two properties allowDeleteToOthers et allowUpdateToOthers. When true features can be deleted or updated by users other than the creator.","html":"<p>Indicates the ownership access control configuration. If ownership based access control is not enabled for the feature service the value will be null. If ownership based access control is not enabled for the feature service the value will be null. This object has two properties allowDeleteToOthers et allowUpdateToOthers. When true features can be deleted or updated by users other than the creator.</p>"},{"id":"text-390","type":"text","heading":"","plain_text":"allowUpdateToOthers,\n   allowDeleteToOthers","html":"<p>allowUpdateToOthers,\n   allowDeleteToOthers</p>"},{"id":"text-391","type":"text","heading":"","plain_text":"(Added at v2.6)","html":"<p>(Added at v2.6)</p>"},{"id":"text-392","type":"text","heading":"","plain_text":"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. (Added at v3.7)","html":"<p>Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. (Added at v3.7)</p>"},{"id":"text-393","type":"text","heading":"","plain_text":"Each element in the array is an object that describes the layer&#39;s relationship with another layer or table. Use the queryRelatedFeatures method to retrieve features or records related to a feature in this layer. The object has the following properties:","html":"<p>Each element in the array is an object that describes the layer&#039;s relationship with another layer or table. Use the queryRelatedFeatures method to retrieve features or records related to a feature in this layer. The object has the following properties:</p>"},{"id":"text-394","type":"text","heading":"","plain_text":"identifiant","html":"<p>identifiant</p>"},{"id":"text-395","type":"text","heading":"","plain_text":"Unique ID for the relationship","html":"<p>Unique ID for the relationship</p>"},{"id":"text-396","type":"text","heading":"","plain_text":"prénom","html":"<p>prénom</p>"},{"id":"text-397","type":"text","heading":"","plain_text":"Name of the relationship.","html":"<p>Name of the relationship.</p>"},{"id":"text-398","type":"text","heading":"","plain_text":"relatedTableId","html":"<p>relatedTableId</p>"},{"id":"text-399","type":"text","heading":"","plain_text":"Unique ID of the related table or layer","html":"<p>Unique ID of the related table or layer</p>"},{"id":"text-400","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-401","type":"text","heading":"","plain_text":"var relationships = wellFeatureLayer.relationships;\ndojo.forEach(relationships,function(relationship)\n  console.log(&quot;name: &quot; + relationship.name);\n  console.log(&quot;id: &quot; + relationship.id);\n  console.log(&quot;relationship id: &quot;   + relationship.relatedTableId);\n);","html":"<p>var relationships = wellFeatureLayer.relationships;\ndojo.forEach(relationships,function(relationship)\n  console.log(&quot;name: &quot; + relationship.name);\n  console.log(&quot;id: &quot; + relationship.id);\n  console.log(&quot;relationship id: &quot;   + relationship.relatedTableId);\n);</p>"},{"id":"text-402","type":"text","heading":"","plain_text":"The renderer for the layer.","html":"<p>The renderer for the layer.</p>"},{"id":"text-403","type":"text","heading":"","plain_text":"When true, the layer&#39;s attribution is displayed on the map. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: vrai","html":"<p>When true, the layer&#039;s attribution is displayed on the map. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: vrai</p>"},{"id":"text-404","type":"text","heading":"","plain_text":"Determines if labels are displayed. When false, labels for the layer are not displayed. \nIf the FeatureLayer has labeling defined on it, labels will automatically display if the Map&#39;s showLabels est vrai. \nIf you do not wish to have your feature layer label, you can override this behavior by setting its showLabels property to false.\nNOTE: In order for the labels to display, all fields used by the labelingInfo should be set in outFields. In addition, only simple labeling is supported, for example CITY_NAME. For example, SQL keywords such as &quot;CONCAT&quot; are not supported. Consider using the LabelLayer class where you can specify the  textExpression if needing more functionality. Added at v3.11\nKnown values: true | faux\nValeur par défaut: vrai","html":"<p>Determines if labels are displayed. When false, labels for the layer are not displayed. \nIf the FeatureLayer has labeling defined on it, labels will automatically display if the Map&#039;s showLabels est vrai. \nIf you do not wish to have your feature layer label, you can override this behavior by setting its showLabels property to false.\nNOTE: In order for the labels to display, all fields used by the labelingInfo should be set in outFields. In addition, only simple labeling is supported, for example CITY_NAME. For example, SQL keywords such as &quot;CONCAT&quot; are not supported. Consider using the LabelLayer class where you can specify the  textExpression if needing more functionality. Added at v3.11\nKnown values: true | faux\nValeur par défaut: vrai</p>"},{"id":"text-405","type":"text","heading":"","plain_text":"The dynamic layer or table source. (Added at v2.7)","html":"<p>The dynamic layer or table source. (Added at v2.7)</p>"},{"id":"text-406","type":"text","heading":"","plain_text":"Indicates whether the layer is responsible for styling graphics. Quand vrai, styling is based on graphics symbol or the layer&#39;s renderer. Quand faux, graphics styling is disabled. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)\nKnown values: true | faux","html":"<p>Indicates whether the layer is responsible for styling graphics. Quand vrai, styling is based on graphics symbol or the layer&#039;s renderer. Quand faux, graphics styling is disabled. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)\nKnown values: true | faux</p>"},{"id":"text-407","type":"text","heading":"","plain_text":"When true, the layer supports orderByFields in a query operation. Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux","html":"<p>When true, the layer supports orderByFields in a query operation. Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux</p>"},{"id":"text-408","type":"text","heading":"","plain_text":"When true, the layer supports uploading attachments with Uploads REST operation, which then can be used in the Add Attachment or Update Attachment REST operations. Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux","html":"<p>When true, the layer supports uploading attachments with Uploads REST operation, which then can be used in the Add Attachment or Update Attachment REST operations. Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux</p>"},{"id":"text-409","type":"text","heading":"","plain_text":"When true, the layer supports the Calculer REST operation when updating features.  Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux","html":"<p>When true, the layer supports the Calculer REST operation when updating features.  Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux</p>"},{"id":"text-410","type":"text","heading":"","plain_text":"If true, the layer supports a user-defined field description. Please see the ArcGIS Online help topic, Describe attribute fields for additional information. (Added at v3.28)","html":"<p>If true, the layer supports a user-defined field description. Please see the ArcGIS Online help topic, Describe attribute fields for additional information. (Added at v3.28)</p>"},{"id":"text-411","type":"text","heading":"","plain_text":"When true, the layer supports statistical functions in query operations.  Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux","html":"<p>When true, the layer supports statistical functions in query operations.  Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux</p>"},{"id":"text-412","type":"text","heading":"","plain_text":"Type of vector graphics surface used to draw graphics. (Added at v3.7)\nKnown values: &quot;svg&quot; | &quot;canvas-2d&quot; | &quot;vml&quot;\nValeur par défaut: &quot;svg&quot; on all browsers - except IE8 or earlier where &quot;vml&quot; is used to draw graphics.","html":"<p>Type of vector graphics surface used to draw graphics. (Added at v3.7)\nKnown values: &quot;svg&quot; | &quot;canvas-2d&quot; | &quot;vml&quot;\nValeur par défaut: &quot;svg&quot; on all browsers - except IE8 or earlier where &quot;vml&quot; is used to draw graphics.</p>"},{"id":"text-413","type":"text","heading":"","plain_text":"When true, the layer is suspended. A layer is considered to be suspended when one of the following is true:","html":"<p>When true, the layer is suspended. A layer is considered to be suspended when one of the following is true:</p>"},{"id":"text-414","type":"text","heading":"","plain_text":"The layer is hidden.\nThe layer is not visible at the current map scale.\nThe layer is explicitly suspended by calling the Layer.suspend méthode.","html":"<p>The layer is hidden.\nThe layer is not visible at the current map scale.\nThe layer is explicitly suspended by calling the Layer.suspend méthode.</p>"},{"id":"text-415","type":"text","heading":"","plain_text":"(Added at v3.1)\nKnown values: true | faux","html":"<p>(Added at v3.1)\nKnown values: true | faux</p>"},{"id":"text-416","type":"text","heading":"","plain_text":"An array of feature templates defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers.\nSample:","html":"<p>An array of feature templates defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers.\nSample:</p>"},{"id":"text-417","type":"text","heading":"","plain_text":"require([\n  \"esri/layers/FeatureLayer\", \"dojo/_base/array\", ... \n], function(FeatureLayer, array, ... ) \n  var layer = new FeatureLayer( ... );\n  var templates = layer.templates;\n  array.forEach(templates,function(template)\n    console.log(template.description);\n    console.log(template.name);\n  );\n  ...\n);","html":"<p>require([\n  &quot;esri/layers/FeatureLayer&quot;, &quot;dojo/_base/array&quot;, ... \n], function(FeatureLayer, array, ... ) \n  var layer = new FeatureLayer( ... );\n  var templates = layer.templates;\n  array.forEach(templates,function(template)\n    console.log(template.description);\n    console.log(template.name);\n  );\n  ...\n);</p>"},{"id":"text-418","type":"text","heading":"","plain_text":"Time information for the layer, such as start time field, end time field, track id field, layers time extent and the draw time interval.  Only applicable if the layer is time aware.","html":"<p>Time information for the layer, such as start time field, end time field, track id field, layers time extent and the draw time interval.  Only applicable if the layer is time aware.</p>"},{"id":"text-419","type":"text","heading":"","plain_text":"Specifies the type of layer.  Can be &quot;Feature Layer&quot; or &quot;Table&quot;.","html":"<p>Specifies the type of layer.  Can be &quot;Feature Layer&quot; or &quot;Table&quot;.</p>"},{"id":"text-420","type":"text","heading":"","plain_text":"The field that represents the Type ID field. Only applicable for ArcGIS Server Feature Service layers.","html":"<p>The field that represents the Type ID field. Only applicable for ArcGIS Server Feature Service layers.</p>"},{"id":"text-421","type":"text","heading":"","plain_text":"An array of sub types defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers.","html":"<p>An array of sub types defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers.</p>"},{"id":"text-422","type":"text","heading":"","plain_text":"The version of ArcGIS Server where the layer is published. Examples are 9.3, 9.31, 10. (Added at v2.1)","html":"<p>The version of ArcGIS Server where the layer is published. Examples are 9.3, 9.31, 10. (Added at v2.1)</p>"},{"id":"text-423","type":"text","heading":"","plain_text":"Visibility of the layer.\nKnown values: true | faux\nValeur par défaut: vrai","html":"<p>Visibility of the layer.\nKnown values: true | faux\nValeur par défaut: vrai</p>"},{"id":"text-424","type":"text","heading":"","plain_text":"When true, the layer is visible at the current map scale. (Added at v3.1)\nKnown values: true | faux","html":"<p>When true, the layer is visible at the current map scale. (Added at v3.1)\nKnown values: true | faux</p>"},{"id":"text-425","type":"text","heading":"","plain_text":"Indicates if WebGL is enabled on the layer. Note that this doesn&#39;t indicate that WebGL is actually being used in the rendering. Use hasWebGLSurface() to check if the layer is drawn with WebGL. (Added at v3.24)\nValeur par défaut: vrai","html":"<p>Indicates if WebGL is enabled on the layer. Note that this doesn&#039;t indicate that WebGL is actually being used in the rendering. Use hasWebGLSurface() to check if the layer is drawn with WebGL. (Added at v3.24)\nValeur par défaut: vrai</p>"},{"id":"text-426","type":"text","heading":"","plain_text":"Method Details","html":"<p>Method Details</p>"},{"id":"text-427","type":"text","heading":"","plain_text":"Parameters:","html":"<p>Parameters:</p>"},{"id":"text-428","type":"text","heading":"","plain_text":"&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature to which the attachment is added.","html":"<p>&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature to which the attachment is added.</p>"},{"id":"text-429","type":"text","heading":"","plain_text":"&lt;HTMLFormElement&gt; formNode\nChamps obligatoires\nHTML form that contains a file upload field pointing to the file to be added as an attachment. If you are using HTML then your form should follow this basic pattern:","html":"<p>&lt;HTMLFormElement&gt; formNode\nChamps obligatoires\nHTML form that contains a file upload field pointing to the file to be added as an attachment. If you are using HTML then your form should follow this basic pattern:</p>"},{"id":"text-430","type":"text","heading":"","plain_text":"If you wish to create the form data in JavaScript, then you can create a form using the following pattern:","html":"<p>If you wish to create the form data in JavaScript, then you can create a form using the following pattern:</p>"},{"id":"text-431","type":"text","heading":"","plain_text":"var formData = new FormData();\nformData.append(&quot;attachment&quot;, file);","html":"<p>var formData = new FormData();\nformData.append(&quot;attachment&quot;, file);</p>"},{"id":"text-432","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the addAttachmentComplete event.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the addAttachmentComplete event.</p>"},{"id":"text-433","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs during task execution.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs during task execution.</p>"},{"id":"text-434","type":"text","heading":"","plain_text":"Apply edits to the feature layer. Only applicable for layers in a feature service. \nREMARQUE: Date field values are always represented as numérique valeurs. This means that when updating existing features, date fields must have numeric values and not date objects.","html":"<p>Apply edits to the feature layer. Only applicable for layers in a feature service. \nREMARQUE: Date field values are always represented as numérique valeurs. This means that when updating existing features, date fields must have numeric values and not date objects.</p>"},{"id":"text-435","type":"text","heading":"","plain_text":"Parameters:","html":"<p>Parameters:</p>"},{"id":"text-436","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; adds\nOptionnel\nArray of features to add to the layer in the feature service. New features are typically created using the Draw toolbar.","html":"<p>&lt;Graphic[]&gt; adds\nOptionnel\nArray of features to add to the layer in the feature service. New features are typically created using the Draw toolbar.</p>"},{"id":"text-437","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; updates\nOptionnel","html":"<p>&lt;Graphic[]&gt; updates\nOptionnel</p>"},{"id":"text-438","type":"text","heading":"","plain_text":"Array of features whose geometry and/or attributes have changed. Features must have a valid OBJECTID. The geometry of features is typically modified using the Edit toolbar. Attributes are modified using the Attribute Inspector.","html":"<p>Array of features whose geometry and/or attributes have changed. Features must have a valid OBJECTID. The geometry of features is typically modified using the Edit toolbar. Attributes are modified using the Attribute Inspector.</p>"},{"id":"text-439","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; deletes\nOptionnel\nArray of features to delete. Must have valid ObjectId","html":"<p>&lt;Graphic[]&gt; deletes\nOptionnel\nArray of features to delete. Must have valid ObjectId</p>"},{"id":"text-440","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThis function will be called when the operation is complete. The arguments passed to this function are the same as the onEditsComplete event.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThis function will be called when the operation is complete. The arguments passed to this function are the same as the onEditsComplete event.</p>"},{"id":"text-441","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.</p>"},{"id":"text-442","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-443","type":"text","heading":"","plain_text":"require([\n  \"esri/layers/FeatureLayer\", ... \n], function(FeatureLayer, ... ) \n  var firePerimeterFL = new FeatureLayer( ... );\n  var targetGraphic = firePerimeterFL.getSelectedFeatures()[0].setGeometry(reshapedGeometry);\n  firePerimeterFL.applyEdits(null, [targetGraphic], null);\n  ...\n);","html":"<p>require([\n  &quot;esri/layers/FeatureLayer&quot;, ... \n], function(FeatureLayer, ... ) \n  var firePerimeterFL = new FeatureLayer( ... );\n  var targetGraphic = firePerimeterFL.getSelectedFeatures()[0].setGeometry(reshapedGeometry);\n  firePerimeterFL.applyEdits(null, [targetGraphic], null);\n  ...\n);</p>"},{"id":"text-444","type":"text","heading":"","plain_text":"Adds a new attribute or changes the value of an existing attribute on the layer&#39;s node. Removes the attribute if the value is nul ou indéfini. (Added at v3.7)\nParameters:","html":"<p>Adds a new attribute or changes the value of an existing attribute on the layer&#039;s node. Removes the attribute if the value is nul ou indéfini. (Added at v3.7)\nParameters:</p>"},{"id":"text-445","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; name\nChamps obligatoires\nThe name of the attribute.","html":"<p>&lt;Chaîne&gt; name\nChamps obligatoires\nThe name of the attribute.</p>"},{"id":"text-446","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; value\nChamps obligatoires\nThe value of the attribute. Set this value as nul to remove the attribute.","html":"<p>&lt;Chaîne&gt; value\nChamps obligatoires\nThe value of the attribute. Set this value as nul to remove the attribute.</p>"},{"id":"text-447","type":"text","heading":"","plain_text":"Clears all graphics.\nSample:","html":"<p>Clears all graphics.\nSample:</p>"},{"id":"text-448","type":"text","heading":"","plain_text":"graphicsLayer.clear();","html":"<p>graphicsLayer.clear();</p>"},{"id":"text-449","type":"text","heading":"","plain_text":"Clears the current selection.","html":"<p>Clears the current selection.</p>"},{"id":"text-450","type":"text","heading":"","plain_text":"Delete one or more attachments for the feature specified by the input ObjectId. Only applicable if isEditable and hasAttachments are true.\nParameters:","html":"<p>Delete one or more attachments for the feature specified by the input ObjectId. Only applicable if isEditable and hasAttachments are true.\nParameters:</p>"},{"id":"text-451","type":"text","heading":"","plain_text":"&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature from which the attachment is removed.","html":"<p>&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature from which the attachment is removed.</p>"},{"id":"text-452","type":"text","heading":"","plain_text":"&lt;Nombre[]&gt; attachmentIds\nChamps obligatoires\nThe array of attachment ids to delete.","html":"<p>&lt;Nombre[]&gt; attachmentIds\nChamps obligatoires\nThe array of attachment ids to delete.</p>"},{"id":"text-453","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.</p>"},{"id":"text-454","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.</p>"},{"id":"text-455","type":"text","heading":"","plain_text":"Disables feature reduction (for example clustering) on the layer. This is useful for certain workflows, such as editing, where feature reduction can hinder the desired user experience. Only applicable to point layers. (Added at v3.22)\nSample:","html":"<p>Disables feature reduction (for example clustering) on the layer. This is useful for certain workflows, such as editing, where feature reduction can hinder the desired user experience. Only applicable to point layers. (Added at v3.22)\nSample:</p>"},{"id":"text-456","type":"text","heading":"","plain_text":"featureLayer.disableFeatureReduction();","html":"<p>featureLayer.disableFeatureReduction();</p>"},{"id":"text-457","type":"text","heading":"","plain_text":"Disables all mouse events on the graphics layer.","html":"<p>Disables all mouse events on the graphics layer.</p>"},{"id":"text-458","type":"text","heading":"","plain_text":"Enables feature reduction (for example clustering) on the layer using the options set in setFeatureReduction(). Only applicable to point layers. (Added at v3.22)\nSample:","html":"<p>Enables feature reduction (for example clustering) on the layer using the options set in setFeatureReduction(). Only applicable to point layers. (Added at v3.22)\nSample:</p>"},{"id":"text-459","type":"text","heading":"","plain_text":"featureLayer.enableFeatureReduction();","html":"<p>featureLayer.enableFeatureReduction();</p>"},{"id":"text-460","type":"text","heading":"","plain_text":"Enables all mouse events on the graphics layer.","html":"<p>Enables all mouse events on the graphics layer.</p>"},{"id":"text-461","type":"text","heading":"","plain_text":"Returns graphics representing the aggregation of several point features clustered together. Only applicable when feature reduction is enabled. (Added at v3.22)\nSample:","html":"<p>Returns graphics representing the aggregation of several point features clustered together. Only applicable when feature reduction is enabled. (Added at v3.22)\nSample:</p>"},{"id":"text-462","type":"text","heading":"","plain_text":"var aggregateGraphics = featureLayer.getAggregateGraphics();","html":"<p>var aggregateGraphics = featureLayer.getAggregateGraphics();</p>"},{"id":"text-463","type":"text","heading":"","plain_text":"Asynchrously returns custom data for the layer when available. (Added at v3.1)","html":"<p>Asynchrously returns custom data for the layer when available. (Added at v3.1)</p>"},{"id":"text-464","type":"text","heading":"","plain_text":"Returns the current definition expression.","html":"<p>Returns the current definition expression.</p>"},{"id":"text-465","type":"text","heading":"","plain_text":"Parameters:","html":"<p>Parameters:</p>"},{"id":"text-466","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field.","html":"<p>&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field.</p>"},{"id":"text-467","type":"text","heading":"","plain_text":"&lt;Objet&gt; options\nOptionnel\nPlease see the options object specification table below.","html":"<p>&lt;Objet&gt; options\nOptionnel\nPlease see the options object specification table below.</p>"},{"id":"text-468","type":"text","heading":"","plain_text":"Object Specifications: \n&lt;options&gt;","html":"<p>Object Specifications: \n&lt;options&gt;</p>"},{"id":"text-469","type":"text","heading":"","plain_text":"&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature in which the Domain is retrieved.NOTE: If the layer has sub-types, the domain will be calculated based on the feature type and domain defined for that type.","html":"<p>&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature in which the Domain is retrieved.NOTE: If the layer has sub-types, the domain will be calculated based on the feature type and domain defined for that type.</p>"},{"id":"text-470","type":"text","heading":"","plain_text":"Returns an object that describes the edit capabilities of the layer. The returned object has the following properties:","html":"<p>Returns an object that describes the edit capabilities of the layer. The returned object has the following properties:</p>"},{"id":"text-471","type":"text","heading":"","plain_text":"canCreate\nWhen true, new features can be created.","html":"<p>canCreate\nWhen true, new features can be created.</p>"},{"id":"text-472","type":"text","heading":"","plain_text":"canUpdate\nWhen true, existing features can be updated.","html":"<p>canUpdate\nWhen true, existing features can be updated.</p>"},{"id":"text-473","type":"text","heading":"","plain_text":"canDelete\nWhen true, features can be deleted.","html":"<p>canDelete\nWhen true, features can be deleted.</p>"},{"id":"text-474","type":"text","heading":"","plain_text":"(Added at v2.6)\nParameters:","html":"<p>(Added at v2.6)\nParameters:</p>"},{"id":"text-475","type":"text","heading":"","plain_text":"&lt;Objet&gt; options\nOptionnel\nIf the layer supports ownership based access control, use the options to determine if the specified user can edit features. Ownership based access control requires ArcGIS Server services version 10.1 or greater. See the object specifications table below for the structure of the  options  objet.","html":"<p>&lt;Objet&gt; options\nOptionnel\nIf the layer supports ownership based access control, use the options to determine if the specified user can edit features. Ownership based access control requires ArcGIS Server services version 10.1 or greater. See the object specifications table below for the structure of the  options  objet.</p>"},{"id":"text-476","type":"text","heading":"","plain_text":"Object Specifications: \n&lt;options&gt;","html":"<p>Object Specifications: \n&lt;options&gt;</p>"},{"id":"text-477","type":"text","heading":"","plain_text":"&lt;Graphic&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user.","html":"<p>&lt;Graphic&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user.</p>"},{"id":"text-478","type":"text","heading":"","plain_text":"&lt;graphique&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user.","html":"<p>&lt;graphique&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user.</p>"},{"id":"text-479","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; userId\nChamps obligatoires\nThe name of the currently logged in user. If the application uses the IdentityManager the IdentityManager supplies the layer with the userId so this parameter is not required.","html":"<p>&lt;Chaîne&gt; userId\nChamps obligatoires\nThe name of the currently logged in user. If the application uses the IdentityManager the IdentityManager supplies the layer with the userId so this parameter is not required.</p>"},{"id":"text-480","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-481","type":"text","heading":"","plain_text":"var capabilities = featureLayer.getEditCapabilities();","html":"<p>var capabilities = featureLayer.getEditCapabilities();</p>"},{"id":"text-482","type":"text","heading":"","plain_text":"if(capabilities.canUpdate)","html":"<p>if(capabilities.canUpdate)</p>"},{"id":"text-483","type":"text","heading":"","plain_text":"  console.log(&quot;This layer can be updated&quot;);","html":"<p>  console.log(&quot;This layer can be updated&quot;);</p>"},{"id":"text-484","type":"text","heading":"","plain_text":"Returns an object describing the most recent edit operation performed on the given feature, if available. (Added at v2.8)\nParameters:","html":"<p>Returns an object describing the most recent edit operation performed on the given feature, if available. (Added at v2.8)\nParameters:</p>"},{"id":"text-485","type":"text","heading":"","plain_text":"&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit info for.","html":"<p>&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit info for.</p>"},{"id":"text-486","type":"text","heading":"","plain_text":"&lt;Objet&gt; options\nOptionnel\n    See the object specifications table below for the structure of the  options  objet.","html":"<p>&lt;Objet&gt; options\nOptionnel\n    See the object specifications table below for the structure of the  options  objet.</p>"},{"id":"text-487","type":"text","heading":"","plain_text":"Object Specifications: \n&lt;options&gt;","html":"<p>Object Specifications: \n&lt;options&gt;</p>"},{"id":"text-488","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior.","html":"<p>&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior.</p>"},{"id":"text-489","type":"text","heading":"","plain_text":"&#39;creation&#39; indicates creation summary is desired.\n&#39;edit&#39; indicates edit summary is desired.","html":"<p>&#039;creation&#039; indicates creation summary is desired.\n&#039;edit&#039; indicates edit summary is desired.</p>"},{"id":"text-490","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-491","type":"text","heading":"","plain_text":"  &quot;action&quot;        : &quot;creation&quot;, // or &quot;edit&quot;\n  &quot;userId&quot;        : &quot;Mike&quot;,\n  &quot;minutes&quot;       :  15,\n  &quot;hours&quot;         :  5,\n  &quot;weekDay&quot;       : &quot;Tuesday&quot;,\n  &quot;formattedDate&quot; : &quot;1/1/2012&quot;,\n  &quot;formattedTime&quot; : &quot;9:30 AM&quot;,\n  &quot;displayPattern&quot;: &quot;Minutes&quot;, // or &quot;Seconds&quot;, &quot;Minute&quot;, &quot;Hour&quot;, &quot;Hours&quot;, &quot;WeekDay&quot;, &quot;Full&quot;\n  &quot;timeValue&quot;     :  1330167842310","html":"<p>  &quot;action&quot;        : &quot;creation&quot;, // or &quot;edit&quot;\n  &quot;userId&quot;        : &quot;Mike&quot;,\n  &quot;minutes&quot;       :  15,\n  &quot;hours&quot;         :  5,\n  &quot;weekDay&quot;       : &quot;Tuesday&quot;,\n  &quot;formattedDate&quot; : &quot;1/1/2012&quot;,\n  &quot;formattedTime&quot; : &quot;9:30 AM&quot;,\n  &quot;displayPattern&quot;: &quot;Minutes&quot;, // or &quot;Seconds&quot;, &quot;Minute&quot;, &quot;Hour&quot;, &quot;Hours&quot;, &quot;WeekDay&quot;, &quot;Full&quot;\n  &quot;timeValue&quot;     :  1330167842310</p>"},{"id":"text-492","type":"text","heading":"","plain_text":"Returns a localized summary of the last edit operation performed on the given feature, if available. Par exemple:\nEdited by Bjorn seconds ago\nEdited by Bjorn a minute ago\nEdited by Bjorn 15 minutes ago\nEdited by Bjorn an hour ago\nEdited by Bjorn 5 hours ago\nEdited by Bjorn on Tuesday at 1:30 PM\nEdited by Bjorn on 4/27/2014 at 11:30 AM","html":"<p>Returns a localized summary of the last edit operation performed on the given feature, if available. Par exemple:\nEdited by Bjorn seconds ago\nEdited by Bjorn a minute ago\nEdited by Bjorn 15 minutes ago\nEdited by Bjorn an hour ago\nEdited by Bjorn 5 hours ago\nEdited by Bjorn on Tuesday at 1:30 PM\nEdited by Bjorn on 4/27/2014 at 11:30 AM</p>"},{"id":"text-493","type":"text","heading":"","plain_text":"The word &quot;Edited&quot; will be replaced by &quot;Created&quot; if the author has disabled editorField attribute but enabled creatorField attribute. The user component and date-time component may or may not be available depending on your layer&#39;s edit tracking settings (see editFieldsInfo property of this layer for more information).\nAn empty string will be returned if:","html":"<p>The word &quot;Edited&quot; will be replaced by &quot;Created&quot; if the author has disabled editorField attribute but enabled creatorField attribute. The user component and date-time component may or may not be available depending on your layer&#039;s edit tracking settings (see editFieldsInfo property of this layer for more information).\nAn empty string will be returned if:</p>"},{"id":"text-494","type":"text","heading":"","plain_text":"the layer is not initialized or\nif the layer&#39;s edit tracking settings have been turned off or\nif the feature does not have edit tracking fields in its attributes.\n (Added at v2.8)","html":"<p>the layer is not initialized or\nif the layer&#039;s edit tracking settings have been turned off or\nif the feature does not have edit tracking fields in its attributes.\n (Added at v2.8)</p>"},{"id":"text-495","type":"text","heading":"","plain_text":"Parameters:","html":"<p>Parameters:</p>"},{"id":"text-496","type":"text","heading":"","plain_text":"&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit summary for.","html":"<p>&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit summary for.</p>"},{"id":"text-497","type":"text","heading":"","plain_text":"&lt;Objet&gt; options\nOptionnel\nSee the object specifications table below for the structure of the  options  objet.","html":"<p>&lt;Objet&gt; options\nOptionnel\nSee the object specifications table below for the structure of the  options  objet.</p>"},{"id":"text-498","type":"text","heading":"","plain_text":"Object Specifications: \n&lt;options&gt;","html":"<p>Object Specifications: \n&lt;options&gt;</p>"},{"id":"text-499","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior.","html":"<p>&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior.</p>"},{"id":"text-500","type":"text","heading":"","plain_text":"&#39;creation&#39; indicates creation summary is desired.\n&#39;edit&#39; indicates edit summary is desired.","html":"<p>&#039;creation&#039; indicates creation summary is desired.\n&#039;edit&#039; indicates edit summary is desired.</p>"},{"id":"text-501","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nChamps obligatoires\nIf you want to customize or override certain components of the summary, provide a callback function using this option. Par exemple:\nfeatureLayer.getEditSummary(feature, \n  callback: function(feature, info) \n    if (info &amp;&amp; info.userId) \n      info.userId = &quot;&quot; + info.userId + &quot;&quot;;\n    \n    return info;\n  \n);","html":"<p>&lt;Une fonction&gt; callback\nChamps obligatoires\nIf you want to customize or override certain components of the summary, provide a callback function using this option. Par exemple:\nfeatureLayer.getEditSummary(feature, \n  callback: function(feature, info) \n    if (info &amp;&amp; info.userId) \n      info.userId = &quot;&quot; + info.userId + &quot;&quot;;\n    \n    return info;\n  \n);</p>"},{"id":"text-502","type":"text","heading":"","plain_text":"Returns the options used to reduce the number of features visualized by the layer (for example clustering). This is only applicable to point layers. See setFeatureReduction() for more details. (Added at v3.22)\nSample:","html":"<p>Returns the options used to reduce the number of features visualized by the layer (for example clustering). This is only applicable to point layers. See setFeatureReduction() for more details. (Added at v3.22)\nSample:</p>"},{"id":"text-503","type":"text","heading":"","plain_text":"featureLayer.getFeatureReduction();","html":"<p>featureLayer.getFeatureReduction();</p>"},{"id":"text-504","type":"text","heading":"","plain_text":"Returns the Champ given the specified field name. (Added at v3.12)\nParameters:","html":"<p>Returns the Champ given the specified field name. (Added at v3.12)\nParameters:</p>"},{"id":"text-505","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field.","html":"<p>&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field.</p>"},{"id":"text-506","type":"text","heading":"","plain_text":"Returns reference to the map control the layer is added to. Résultats nul ou indéfini if it is not added to a map. (Added at v3.7)","html":"<p>Returns reference to the map control the layer is added to. Résultats nul ou indéfini if it is not added to a map. (Added at v3.7)</p>"},{"id":"text-507","type":"text","heading":"","plain_text":"Returns the current value of the maxAllowableOffset used by the layer. For non-editable layers in on-demand mode if autoGeneralize is enabled the maxAllowableOffset is set to the current map resolution. (Added at v2.7)\nSample:","html":"<p>Returns the current value of the maxAllowableOffset used by the layer. For non-editable layers in on-demand mode if autoGeneralize is enabled the maxAllowableOffset is set to the current map resolution. (Added at v2.7)\nSample:</p>"},{"id":"text-508","type":"text","heading":"","plain_text":"var currentOffset = featureLayer.getMaxAllowableOffset();","html":"<p>var currentOffset = featureLayer.getMaxAllowableOffset();</p>"},{"id":"text-509","type":"text","heading":"","plain_text":"Returns the layer&#39;s DOM node. (Added at v3.7)","html":"<p>Returns the layer&#039;s DOM node. (Added at v3.7)</p>"},{"id":"text-510","type":"text","heading":"","plain_text":"Returns the list of fields used to order features by. For queries as well as rendering. (Added at v3.8)","html":"<p>Returns the list of fields used to order features by. For queries as well as rendering. (Added at v3.8)</p>"},{"id":"text-511","type":"text","heading":"","plain_text":"Gets the currently selected features.","html":"<p>Gets the currently selected features.</p>"},{"id":"text-512","type":"text","heading":"","plain_text":"Gets the current selection symbol.","html":"<p>Gets the current selection symbol.</p>"},{"id":"text-513","type":"text","heading":"","plain_text":"Returns graphics from the layer that are not represented by aggregate graphics when feature reduction (such as clustering) is enabled. (Added at v3.22)\nSample:","html":"<p>Returns graphics from the layer that are not represented by aggregate graphics when feature reduction (such as clustering) is enabled. (Added at v3.22)\nSample:</p>"},{"id":"text-514","type":"text","heading":"","plain_text":"var singleGraphics = featureLayer.getSingleGraphics();","html":"<p>var singleGraphics = featureLayer.getSingleGraphics();</p>"},{"id":"text-515","type":"text","heading":"","plain_text":"Get the current time definition applied to the feature layer.\nSample:","html":"<p>Get the current time definition applied to the feature layer.\nSample:</p>"},{"id":"text-516","type":"text","heading":"","plain_text":"require([\n  \"esri/map\", \"esri/layers/FeatureLayer\", \"esri/layers/TimeInfo\", ... \n], function(Map, FeatureLayer, TimeInfo, ... ) \n  var timeSlider = new TimeSlider( ... );\n  var featureLayer = new FeatureLayer();\n  timeSlider.createTimeStopsByTimeInterval(featureLayer.getTimeDefinition(), \n    1, TimeInfo.UNIT_HOURS);\n  ...\n);","html":"<p>require([\n  &quot;esri/map&quot;, &quot;esri/layers/FeatureLayer&quot;, &quot;esri/layers/TimeInfo&quot;, ... \n], function(Map, FeatureLayer, TimeInfo, ... ) \n  var timeSlider = new TimeSlider( ... );\n  var featureLayer = new FeatureLayer();\n  timeSlider.createTimeStopsByTimeInterval(featureLayer.getTimeDefinition(), \n    1, TimeInfo.UNIT_HOURS);\n  ...\n);</p>"},{"id":"text-517","type":"text","heading":"","plain_text":"Returns a FeatureType describing the feature&#39;s type. NOTE: This is applicable if the layer containing the feature has a TypeIdField. (Added at v3.12)\nParameters:","html":"<p>Returns a FeatureType describing the feature&#039;s type. NOTE: This is applicable if the layer containing the feature has a TypeIdField. (Added at v3.12)\nParameters:</p>"},{"id":"text-518","type":"text","heading":"","plain_text":"&lt;Graphic&gt; feature\nChamps obligatoires\nA feature from this layer.","html":"<p>&lt;Graphic&gt; feature\nChamps obligatoires\nA feature from this layer.</p>"},{"id":"text-519","type":"text","heading":"","plain_text":"Indicates whether an error is thrown after the layer updates. (Added at v3.24)","html":"<p>Indicates whether an error is thrown after the layer updates. (Added at v3.24)</p>"},{"id":"text-520","type":"text","heading":"","plain_text":"Indicates if the layer is rendered in WebGL. (Added at v3.24)","html":"<p>Indicates if the layer is rendered in WebGL. (Added at v3.24)</p>"},{"id":"text-521","type":"text","heading":"","plain_text":"Résultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint. Quand vrai, the FeatureLayer will behave as if it were a polygon.","html":"<p>Résultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint. Quand vrai, the FeatureLayer will behave as if it were a polygon.</p>"},{"id":"text-522","type":"text","heading":"","plain_text":"Auto generalization will be enabled by default.\nAuto mode will treat the layer like a polygon layer.","html":"<p>Auto generalization will be enabled by default.\nAuto mode will treat the layer like a polygon layer.</p>"},{"id":"text-523","type":"text","heading":"","plain_text":"(Added at v3.12)\nSample:","html":"<p>(Added at v3.12)\nSample:</p>"},{"id":"text-524","type":"text","heading":"","plain_text":"citiesFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\n  var hasXYFootprint = citiesFeatureLayer.hasXYFootprint();\n  console.log(&quot;Contains xyfootprints:&quot;, hasXYFootprint);\n);","html":"<p>citiesFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\n  var hasXYFootprint = citiesFeatureLayer.hasXYFootprint();\n  console.log(&quot;Contains xyfootprints:&quot;, hasXYFootprint);\n);</p>"},{"id":"text-525","type":"text","heading":"","plain_text":"Sets the visibility of the layer to &quot;false&quot;.  The layer is not removed, but it is hidden from view.","html":"<p>Sets the visibility of the layer to &quot;false&quot;.  The layer is not removed, but it is hidden from view.</p>"},{"id":"text-526","type":"text","heading":"","plain_text":"Returns true if the FeatureLayer is editable. If the layer is editable, one or more of the following operations can be performed depending on the permissions set on the service.","html":"<p>Returns true if the FeatureLayer is editable. If the layer is editable, one or more of the following operations can be performed depending on the permissions set on the service.</p>"},{"id":"text-527","type":"text","heading":"","plain_text":"Add new features.\nModify the geometry and attributes of existing features.\nDelete features.","html":"<p>Add new features.\nModify the geometry and attributes of existing features.\nDelete features.</p>"},{"id":"text-528","type":"text","heading":"","plain_text":"To see which of the above editing actions may be performed on the layer, execute getEditCapabilities() on the layer after verifying that isEditable() returns true.","html":"<p>To see which of the above editing actions may be performed on the layer, execute getEditCapabilities() on the layer after verifying that isEditable() returns true.</p>"},{"id":"text-529","type":"text","heading":"","plain_text":"Indicates if feature reduction (for example clustering) is active in the view. Feature reduction is active at all scales. At any given scale, if there are features that do not fall within a cluster, they are displayed as individual features. This method is only applicable to point layers when feature reduction is enabled. (Added at v3.22)\nSample:","html":"<p>Indicates if feature reduction (for example clustering) is active in the view. Feature reduction is active at all scales. At any given scale, if there are features that do not fall within a cluster, they are displayed as individual features. This method is only applicable to point layers when feature reduction is enabled. (Added at v3.22)\nSample:</p>"},{"id":"text-530","type":"text","heading":"","plain_text":"featureLayer.isFeatureReductionActive();","html":"<p>featureLayer.isFeatureReductionActive();</p>"},{"id":"text-531","type":"text","heading":"","plain_text":"Indicates if feature reduction (for example clustering) is enabled. Only applicable to point layers. See also setFeatureReduction(). (Added at v3.22)\nSample:","html":"<p>Indicates if feature reduction (for example clustering) is enabled. Only applicable to point layers. See also setFeatureReduction(). (Added at v3.22)\nSample:</p>"},{"id":"text-532","type":"text","heading":"","plain_text":"featureLayer.isFeatureReductionEnabled();","html":"<p>featureLayer.isFeatureReductionEnabled();</p>"},{"id":"text-533","type":"text","heading":"","plain_text":"Returns true if the layer is visible at the given scale. (Added at v3.1)\nParameters:","html":"<p>Returns true if the layer is visible at the given scale. (Added at v3.1)\nParameters:</p>"},{"id":"text-534","type":"text","heading":"","plain_text":"&lt;Nombre&gt; scale\nChamps obligatoires\nThe scale at which to check if the layer is visible.","html":"<p>&lt;Nombre&gt; scale\nChamps obligatoires\nThe scale at which to check if the layer is visible.</p>"},{"id":"text-535","type":"text","heading":"","plain_text":"Query for information about attachments associated with the specified ObjectIds.\nParameters:","html":"<p>Query for information about attachments associated with the specified ObjectIds.\nParameters:</p>"},{"id":"text-536","type":"text","heading":"","plain_text":"&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId for the feature to query for attachment information.","html":"<p>&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId for the feature to query for attachment information.</p>"},{"id":"text-537","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.</p>"},{"id":"text-538","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.</p>"},{"id":"text-539","type":"text","heading":"","plain_text":"Get a count of the number of features that satisfy the input query. Valid only for layers published using ArcGIS Server 10 SP1 or greater. Layers published with earlier versions of ArcGIS Server return an error to the error callback. (Added at v2.1)\nParameters:","html":"<p>Get a count of the number of features that satisfy the input query. Valid only for layers published using ArcGIS Server 10 SP1 or greater. Layers published with earlier versions of ArcGIS Server return an error to the error callback. (Added at v2.1)\nParameters:</p>"},{"id":"text-540","type":"text","heading":"","plain_text":"&lt;Question&gt; query\nChamps obligatoires","html":"<p>&lt;Question&gt; query\nChamps obligatoires</p>"},{"id":"text-541","type":"text","heading":"","plain_text":"The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.","html":"<p>The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.</p>"},{"id":"text-542","type":"text","heading":"","plain_text":"outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.","html":"<p>outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#039;s spatial reference is used.</p>"},{"id":"text-543","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.</p>"},{"id":"text-544","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.</p>"},{"id":"text-545","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-546","type":"text","heading":"","plain_text":"require([\n  \"esri/tasks/query\", \"FeatureLayer\", ... \n], function(Query, FeatureLayer, ... ) {\n  var query = new Query();\n  var featureLayer = new FeatureLayer( ... );\n  query.where = &quot;POP90_SQMI","html":"<p>require([\n  &quot;esri/tasks/query&quot;, &quot;FeatureLayer&quot;, ... \n], function(Query, FeatureLayer, ... ) {\n  var query = new Query();\n  var featureLayer = new FeatureLayer( ... );\n  query.where = &quot;POP90_SQMI</p>"},{"id":"text-547","type":"text","heading":"","plain_text":"Get the extent of features that satisfy the input query. The count of features that satisfy the input query is returned as well. This is valid only for hosted feature services on arcgis.com and for ArcGIS Server 10.3.1 and later. (Added at v3.9)\nParameters:","html":"<p>Get the extent of features that satisfy the input query. The count of features that satisfy the input query is returned as well. This is valid only for hosted feature services on arcgis.com and for ArcGIS Server 10.3.1 and later. (Added at v3.9)\nParameters:</p>"},{"id":"text-548","type":"text","heading":"","plain_text":"&lt;Question&gt; query\nChamps obligatoires\nThe query definition.","html":"<p>&lt;Question&gt; query\nChamps obligatoires\nThe query definition.</p>"},{"id":"text-549","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThe function called when the method has completed.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThe function called when the method has completed.</p>"},{"id":"text-550","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nThe function called when error occurred.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nThe function called when error occurred.</p>"},{"id":"text-551","type":"text","heading":"","plain_text":"Query features from the feature layer. Layer definition and time definition are honored. Whenever possible the feature layer will perform the query on the client.\nParameters:","html":"<p>Query features from the feature layer. Layer definition and time definition are honored. Whenever possible the feature layer will perform the query on the client.\nParameters:</p>"},{"id":"text-552","type":"text","heading":"","plain_text":"&lt;Question&gt; query\nChamps obligatoires","html":"<p>&lt;Question&gt; query\nChamps obligatoires</p>"},{"id":"text-553","type":"text","heading":"","plain_text":"The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.","html":"<p>The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.</p>"},{"id":"text-554","type":"text","heading":"","plain_text":"outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used. As of version 3.5 the returnGeometry value is honored.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.","html":"<p>outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used. As of version 3.5 the returnGeometry value is honored.\nThe outSpatialReference set by the query object is ignored and the map&#039;s spatial reference is used.</p>"},{"id":"text-555","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.</p>"},{"id":"text-556","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.</p>"},{"id":"text-557","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-558","type":"text","heading":"","plain_text":"require([\n  \"esri/layers/FeatureLayer\", \"esri/tasks/query\", ... \n], function(FeatureLayer, Query, ... ) \n  featureLayer = new FeatureLayer( ... );\n  var query = new Query();\n  query.objectIds =[features[features[features[features[0].attributes.OBJECTID];\n  query.outFields = [ \"*\" ];\n  // Query for the features with the given object ID\n  featureLayer.queryFeatures(query, function(featureSet) \n  );\n  ...\n);","html":"<p>require([\n  &quot;esri/layers/FeatureLayer&quot;, &quot;esri/tasks/query&quot;, ... \n], function(FeatureLayer, Query, ... ) \n  featureLayer = new FeatureLayer( ... );\n  var query = new Query();\n  query.objectIds =[features[features[features[features[0].attributes.OBJECTID];\n  query.outFields = [ &quot;*&quot; ];\n  // Query for the features with the given object ID\n  featureLayer.queryFeatures(query, function(featureSet) \n  );\n  ...\n);</p>"},{"id":"text-559","type":"text","heading":"","plain_text":"Query for ObjectIds. There is no limit on the number of ObjectIds that are returned from the server. Like queryFeatures this operation will perform queries on the client (browser) whenever possible.  Valid only for layers published using ArcGIS Server 10 SP1 or greater.\nParameters:","html":"<p>Query for ObjectIds. There is no limit on the number of ObjectIds that are returned from the server. Like queryFeatures this operation will perform queries on the client (browser) whenever possible.  Valid only for layers published using ArcGIS Server 10 SP1 or greater.\nParameters:</p>"},{"id":"text-560","type":"text","heading":"","plain_text":"&lt;Question&gt; query\nChamps obligatoires","html":"<p>&lt;Question&gt; query\nChamps obligatoires</p>"},{"id":"text-561","type":"text","heading":"","plain_text":"The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.","html":"<p>The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.</p>"},{"id":"text-562","type":"text","heading":"","plain_text":"outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.","html":"<p>outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#039;s spatial reference is used.</p>"},{"id":"text-563","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.</p>"},{"id":"text-564","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.</p>"},{"id":"text-565","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-566","type":"text","heading":"","plain_text":"require([\n  \"esri/layers/FeatureLayer\", \"esri/tasks/query\", ... \n], function(FeatureLayer, Query, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  // create a query to fetch object IDs for all records\n  var query = new Query();\n  query.where = &quot;1=1&quot;;\n  \n  featureLayer.queryIds(query, function(objectIds) \n    //do something with the objectIds here\n  );\n  ...\n);","html":"<p>require([\n  &quot;esri/layers/FeatureLayer&quot;, &quot;esri/tasks/query&quot;, ... \n], function(FeatureLayer, Query, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  // create a query to fetch object IDs for all records\n  var query = new Query();\n  query.where = &quot;1=1&quot;;\n  \n  featureLayer.queryIds(query, function(objectIds) \n    //do something with the objectIds here\n  );\n  ...\n);</p>"},{"id":"text-567","type":"text","heading":"","plain_text":"Query features or records, from another layer or table, related to features in this layer.\nParameters:","html":"<p>Query features or records, from another layer or table, related to features in this layer.\nParameters:</p>"},{"id":"text-568","type":"text","heading":"","plain_text":"&lt;RelationshipQuery&gt; relQuery\nChamps obligatoires\nThe input query.","html":"<p>&lt;RelationshipQuery&gt; relQuery\nChamps obligatoires\nThe input query.</p>"},{"id":"text-569","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.</p>"},{"id":"text-570","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.</p>"},{"id":"text-571","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-572","type":"text","heading":"","plain_text":"require([\n  \"esri/layers/FeatureLayer\", \"esri/tasks/RelationshipQuery\", \"dojo/_base/connect\", ... \n], function(FeatureLayer, RelationshipQuery, connect, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  var relatedQuery = new RelationshipQuery();\n  relatedQuery.outFields = [\"AGREE_WITH_INCIDENT\"];\n  relatedQuery.relationshipId = 1;\n  \n  //query for the features related to the &quot;clicked&quot; feature\n  connect.connect(featureLayer, &quot;onClick&quot;, function(evt) \n    graphicAttributes = evt.graphic.attributes;\n    relatedQuery.objectIds = [graphicAttributes.OBJECTID];\n    featureLayer.queryRelatedFeatures(relatedQuery,relatedRecords);\n  \n  ...\n);","html":"<p>require([\n  &quot;esri/layers/FeatureLayer&quot;, &quot;esri/tasks/RelationshipQuery&quot;, &quot;dojo/_base/connect&quot;, ... \n], function(FeatureLayer, RelationshipQuery, connect, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  var relatedQuery = new RelationshipQuery();\n  relatedQuery.outFields = [&quot;AGREE_WITH_INCIDENT&quot;];\n  relatedQuery.relationshipId = 1;\n  \n  //query for the features related to the &quot;clicked&quot; feature\n  connect.connect(featureLayer, &quot;onClick&quot;, function(evt) \n    graphicAttributes = evt.graphic.attributes;\n    relatedQuery.objectIds = [graphicAttributes.OBJECTID];\n    featureLayer.queryRelatedFeatures(relatedQuery,relatedRecords);\n  \n  ...\n);</p>"},{"id":"text-573","type":"text","heading":"","plain_text":"Redraws all the graphics in the graphics layer. Unlike refresh(), redraw does not re-query features from the server. (Added at v3.3)","html":"<p>Redraws all the graphics in the graphics layer. Unlike refresh(), redraw does not re-query features from the server. (Added at v3.3)</p>"},{"id":"text-574","type":"text","heading":"","plain_text":"Refreshes the features in the feature layer. The feature layer requeries all the features in the service, except the selected features, and updates itself.","html":"<p>Refreshes the features in the feature layer. The feature layer requeries all the features in the service, except the selected features, and updates itself.</p>"},{"id":"text-575","type":"text","heading":"","plain_text":"Removes a graphic.\nParameters:","html":"<p>Removes a graphic.\nParameters:</p>"},{"id":"text-576","type":"text","heading":"","plain_text":"&lt;Graphic&gt; graphic\nChamps obligatoires\nThe graphic to remove.","html":"<p>&lt;Graphic&gt; graphic\nChamps obligatoires\nThe graphic to remove.</p>"},{"id":"text-577","type":"text","heading":"","plain_text":"Resumes layer drawing. (Added at v3.1)","html":"<p>Resumes layer drawing. (Added at v3.1)</p>"},{"id":"text-578","type":"text","heading":"","plain_text":"Selects features from the FeatureLayer. Layer properties like layer definition and time definition are honored. The selection method defines how query results are passed to the selection. The feature layer will highlight the current selection if a selection symbol has been defined. Whenever possible, the feature layer will perform the query operation on the client (browser).\nParameters:","html":"<p>Selects features from the FeatureLayer. Layer properties like layer definition and time definition are honored. The selection method defines how query results are passed to the selection. The feature layer will highlight the current selection if a selection symbol has been defined. Whenever possible, the feature layer will perform the query operation on the client (browser).\nParameters:</p>"},{"id":"text-579","type":"text","heading":"","plain_text":"&lt;Question&gt; query\nChamps obligatoires","html":"<p>&lt;Question&gt; query\nChamps obligatoires</p>"},{"id":"text-580","type":"text","heading":"","plain_text":"The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.","html":"<p>The input query. The query object has the following restrictions to avoid conflicts between layer and map properties.</p>"},{"id":"text-581","type":"text","heading":"","plain_text":"outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used.","html":"<p>outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#039;s spatial reference is used.</p>"},{"id":"text-582","type":"text","heading":"","plain_text":"&lt;Nombre&gt; selectionMethod\nOptionnel\nThe selection method defines how the rest of the selection is combined with the existing selection. See Constants table for valid values. The default option is to create a new selection.","html":"<p>&lt;Nombre&gt; selectionMethod\nOptionnel\nThe selection method defines how the rest of the selection is combined with the existing selection. See Constants table for valid values. The default option is to create a new selection.</p>"},{"id":"text-583","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the onSelectionComplete event.","html":"<p>&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the onSelectionComplete event.</p>"},{"id":"text-584","type":"text","heading":"","plain_text":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.","html":"<p>&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs.</p>"},{"id":"text-585","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-586","type":"text","heading":"","plain_text":"require([\n  \"esri/tasks/query\", \"esri/layers/FeatureLayer\", ... \n], function(Query, FeatureLayer, ... ) \n  var query = new Query();\n  var featureLayer = new FeatureLayer( ... );\n  query.geometry = feature.geometry;\n  featureLayer.selectFeatures(query,FeatureLayer.SELECTION_NEW);\n  ...\n);","html":"<p>require([\n  &quot;esri/tasks/query&quot;, &quot;esri/layers/FeatureLayer&quot;, ... \n], function(Query, FeatureLayer, ... ) \n  var query = new Query();\n  var featureLayer = new FeatureLayer( ... );\n  query.geometry = feature.geometry;\n  featureLayer.selectFeatures(query,FeatureLayer.SELECTION_NEW);\n  ...\n);</p>"},{"id":"text-587","type":"text","heading":"","plain_text":"Enable or disable auto generalization for the layer. Note that auto generalization is only applicable to non-editable feature layers in on-demand mode. (Added at v2.7)\nParameters:","html":"<p>Enable or disable auto generalization for the layer. Note that auto generalization is only applicable to non-editable feature layers in on-demand mode. (Added at v2.7)\nParameters:</p>"},{"id":"text-588","type":"text","heading":"","plain_text":"&lt;Booléen&gt; enable\nChamps obligatoires\nWhen true, auto generalize is enabled. Default value for non-editable on-demand feature layers is true.","html":"<p>&lt;Booléen&gt; enable\nChamps obligatoires\nWhen true, auto generalize is enabled. Default value for non-editable on-demand feature layers is true.</p>"},{"id":"text-589","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-590","type":"text","heading":"","plain_text":"featureLayer.setAutoGeneralize(false);","html":"<p>featureLayer.setAutoGeneralize(false);</p>"},{"id":"text-591","type":"text","heading":"","plain_text":"Sets the definition expression for the FeatureLayer. Only the features that match the definition expression are displayed. A definition expression limits the features available for display and queries by applying constraints to the layer&#39;s attribute fields. Setting a definition expression is useful when the dataset is large and you don&#39;t want to bring everything to the client for analysis. This method is typically called before adding the layer to the map. If the method is called after the layer is added to the map the layer will refresh itself to reflect the new definition expression.\nThis definition expression is combined with the layer&#39;s default definition expression which results in a further restriction of the layer.","html":"<p>Sets the definition expression for the FeatureLayer. Only the features that match the definition expression are displayed. A definition expression limits the features available for display and queries by applying constraints to the layer&#039;s attribute fields. Setting a definition expression is useful when the dataset is large and you don&#039;t want to bring everything to the client for analysis. This method is typically called before adding the layer to the map. If the method is called after the layer is added to the map the layer will refresh itself to reflect the new definition expression.\nThis definition expression is combined with the layer&#039;s default definition expression which results in a further restriction of the layer.</p>"},{"id":"text-592","type":"text","heading":"","plain_text":"Parameters:","html":"<p>Parameters:</p>"},{"id":"text-593","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; expression\nChamps obligatoires\nThe definition expression to apply. For example, &quot;TYPE=&#39;Park&#39;&quot;","html":"<p>&lt;Chaîne&gt; expression\nChamps obligatoires\nThe definition expression to apply. For example, &quot;TYPE=&#039;Park&#039;&quot;</p>"},{"id":"text-594","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-595","type":"text","heading":"","plain_text":"featureLayer.setDefinitionExpression(&quot;STATE_NAME = &#39;South Carolina&#39;&quot;);","html":"<p>featureLayer.setDefinitionExpression(&quot;STATE_NAME = &#039;South Carolina&#039;&quot;);</p>"},{"id":"text-596","type":"text","heading":"","plain_text":"Set the editability of feature layers created from a feature collection. This method is only valid for feature layers created from feature collections. \nWhen the feature layer&#39;s editability is updated the onCapabilitiesChange event is fired. Utilisez le isEditable method to determine if the layer is editable. \n (Added at v2.6)\nParameters:","html":"<p>Set the editability of feature layers created from a feature collection. This method is only valid for feature layers created from feature collections. \nWhen the feature layer&#039;s editability is updated the onCapabilitiesChange event is fired. Utilisez le isEditable method to determine if the layer is editable. \n (Added at v2.6)\nParameters:</p>"},{"id":"text-597","type":"text","heading":"","plain_text":"&lt;Booléen&gt; editable\nChamps obligatoires\nWhen true, the layer will be set as editable.","html":"<p>&lt;Booléen&gt; editable\nChamps obligatoires\nWhen true, the layer will be set as editable.</p>"},{"id":"text-598","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-599","type":"text","heading":"","plain_text":"featureLayer.setEditable(true);","html":"<p>featureLayer.setEditable(true);</p>"},{"id":"text-600","type":"text","heading":"","plain_text":"Sets feature reduction options on the layer (for example clustering options). When set, features in the layer will aggregate, thus changing the visualization. This will not change the renderer of the layer. See the valid parameters in the table below.\nSupport for feature reduction is limited to the following scenarios:","html":"<p>Sets feature reduction options on the layer (for example clustering options). When set, features in the layer will aggregate, thus changing the visualization. This will not change the renderer of the layer. See the valid parameters in the table below.\nSupport for feature reduction is limited to the following scenarios:</p>"},{"id":"text-601","type":"text","heading":"","plain_text":"Point data in FeatureLayer (from service or FeatureCollection) and CSVLayer.\nThe map must have a spatial reference of Web Mercator or WGS84.\nIf the layer contains more than 50,000 features, then only the first 50,000 will be clustered.\nA FeatureLayer created from a service URL must point to a service that supports pagination (ArcGIS Server version 10.3.1 or higher).\nWhen editing is initiated with the Editor widget, then feature reduction is disabled until the Editor widget is destroyed.\nFeature reduction is disabled when the layer has one of the following renderers: HeatmapRenderer,\n        BlendRenderer, TemporalRenderer, ou\n        ScaleDependentRenderer.","html":"<p>Point data in FeatureLayer (from service or FeatureCollection) and CSVLayer.\nThe map must have a spatial reference of Web Mercator or WGS84.\nIf the layer contains more than 50,000 features, then only the first 50,000 will be clustered.\nA FeatureLayer created from a service URL must point to a service that supports pagination (ArcGIS Server version 10.3.1 or higher).\nWhen editing is initiated with the Editor widget, then feature reduction is disabled until the Editor widget is destroyed.\nFeature reduction is disabled when the layer has one of the following renderers: HeatmapRenderer,\n        BlendRenderer, TemporalRenderer, ou\n        ScaleDependentRenderer.</p>"},{"id":"text-602","type":"text","heading":"","plain_text":"(Added at v3.22)\nParameters:","html":"<p>(Added at v3.22)\nParameters:</p>"},{"id":"text-603","type":"text","heading":"","plain_text":"&lt;Objet&gt; options\nChamps obligatoires\nOptions for reducing (or aggregating) the features in the map. See the table below for more details.","html":"<p>&lt;Objet&gt; options\nChamps obligatoires\nOptions for reducing (or aggregating) the features in the map. See the table below for more details.</p>"},{"id":"text-604","type":"text","heading":"","plain_text":"Object Specifications: \n&lt;options&gt;","html":"<p>Object Specifications: \n&lt;options&gt;</p>"},{"id":"text-605","type":"text","heading":"","plain_text":"&lt;Nombre&gt; clusterRadius\nOptionnel\nThe radius in pixels of each area in which multiple points will be summarized and visualized as a single cluster. The default value is 80.","html":"<p>&lt;Nombre&gt; clusterRadius\nOptionnel\nThe radius in pixels of each area in which multiple points will be summarized and visualized as a single cluster. The default value is 80.</p>"},{"id":"text-606","type":"text","heading":"","plain_text":"&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nThe InfoTemplate used to display summary information about aggregate graphics.","html":"<p>&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nThe InfoTemplate used to display summary information about aggregate graphics.</p>"},{"id":"text-607","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; type\nChamps obligatoires\nThe reduction (or aggregation) method for reducing the features displayed in the map. The only valid type is grappe.","html":"<p>&lt;Chaîne&gt; type\nChamps obligatoires\nThe reduction (or aggregation) method for reducing the features displayed in the map. The only valid type is grappe.</p>"},{"id":"text-608","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-609","type":"text","heading":"","plain_text":"featureLayer.setFeatureReduction(\n    type: &quot;cluster&quot;,\n    clusterRadius: 60\n  );","html":"<p>featureLayer.setFeatureReduction(\n    type: &quot;cluster&quot;,\n    clusterRadius: 60\n  );</p>"},{"id":"text-610","type":"text","heading":"","plain_text":"Set the layer&#39;s data source to the specified geodatabase version. If the versionName is null then the data source will be the published map&#39;s default version. Only applicable if the layer&#39;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)\nParameters:","html":"<p>Set the layer&#039;s data source to the specified geodatabase version. If the versionName is null then the data source will be the published map&#039;s default version. Only applicable if the layer&#039;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)\nParameters:</p>"},{"id":"text-611","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; versionName\nChamps obligatoires\nThe name of the geodatabase version to use as the layer&#39;s data source.","html":"<p>&lt;Chaîne&gt; versionName\nChamps obligatoires\nThe name of the geodatabase version to use as the layer&#039;s data source.</p>"},{"id":"text-612","type":"text","heading":"","plain_text":"Specify or change the info template for a layer. (Added at v2.2)\nSample:","html":"<p>Specify or change the info template for a layer. (Added at v2.2)\nSample:</p>"},{"id":"text-613","type":"text","heading":"","plain_text":"require([\n  \"esri/InfoTemplate\", ... \n], function(InfoTemplate, ... ) \n    var template = new InfoTemplate();","html":"<p>require([\n  &quot;esri/InfoTemplate&quot;, ... \n], function(InfoTemplate, ... ) \n    var template = new InfoTemplate();</p>"},{"id":"text-614","type":"text","heading":"","plain_text":"    template.setTitle(&quot;$qAddress&quot;);","html":"<p>    template.setTitle(&quot;$qAddress&quot;);</p>"},{"id":"text-615","type":"text","heading":"","plain_text":"    template.setContent(getTextContent);","html":"<p>    template.setContent(getTextContent);</p>"},{"id":"text-616","type":"text","heading":"","plain_text":"    featureLayer.setInfoTemplate(template);\n  ...\n);","html":"<p>    featureLayer.setInfoTemplate(template);\n  ...\n);</p>"},{"id":"text-617","type":"text","heading":"","plain_text":"Sets labeling info on the layer. Input value is an array of LabelClass objects. (Added at v3.10)\nParameters:","html":"<p>Sets labeling info on the layer. Input value is an array of LabelClass objects. (Added at v3.10)\nParameters:</p>"},{"id":"text-618","type":"text","heading":"","plain_text":"&lt;LabelClass[]&gt; labelingInfo\nChamps obligatoires\nThis is the label definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property.","html":"<p>&lt;LabelClass[]&gt; labelingInfo\nChamps obligatoires\nThis is the label definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property.</p>"},{"id":"text-619","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-620","type":"text","heading":"","plain_text":"//make sure the Map&#39;s showLabels option is set to true\n  var map = new Map(&quot;map&quot;, \n    basemap: &quot;streets&quot;,\n    center:[-80, 30],\n    zoom: 5,\n    showLabels : true\n  );\n \n//create featurelayer\n  var flayer = new FeatureLayer(url, \n    outFields: [\"*\"] //make sure field to label is specified here in outFields\n  );","html":"<p>//make sure the Map&#039;s showLabels option is set to true\n  var map = new Map(&quot;map&quot;, \n    basemap: &quot;streets&quot;,\n    center:[-80, 30],\n    zoom: 5,\n    showLabels : true\n  );\n \n//create featurelayer\n  var flayer = new FeatureLayer(url, \n    outFields: [&quot;*&quot;] //make sure field to label is specified here in outFields\n  );</p>"},{"id":"text-621","type":"text","heading":"","plain_text":"//create a text symbol and renderer to define the style of labels\n   var labelSymbol = new TextSymbol(); \n   var labelRenderer = new SimpleRenderer(labelSymbol);","html":"<p>//create a text symbol and renderer to define the style of labels\n   var labelSymbol = new TextSymbol(); \n   var labelRenderer = new SimpleRenderer(labelSymbol);</p>"},{"id":"text-622","type":"text","heading":"","plain_text":"var json = \n  &quot;labelExpressionInfo&quot;: &quot;value&quot;: &quot;LocalTime&quot;,\n  &quot;useCodedValues&quot;: false,\n  &quot;labelPlacement&quot;:&quot;above-right&quot;,\n  &quot;fieldInfos&quot;: [fieldName: \"LocalTime\",format:  \"dateFormat\": \"shortDate\"]\n  ;","html":"<p>var json = \n  &quot;labelExpressionInfo&quot;: &quot;value&quot;: &quot;LocalTime&quot;,\n  &quot;useCodedValues&quot;: false,\n  &quot;labelPlacement&quot;:&quot;above-right&quot;,\n  &quot;fieldInfos&quot;: [fieldName: &quot;LocalTime&quot;,format:  &quot;dateFormat&quot;: &quot;shortDate&quot;]\n  ;</p>"},{"id":"text-623","type":"text","heading":"","plain_text":"//create instance of LabelClass\n  var lc = new LabelClass(json);\n  lc.symbol = labelSymbol; // symbol also can be set in LabelClass&#39; json\n  flayer.setLabelingInfo([ lc ])","html":"<p>//create instance of LabelClass\n  var lc = new LabelClass(json);\n  lc.symbol = labelSymbol; // symbol also can be set in LabelClass&#039; json\n  flayer.setLabelingInfo([ lc ])</p>"},{"id":"text-624","type":"text","heading":"","plain_text":"Sets the maximum allowable offset used when generalizing geometries. The offset is in the units of the spatialReference. This is ignored when working with editable layers.\nParameters:","html":"<p>Sets the maximum allowable offset used when generalizing geometries. The offset is in the units of the spatialReference. This is ignored when working with editable layers.\nParameters:</p>"},{"id":"text-625","type":"text","heading":"","plain_text":"&lt;Nombre&gt; offset\nChamps obligatoires\nThe maximum allowable offset.","html":"<p>&lt;Nombre&gt; offset\nChamps obligatoires\nThe maximum allowable offset.</p>"},{"id":"text-626","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-627","type":"text","heading":"","plain_text":"require([\n  \"esri/layers/FeatureLayer\", ... \n], function(FeatureLayer, ... ) \n  featureLayer = new FeatureLayer(featureLayerUrl, \n    maxAllowableOffset: 1000\n  );\n  ...\n);","html":"<p>require([\n  &quot;esri/layers/FeatureLayer&quot;, ... \n], function(FeatureLayer, ... ) \n  featureLayer = new FeatureLayer(featureLayerUrl, \n    maxAllowableOffset: 1000\n  );\n  ...\n);</p>"},{"id":"text-628","type":"text","heading":"","plain_text":"Set the maximum scale for the layer. (Added at v3.1)\nParameters:","html":"<p>Set the maximum scale for the layer. (Added at v3.1)\nParameters:</p>"},{"id":"text-629","type":"text","heading":"","plain_text":"&lt;Nombre&gt; scale\nChamps obligatoires\nThe maximum scale at which the layer is visible.","html":"<p>&lt;Nombre&gt; scale\nChamps obligatoires\nThe maximum scale at which the layer is visible.</p>"},{"id":"text-630","type":"text","heading":"","plain_text":"Set the minimum scale for the layer. (Added at v3.1)\nParameters:","html":"<p>Set the minimum scale for the layer. (Added at v3.1)\nParameters:</p>"},{"id":"text-631","type":"text","heading":"","plain_text":"&lt;Nombre&gt; scale\nChamps obligatoires\nThe minimum scale at which the layer is visible.","html":"<p>&lt;Nombre&gt; scale\nChamps obligatoires\nThe minimum scale at which the layer is visible.</p>"},{"id":"text-632","type":"text","heading":"","plain_text":"Initial opacity or transparency of layer. Not supported in Internet Explorer.\nParameters:","html":"<p>Initial opacity or transparency of layer. Not supported in Internet Explorer.\nParameters:</p>"},{"id":"text-633","type":"text","heading":"","plain_text":"&lt;Nombre&gt; opacity\nChamps obligatoires\nValue from 0 to 1, where 0 is 100% transparent and 1 has no transparency. The default value is 1.","html":"<p>&lt;Nombre&gt; opacity\nChamps obligatoires\nValue from 0 to 1, where 0 is 100% transparent and 1 has no transparency. The default value is 1.</p>"},{"id":"text-634","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-635","type":"text","heading":"","plain_text":"featureLayer.setOpacity(.50);","html":"<p>featureLayer.setOpacity(.50);</p>"},{"id":"text-636","type":"text","heading":"","plain_text":"Changes the layer&#39;s refresh interval to the given value (in minutes). Non-zero value sets up automatic layer refresh at the specified interval. Value of 0 stops auto refresh. (Added at v3.7)\nParameters:","html":"<p>Changes the layer&#039;s refresh interval to the given value (in minutes). Non-zero value sets up automatic layer refresh at the specified interval. Value of 0 stops auto refresh. (Added at v3.7)\nParameters:</p>"},{"id":"text-637","type":"text","heading":"","plain_text":"&lt;Nombre&gt; interval\nChamps obligatoires\nRefresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled.","html":"<p>&lt;Nombre&gt; interval\nChamps obligatoires\nRefresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled.</p>"},{"id":"text-638","type":"text","heading":"","plain_text":"Set the renderer for the feature layer.\nParameters:","html":"<p>Set the renderer for the feature layer.\nParameters:</p>"},{"id":"text-639","type":"text","heading":"","plain_text":"&lt;Renderer&gt; renderer\nChamps obligatoires\nThe renderer to apply to the feature layer","html":"<p>&lt;Renderer&gt; renderer\nChamps obligatoires\nThe renderer to apply to the feature layer</p>"},{"id":"text-640","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-641","type":"text","heading":"","plain_text":"require([\n  \"esri/symbols/SimpleFillSymbol\", \"esri/Color\", \"esri/renderers/SimpleRenderer\", ... \n], function(SimpleFillSymbol, Color, SimpleRenderer, ... ) \n  var symbol = new SimpleFillSymbol().setColor(new Color([255,0,0,0.5]));","html":"<p>require([\n  &quot;esri/symbols/SimpleFillSymbol&quot;, &quot;esri/Color&quot;, &quot;esri/renderers/SimpleRenderer&quot;, ... \n], function(SimpleFillSymbol, Color, SimpleRenderer, ... ) \n  var symbol = new SimpleFillSymbol().setColor(new Color([255,0,0,0.5]));</p>"},{"id":"text-642","type":"text","heading":"","plain_text":"  var renderer = new SimpleRenderer(symbol);","html":"<p>  var renderer = new SimpleRenderer(symbol);</p>"},{"id":"text-643","type":"text","heading":"","plain_text":"  featureLayer.setRenderer(renderer);\n  ...\n);","html":"<p>  featureLayer.setRenderer(renderer);\n  ...\n);</p>"},{"id":"text-644","type":"text","heading":"","plain_text":"Set the scale range for the layer.  If minScale and maxScale are set to 0 then the layer will be visible at all scales. (Added at v2.5)\nParameters:","html":"<p>Set the scale range for the layer.  If minScale and maxScale are set to 0 then the layer will be visible at all scales. (Added at v2.5)\nParameters:</p>"},{"id":"text-645","type":"text","heading":"","plain_text":"&lt;Nombre&gt; minScale\nChamps obligatoires\nThe minimum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a minimum scale.","html":"<p>&lt;Nombre&gt; minScale\nChamps obligatoires\nThe minimum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a minimum scale.</p>"},{"id":"text-646","type":"text","heading":"","plain_text":"&lt;Nombre&gt; maxScale\nChamps obligatoires\nThe maximum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a maximum scale.","html":"<p>&lt;Nombre&gt; maxScale\nChamps obligatoires\nThe maximum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a maximum scale.</p>"},{"id":"text-647","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-648","type":"text","heading":"","plain_text":"featureLayer.setScaleRange(591657528,147914381);","html":"<p>featureLayer.setScaleRange(591657528,147914381);</p>"},{"id":"text-649","type":"text","heading":"","plain_text":"Sets the selection symbol for the feature layer. If no symbol is specified, features are drawn using the layer&#39;s renderer.\nParameters:","html":"<p>Sets the selection symbol for the feature layer. If no symbol is specified, features are drawn using the layer&#039;s renderer.\nParameters:</p>"},{"id":"text-650","type":"text","heading":"","plain_text":"&lt;symbole&gt; symbol\nChamps obligatoires\nSymbol for the current selection. Make sure the symbol type is appropriate for the geometry type of the layer.","html":"<p>&lt;symbole&gt; symbol\nChamps obligatoires\nSymbol for the current selection. Make sure the symbol type is appropriate for the geometry type of the layer.</p>"},{"id":"text-651","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-652","type":"text","heading":"","plain_text":"require([\n  \"esri/layers/FeatureLayer\", \"esri/symbols/SimpleFillSymbol\", \"esri/Color\", ... \n], function(FeatureLayer, SimpleFillSymbol, Color, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  var selectionSymbol = new SimpleFillSymbol().setColor(new Color([255,255,0,0.5]));\n  featureLayer.setSelectionSymbol(selectionSymbol);\n  ...\n);","html":"<p>require([\n  &quot;esri/layers/FeatureLayer&quot;, &quot;esri/symbols/SimpleFillSymbol&quot;, &quot;esri/Color&quot;, ... \n], function(FeatureLayer, SimpleFillSymbol, Color, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  var selectionSymbol = new SimpleFillSymbol().setColor(new Color([255,255,0,0.5]));\n  featureLayer.setSelectionSymbol(selectionSymbol);\n  ...\n);</p>"},{"id":"text-653","type":"text","heading":"","plain_text":"Sets whether to display labels or not. Set to false to turn off labeling. (Added at v3.11)\nParameters:","html":"<p>Sets whether to display labels or not. Set to false to turn off labeling. (Added at v3.11)\nParameters:</p>"},{"id":"text-654","type":"text","heading":"","plain_text":"&lt;Booléen&gt; showLabels\nChamps obligatoires\nSet to true to show labels.","html":"<p>&lt;Booléen&gt; showLabels\nChamps obligatoires\nSet to true to show labels.</p>"},{"id":"text-655","type":"text","heading":"","plain_text":"Sets the time definition for the feature layer. A time definition temporarily filters the features in the layer to match the specified time extent. Only applicable for time-aware layers. Only supported when the feature layer is in snapshot mode. \nIn addition to time definition, time-aware layers also support the time extent set on the map. Time-aware layers automatically update when the map&#39;s time extent is changed, similar to how layers react when the map&#39;s spatial reference is modified. If a layer&#39;s time definition is set to display features between 1970 and 1975 and the map has a time extent set to 1972-1980, the effective time on the feature layer will be 1972-1975","html":"<p>Sets the time definition for the feature layer. A time definition temporarily filters the features in the layer to match the specified time extent. Only applicable for time-aware layers. Only supported when the feature layer is in snapshot mode. \nIn addition to time definition, time-aware layers also support the time extent set on the map. Time-aware layers automatically update when the map&#039;s time extent is changed, similar to how layers react when the map&#039;s spatial reference is modified. If a layer&#039;s time definition is set to display features between 1970 and 1975 and the map has a time extent set to 1972-1980, the effective time on the feature layer will be 1972-1975</p>"},{"id":"text-656","type":"text","heading":"","plain_text":"Parameters:","html":"<p>Parameters:</p>"},{"id":"text-657","type":"text","heading":"","plain_text":"&lt;TimeExtent&gt; definition\nChamps obligatoires\nThe new time extent used to filter the layer.","html":"<p>&lt;TimeExtent&gt; definition\nChamps obligatoires\nThe new time extent used to filter the layer.</p>"},{"id":"text-658","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-659","type":"text","heading":"","plain_text":"require([\n  \"esri/TimeExtent\", \"esri/layers/FeatureLayer\", ... \n], function(TimeExtent, FeatureLayer, ... ) \n  var defn = new TimeExtent();\n  var featureLayer( ... );\n  defn.startTime = new Date(&quot;November 30,2009 6:00:00&quot;)\n  defn.endTime = new Date(&quot;November 30, 2009 8:00:00&quot;);\n  featureLayer.setTimeDefinition(defn);\n  ...\n);","html":"<p>require([\n  &quot;esri/TimeExtent&quot;, &quot;esri/layers/FeatureLayer&quot;, ... \n], function(TimeExtent, FeatureLayer, ... ) \n  var defn = new TimeExtent();\n  var featureLayer( ... );\n  defn.startTime = new Date(&quot;November 30,2009 6:00:00&quot;)\n  defn.endTime = new Date(&quot;November 30, 2009 8:00:00&quot;);\n  featureLayer.setTimeDefinition(defn);\n  ...\n);</p>"},{"id":"text-660","type":"text","heading":"","plain_text":"Time offset allows you to display the features at a different time so they can be overlaid on top of previous or future time periods. For example, to visualize the growth pattern of two wild fires that happened in two different years, one of the layers can be given an offset that will cause it to appear as if the fire started at the same time as the other fire. Note that the offset does not change the temporal component of the data itself and has no effect if the layer is not time aware.\nExample: If a layer has data recorded for the year 1970, an offset value of 2 years would temporarily shift the data to 1972 (for display purposes only, query and selection are not affected by offset).","html":"<p>Time offset allows you to display the features at a different time so they can be overlaid on top of previous or future time periods. For example, to visualize the growth pattern of two wild fires that happened in two different years, one of the layers can be given an offset that will cause it to appear as if the fire started at the same time as the other fire. Note that the offset does not change the temporal component of the data itself and has no effect if the layer is not time aware.\nExample: If a layer has data recorded for the year 1970, an offset value of 2 years would temporarily shift the data to 1972 (for display purposes only, query and selection are not affected by offset).</p>"},{"id":"text-661","type":"text","heading":"","plain_text":"Parameters:","html":"<p>Parameters:</p>"},{"id":"text-662","type":"text","heading":"","plain_text":"&lt;Nombre&gt; offsetValue\nChamps obligatoires\nThe length of time to offset from &quot;this&quot; time. Specify a positive or negative whole number.","html":"<p>&lt;Nombre&gt; offsetValue\nChamps obligatoires\nThe length of time to offset from &quot;this&quot; time. Specify a positive or negative whole number.</p>"},{"id":"text-663","type":"text","heading":"","plain_text":"&lt;Chaîne&gt; offsetUnits\nChamps obligatoires\nUnits in which the offset is specified. See the TimeInfo constants for valid values.","html":"<p>&lt;Chaîne&gt; offsetUnits\nChamps obligatoires\nUnits in which the offset is specified. See the TimeInfo constants for valid values.</p>"},{"id":"text-664","type":"text","heading":"","plain_text":"Determine if the layer will update its content based on the map&#39;s current time extent. Default value is true. (Added at v2.2)\nParameters:","html":"<p>Determine if the layer will update its content based on the map&#039;s current time extent. Default value is true. (Added at v2.2)\nParameters:</p>"},{"id":"text-665","type":"text","heading":"","plain_text":"&lt;Booléen&gt; update\nChamps obligatoires\nWhen false the layer will not update its content based on the map&#39;s time extent. Default value is true.","html":"<p>&lt;Booléen&gt; update\nChamps obligatoires\nWhen false the layer will not update its content based on the map&#039;s time extent. Default value is true.</p>"},{"id":"text-666","type":"text","heading":"","plain_text":"Sets the visibility of the layer. When true, the layer is visible.\nParameters:","html":"<p>Sets the visibility of the layer. When true, the layer is visible.\nParameters:</p>"},{"id":"text-667","type":"text","heading":"","plain_text":"&lt;Booléen&gt; isVisible\nChamps obligatoires\nSet the visibility of the layer.","html":"<p>&lt;Booléen&gt; isVisible\nChamps obligatoires\nSet the visibility of the layer.</p>"},{"id":"text-668","type":"text","heading":"","plain_text":"Toggles WebGL rendering on/off on the layer. (Added at v3.24)\nParameters:","html":"<p>Toggles WebGL rendering on/off on the layer. (Added at v3.24)\nParameters:</p>"},{"id":"text-669","type":"text","heading":"","plain_text":"&lt;Booléen&gt; enable\nChamps obligatoires\nIndicates whether to enable WebGL on the layer.","html":"<p>&lt;Booléen&gt; enable\nChamps obligatoires\nIndicates whether to enable WebGL on the layer.</p>"},{"id":"text-670","type":"text","heading":"","plain_text":"Sample: \nlayer.setWebGLEnabled(true);","html":"<p>Sample: \nlayer.setWebGLEnabled(true);</p>"},{"id":"text-671","type":"text","heading":"","plain_text":"Sets the visibility of the layer to &quot;true&quot;.","html":"<p>Sets the visibility of the layer to &quot;true&quot;.</p>"},{"id":"text-672","type":"text","heading":"","plain_text":"Suspends layer drawing. (Added at v3.1)","html":"<p>Suspends layer drawing. (Added at v3.1)</p>"},{"id":"text-673","type":"text","heading":"","plain_text":"Returns an easily serializable object representation of the layer. Regardless of the layer&#39;s mode of operation, only features currently available on the client are included.","html":"<p>Returns an easily serializable object representation of the layer. Regardless of the layer&#039;s mode of operation, only features currently available on the client are included.</p>"},{"id":"text-674","type":"text","heading":"","plain_text":"  layerDefinition: ,","html":"<p>  layerDefinition: ,</p>"},{"id":"text-675","type":"text","heading":"","plain_text":"    featureSet:","html":"<p>    featureSet:</p>"},{"id":"text-676","type":"text","heading":"","plain_text":"    features:","html":"<p>    features:</p>"},{"id":"text-677","type":"text","heading":"","plain_text":"Détails de l&#39;évènement\n[[[[On Style Events | Connect Style Event ]","html":"<p>Détails de l&#039;évènement\n[[[[On Style Events | Connect Style Event ]</p>"},{"id":"text-678","type":"text","heading":"","plain_text":"Fires when addAttachments() is complete. Should be used in favor of onAddAttachmentComplete. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when addAttachments() is complete. Should be used in favor of onAddAttachmentComplete. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-679","type":"text","heading":"","plain_text":"&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added.","html":"<p>&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added.</p>"},{"id":"text-680","type":"text","heading":"","plain_text":"Fired before edits are applied to the feature layer. Should be used in favor of onBeforeApplyEdits. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fired before edits are applied to the feature layer. Should be used in favor of onBeforeApplyEdits. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-681","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service.","html":"<p>&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service.</p>"},{"id":"text-682","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; deletes\nArray of features to delete.","html":"<p>&lt;Graphic[]&gt; deletes\nArray of features to delete.</p>"},{"id":"text-683","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed.","html":"<p>&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed.</p>"},{"id":"text-684","type":"text","heading":"","plain_text":"Fired when the capabilities of the layer are modified using the setEditable method. Should be used in favor of onCapabilitiesChange. (Added at v3.5)","html":"<p>Fired when the capabilities of the layer are modified using the setEditable method. Should be used in favor of onCapabilitiesChange. (Added at v3.5)</p>"},{"id":"text-685","type":"text","heading":"","plain_text":"Fires when a graphic has been clicked. Should be used in favor of onClick. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when a graphic has been clicked. Should be used in favor of onClick. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-686","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","html":"<p>&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.</p>"},{"id":"text-687","type":"text","heading":"","plain_text":"Fires when a feature has been double clicked. (Added at v3.6)\nEvent Object Properties:","html":"<p>Fires when a feature has been double clicked. (Added at v3.6)\nEvent Object Properties:</p>"},{"id":"text-688","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic.","html":"<p>&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic.</p>"},{"id":"text-689","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-690","type":"text","heading":"","plain_text":"require([\n  \"dojo/_base/connect\", \"esri/toolbars/Edit\", ... \n], function(connect, Edit, ... ) \n  var editToolbar = new Edit( ... );\n  connect.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt) \n    editToolbar.activate(Edit.EDIT_VERTICES , evt.graphic);\n  );\n  ...\n);","html":"<p>require([\n  &quot;dojo/_base/connect&quot;, &quot;esri/toolbars/Edit&quot;, ... \n], function(connect, Edit, ... ) \n  var editToolbar = new Edit( ... );\n  connect.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt) \n    editToolbar.activate(Edit.EDIT_VERTICES , evt.graphic);\n  );\n  ...\n);</p>"},{"id":"text-691","type":"text","heading":"","plain_text":"Fires when deleteAttachments is complete. Should be used in favor of onDeleteAttachmentsComplete. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when deleteAttachments is complete. Should be used in favor of onDeleteAttachmentsComplete. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-692","type":"text","heading":"","plain_text":"&lt;Objet[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed.","html":"<p>&lt;Objet[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed.</p>"},{"id":"text-693","type":"text","heading":"","plain_text":"Fires after applyEdits() is complete. Should be used in favor of onEditsComplete. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires after applyEdits() is complete. Should be used in favor of onEditsComplete. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-694","type":"text","heading":"","plain_text":"&lt;FeatureEditResult[]&gt; adds\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature.","html":"<p>&lt;FeatureEditResult[]&gt; adds\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature.</p>"},{"id":"text-695","type":"text","heading":"","plain_text":"&lt;FeatureEditResult[]&gt; deletes\nAn array of result objects, one for each feature, indicating if it was successfully deleted. If the feature was deleted the result object will contain the unique object ID previously assigned to the feature.","html":"<p>&lt;FeatureEditResult[]&gt; deletes\nAn array of result objects, one for each feature, indicating if it was successfully deleted. If the feature was deleted the result object will contain the unique object ID previously assigned to the feature.</p>"},{"id":"text-696","type":"text","heading":"","plain_text":"&lt;FeatureEditResult[]&gt; updates\nAn array of result objects, one for each feature, indicating if it was successfully updated. If the feature was updated the result object will contain the unique object ID assigned to the feature.","html":"<p>&lt;FeatureEditResult[]&gt; updates\nAn array of result objects, one for each feature, indicating if it was successfully updated. If the feature was updated the result object will contain the unique object ID assigned to the feature.</p>"},{"id":"text-697","type":"text","heading":"","plain_text":"Fires when there is a problem retrieving a layer. Should be used in favor of onError. (Added at v3.5)","html":"<p>Fires when there is a problem retrieving a layer. Should be used in favor of onError. (Added at v3.5)</p>"},{"id":"text-698","type":"text","heading":"","plain_text":"Fired when the geodatabase version is switched. (Added at v3.5)","html":"<p>Fired when the geodatabase version is switched. (Added at v3.5)</p>"},{"id":"text-699","type":"text","heading":"","plain_text":"Fires when a graphic is added to the GraphicsLayer. Should be used in favor of onGraphicAdd. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when a graphic is added to the GraphicsLayer. Should be used in favor of onGraphicAdd. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-700","type":"text","heading":"","plain_text":"&lt;Graphic&gt; graphic\nThe added graphic.","html":"<p>&lt;Graphic&gt; graphic\nThe added graphic.</p>"},{"id":"text-701","type":"text","heading":"","plain_text":"Fires when a graphic is drawn. A graphic is drawn or redrawn when:","html":"<p>Fires when a graphic is drawn. A graphic is drawn or redrawn when:</p>"},{"id":"text-702","type":"text","heading":"","plain_text":"When it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn.","html":"<p>When it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn.</p>"},{"id":"text-703","type":"text","heading":"","plain_text":"(Added at v3.7)\nEvent Object Properties:","html":"<p>(Added at v3.7)\nEvent Object Properties:</p>"},{"id":"text-704","type":"text","heading":"","plain_text":"&lt;Graphic&gt; graphic\nGraphic being drawn. When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#39;s DOM node is accessible with graphic.getNode().","html":"<p>&lt;Graphic&gt; graphic\nGraphic being drawn. When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#039;s DOM node is accessible with graphic.getNode().</p>"},{"id":"text-705","type":"text","heading":"","plain_text":"Fires when a graphic&#39;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)","html":"<p>Fires when a graphic&#039;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)</p>"},{"id":"text-706","type":"text","heading":"","plain_text":"This event is fired when a graphic&#39;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:","html":"<p>This event is fired when a graphic&#039;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:</p>"},{"id":"text-707","type":"text","heading":"","plain_text":"Graphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image).","html":"<p>Graphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image).</p>"},{"id":"text-708","type":"text","heading":"","plain_text":"Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)","html":"<p>Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)</p>"},{"id":"text-709","type":"text","heading":"","plain_text":"Fires when a graphic is removed from the GraphicsLayer. Should be used in favor of onGraphicRemove. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when a graphic is removed from the GraphicsLayer. Should be used in favor of onGraphicRemove. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-710","type":"text","heading":"","plain_text":"&lt;Graphic&gt; graphic\nThe removed graphic.","html":"<p>&lt;Graphic&gt; graphic\nThe removed graphic.</p>"},{"id":"text-711","type":"text","heading":"","plain_text":"Fires when all graphics in the GraphicsLayer are cleared. Should be used in favor of onGraphicsClear. (Added at v3.5)","html":"<p>Fires when all graphics in the GraphicsLayer are cleared. Should be used in favor of onGraphicsClear. (Added at v3.5)</p>"},{"id":"text-712","type":"text","heading":"","plain_text":"Fired when labeling info on the layer changes. (Added at v3.10)","html":"<p>Fired when labeling info on the layer changes. (Added at v3.10)</p>"},{"id":"text-713","type":"text","heading":"","plain_text":"Fires after layer properties for the layer are successfully populated. This event must be successful before the layer can be added to the map. Should be used in favor of onLoad. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires after layer properties for the layer are successfully populated. This event must be successful before the layer can be added to the map. Should be used in favor of onLoad. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-714","type":"text","heading":"","plain_text":"&lt;Couche&gt; layer\nThe loaded layer.","html":"<p>&lt;Couche&gt; layer\nThe loaded layer.</p>"},{"id":"text-715","type":"text","heading":"","plain_text":"Fires when a mouse button is pressed down and the mouse cursor is on a graphic. Should be used in favor of onMouseDown. (Added at v3.5)","html":"<p>Fires when a mouse button is pressed down and the mouse cursor is on a graphic. Should be used in favor of onMouseDown. (Added at v3.5)</p>"},{"id":"text-716","type":"text","heading":"","plain_text":"Fires while the mouse is being dragged until the mouse button is released. Should be used in favor of onMouseDrag. (Added at v3.5)","html":"<p>Fires while the mouse is being dragged until the mouse button is released. Should be used in favor of onMouseDrag. (Added at v3.5)</p>"},{"id":"text-717","type":"text","heading":"","plain_text":"Fires as the mouse moves through a graphic on the GraphicsLayer. Should be used in favor of onMouseMove. (Added at v3.5)","html":"<p>Fires as the mouse moves through a graphic on the GraphicsLayer. Should be used in favor of onMouseMove. (Added at v3.5)</p>"},{"id":"text-718","type":"text","heading":"","plain_text":"Fires as the mouse exits a graphic on the GraphicsLayer. Should be used in favor of onMouseOut. (Added at v3.5)","html":"<p>Fires as the mouse exits a graphic on the GraphicsLayer. Should be used in favor of onMouseOut. (Added at v3.5)</p>"},{"id":"text-719","type":"text","heading":"","plain_text":"Fires when the mouse first enters into a graphic on the GraphicsLayer. Should be used in favor of onMouseOver. (Added at v3.5)","html":"<p>Fires when the mouse first enters into a graphic on the GraphicsLayer. Should be used in favor of onMouseOver. (Added at v3.5)</p>"},{"id":"text-720","type":"text","heading":"","plain_text":"Fires when a mouse button is released and the mouse cursor is on a graphic. Should be used in favor of onMouseUp. (Added at v3.5)","html":"<p>Fires when a mouse button is released and the mouse cursor is on a graphic. Should be used in favor of onMouseUp. (Added at v3.5)</p>"},{"id":"text-721","type":"text","heading":"","plain_text":"Fires when the layer opacity has been changed, and returns an object with the opacity value. Should be used in favor of onOpacityChange. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when the layer opacity has been changed, and returns an object with the opacity value. Should be used in favor of onOpacityChange. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-722","type":"text","heading":"","plain_text":"&lt;Nombre&gt; opacity\nFires when the layer opacity (transparency) changes. A number property named opacity that indicates the new opacity. Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.","html":"<p>&lt;Nombre&gt; opacity\nFires when the layer opacity (transparency) changes. A number property named opacity that indicates the new opacity. Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.</p>"},{"id":"text-723","type":"text","heading":"","plain_text":"Fires when queryAttachmentInfos method is called. Should be used in favor of onQueryAttachmentInfosComplete. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when queryAttachmentInfos method is called. Should be used in favor of onQueryAttachmentInfosComplete. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-724","type":"text","heading":"","plain_text":"&lt;Objet[]&gt; info\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size.","html":"<p>&lt;Objet[]&gt; info\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size.</p>"},{"id":"text-725","type":"text","heading":"","plain_text":"Fires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. Should be used in favor of onQueryCountComplete. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. Should be used in favor of onQueryCountComplete. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-726","type":"text","heading":"","plain_text":"&lt;Nombre&gt; count\nThe number of features that satisfy the input query.","html":"<p>&lt;Nombre&gt; count\nThe number of features that satisfy the input query.</p>"},{"id":"text-727","type":"text","heading":"","plain_text":"Fires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties:","html":"<p>Fires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties:</p>"},{"id":"text-728","type":"text","heading":"","plain_text":"&lt;Nombre&gt; count\nThe count of features.","html":"<p>&lt;Nombre&gt; count\nThe count of features.</p>"},{"id":"text-729","type":"text","heading":"","plain_text":"&lt;Extent&gt; extent\nThe extent of features.","html":"<p>&lt;Extent&gt; extent\nThe extent of features.</p>"},{"id":"text-730","type":"text","heading":"","plain_text":"Fires when queryFeatures() is complete. Should be used in favor of onQueryFeaturesComplete. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when queryFeatures() is complete. Should be used in favor of onQueryFeaturesComplete. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-731","type":"text","heading":"","plain_text":"&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query.","html":"<p>&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query.</p>"},{"id":"text-732","type":"text","heading":"","plain_text":"Fires when queryIds() is complete. Should be used in favor of onQueryIdsComplete. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when queryIds() is complete. Should be used in favor of onQueryIdsComplete. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-733","type":"text","heading":"","plain_text":"&lt;Nombre[]&gt; objectIds\nArray of ObjectIds returned from the query.","html":"<p>&lt;Nombre[]&gt; objectIds\nArray of ObjectIds returned from the query.</p>"},{"id":"text-734","type":"text","heading":"","plain_text":"Fired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. Should be used in favor of onQueryLimitExceeded. (Added at v3.5)","html":"<p>Fired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. Should be used in favor of onQueryLimitExceeded. (Added at v3.5)</p>"},{"id":"text-735","type":"text","heading":"","plain_text":"Fires when queryRelatedFeatures() is complete. Should be used in favor of onQueryRelatedFeaturesComplete. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when queryRelatedFeatures() is complete. Should be used in favor of onQueryRelatedFeaturesComplete. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-736","type":"text","heading":"","plain_text":"&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table.","html":"<p>&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table.</p>"},{"id":"text-737","type":"text","heading":"","plain_text":"  &quot;15&quot;: ,\n  &quot;9&quot;:","html":"<p>  &quot;15&quot;: ,\n  &quot;9&quot;:</p>"},{"id":"text-738","type":"text","heading":"","plain_text":"This event is fired when the layer&#39;s refreshInterval is modified. (Added at v3.7)","html":"<p>This event is fired when the layer&#039;s refreshInterval is modified. (Added at v3.7)</p>"},{"id":"text-739","type":"text","heading":"","plain_text":"Fires right before the actual refresh kicks in for the layer, and only fires when the refresh is triggered by the refreshInterval.  (Added at v3.27)","html":"<p>Fires right before the actual refresh kicks in for the layer, and only fires when the refresh is triggered by the refreshInterval.  (Added at v3.27)</p>"},{"id":"text-740","type":"text","heading":"","plain_text":"Fires when a layer resumes drawing. (Added at v3.6)","html":"<p>Fires when a layer resumes drawing. (Added at v3.6)</p>"},{"id":"text-741","type":"text","heading":"","plain_text":"Fires when a layer&#39;s minScale and/or maxScale is changed. Should be used in favor of onScaleRangeChange. (Added at v3.5)","html":"<p>Fires when a layer&#039;s minScale and/or maxScale is changed. Should be used in favor of onScaleRangeChange. (Added at v3.5)</p>"},{"id":"text-742","type":"text","heading":"","plain_text":"Fires when a layer&#39;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#39;s scale range or vice versa. Should be used in favor of onScaleVisibilityChange. (Added at v3.5)","html":"<p>Fires when a layer&#039;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#039;s scale range or vice versa. Should be used in favor of onScaleVisibilityChange. (Added at v3.5)</p>"},{"id":"text-743","type":"text","heading":"","plain_text":"Fires after clearSelection has been called. Should be used in favor of onSelectionClear. (Added at v3.5)","html":"<p>Fires after clearSelection has been called. Should be used in favor of onSelectionClear. (Added at v3.5)</p>"},{"id":"text-744","type":"text","heading":"","plain_text":"Fires when selectFeatures() completes. Should be used in favor of onSelectionComplete. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when selectFeatures() completes. Should be used in favor of onSelectionComplete. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-745","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set.","html":"<p>&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set.</p>"},{"id":"text-746","type":"text","heading":"","plain_text":"&lt;Nombre&gt; method\nSelection method used in the selectFeatures method.","html":"<p>&lt;Nombre&gt; method\nSelection method used in the selectFeatures method.</p>"},{"id":"text-747","type":"text","heading":"","plain_text":"Fired when the feature layer&#39;s labels are changed. Should be used in favor of onShowLabelsChange. (Added at v3.11)","html":"<p>Fired when the feature layer&#039;s labels are changed. Should be used in favor of onShowLabelsChange. (Added at v3.11)</p>"},{"id":"text-748","type":"text","heading":"","plain_text":"Fires when a layer suspends drawing. (Added at v3.6)","html":"<p>Fires when a layer suspends drawing. (Added at v3.6)</p>"},{"id":"text-749","type":"text","heading":"","plain_text":"Fired when the layer has finished updating its content. This event is always preceded by update-start. Should be used in favor of onUpdateEnd. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fired when the layer has finished updating its content. This event is always preceded by update-start. Should be used in favor of onUpdateEnd. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-750","type":"text","heading":"","plain_text":"&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update.","html":"<p>&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update.</p>"},{"id":"text-751","type":"text","heading":"","plain_text":"&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8","html":"<p>&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8</p>"},{"id":"text-752","type":"text","heading":"","plain_text":"Fired when the layer begins to update its content. The following table describes when the event is fired in various modes.","html":"<p>Fired when the layer begins to update its content. The following table describes when the event is fired in various modes.</p>"},{"id":"text-753","type":"text","heading":"","plain_text":"Instantané","html":"<p>Instantané</p>"},{"id":"text-754","type":"text","heading":"","plain_text":"When the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#39;s time extent changes.\nWhen the layer is refreshed.","html":"<p>When the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#039;s time extent changes.\nWhen the layer is refreshed.</p>"},{"id":"text-755","type":"text","heading":"","plain_text":"OnDemand","html":"<p>OnDemand</p>"},{"id":"text-756","type":"text","heading":"","plain_text":"When the layer is added to the map.\nWhen the map&#39;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed.","html":"<p>When the layer is added to the map.\nWhen the map&#039;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed.</p>"},{"id":"text-757","type":"text","heading":"","plain_text":"Selection","html":"<p>Selection</p>"},{"id":"text-758","type":"text","heading":"","plain_text":"The event is not fired in selection mode.","html":"<p>The event is not fired in selection mode.</p>"},{"id":"text-759","type":"text","heading":"","plain_text":"(Added at v3.6)","html":"<p>(Added at v3.6)</p>"},{"id":"text-760","type":"text","heading":"","plain_text":"Fires when the layer visibility has been changed, and returns an object with a Boolean visible property containing the new visibility value of the layer. Should be used in favor of onVisibilityChange. (Added at v3.5)\nEvent Object Properties:","html":"<p>Fires when the layer visibility has been changed, and returns an object with a Boolean visible property containing the new visibility value of the layer. Should be used in favor of onVisibilityChange. (Added at v3.5)\nEvent Object Properties:</p>"},{"id":"text-761","type":"text","heading":"","plain_text":"&lt;Booléen&gt; visible\nFires when the layer visibility changes. A boolean property named visible indicates whether or not the layer is visible after visibility changed.","html":"<p>&lt;Booléen&gt; visible\nFires when the layer visibility changes. A boolean property named visible indicates whether or not the layer is visible after visibility changed.</p>"},{"id":"text-762","type":"text","heading":"","plain_text":"Fires when addAttachments() is complete.\nEvent Object Properties:","html":"<p>Fires when addAttachments() is complete.\nEvent Object Properties:</p>"},{"id":"text-763","type":"text","heading":"","plain_text":"&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added.","html":"<p>&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added.</p>"},{"id":"text-764","type":"text","heading":"","plain_text":"Fired before edits are applied to the feature layer.\nEvent Object Properties:","html":"<p>Fired before edits are applied to the feature layer.\nEvent Object Properties:</p>"},{"id":"text-765","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service.","html":"<p>&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service.</p>"},{"id":"text-766","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed.","html":"<p>&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed.</p>"},{"id":"text-767","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; deletes\nArray of features to delete.","html":"<p>&lt;Graphic[]&gt; deletes\nArray of features to delete.</p>"},{"id":"text-768","type":"text","heading":"","plain_text":"Fired when the capabilities of the layer are modified using the setEditable méthode. (Added at v2.6)\nSample:","html":"<p>Fired when the capabilities of the layer are modified using the setEditable méthode. (Added at v2.6)\nSample:</p>"},{"id":"text-769","type":"text","heading":"","plain_text":"dojo.connect(featureLayer,&#39;onCapabilitiesChange&#39;,function()","html":"<p>dojo.connect(featureLayer,&#039;onCapabilitiesChange&#039;,function()</p>"},{"id":"text-770","type":"text","heading":"","plain_text":"  var capabilities = featureLayer.getEditCapabilities();","html":"<p>  var capabilities = featureLayer.getEditCapabilities();</p>"},{"id":"text-771","type":"text","heading":"","plain_text":");","html":"<p>);</p>"},{"id":"text-772","type":"text","heading":"","plain_text":"Fires when a graphic has been clicked.\nEvent Object Properties:","html":"<p>Fires when a graphic has been clicked.\nEvent Object Properties:</p>"},{"id":"text-773","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","html":"<p>&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.</p>"},{"id":"text-774","type":"text","heading":"","plain_text":"Fires when a feature has been double clicked.\nEvent Object Properties:","html":"<p>Fires when a feature has been double clicked.\nEvent Object Properties:</p>"},{"id":"text-775","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic.","html":"<p>&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic.</p>"},{"id":"text-776","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-777","type":"text","heading":"","plain_text":"dojo.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt)","html":"<p>dojo.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt)</p>"},{"id":"text-778","type":"text","heading":"","plain_text":"  editToolbar.activate(esri.toolbars.Edit.EDIT_VERTICES , evt.graphic);","html":"<p>  editToolbar.activate(esri.toolbars.Edit.EDIT_VERTICES , evt.graphic);</p>"},{"id":"text-779","type":"text","heading":"","plain_text":");","html":"<p>);</p>"},{"id":"text-780","type":"text","heading":"","plain_text":"Fires when deleteAttachments is complete.\nEvent Object Properties:","html":"<p>Fires when deleteAttachments is complete.\nEvent Object Properties:</p>"},{"id":"text-781","type":"text","heading":"","plain_text":"&lt;FeatureEditResult[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed.","html":"<p>&lt;FeatureEditResult[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed.</p>"},{"id":"text-782","type":"text","heading":"","plain_text":"Fires after applyEdits() has been called.\nEvent Object Properties:","html":"<p>Fires after applyEdits() has been called.\nEvent Object Properties:</p>"},{"id":"text-783","type":"text","heading":"","plain_text":"&lt;FeatureEditResult[]&gt; addResults\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature.","html":"<p>&lt;FeatureEditResult[]&gt; addResults\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature.</p>"},{"id":"text-784","type":"text","heading":"","plain_text":"&lt;FeatureEditResult[]&gt; updateResults\nAn array of result objects, one for each feature, indicating if it was successfully updated.","html":"<p>&lt;FeatureEditResult[]&gt; updateResults\nAn array of result objects, one for each feature, indicating if it was successfully updated.</p>"},{"id":"text-785","type":"text","heading":"","plain_text":"&lt;FeatureEditResult[]&gt; deleteResults\nAn array of result objects, one for each feature, indicating if the it was successfully deleted.","html":"<p>&lt;FeatureEditResult[]&gt; deleteResults\nAn array of result objects, one for each feature, indicating if the it was successfully deleted.</p>"},{"id":"text-786","type":"text","heading":"","plain_text":"Fires when there is a problem retrieving a layer. (Added at v1.3)","html":"<p>Fires when there is a problem retrieving a layer. (Added at v1.3)</p>"},{"id":"text-787","type":"text","heading":"","plain_text":"Fires when a graphic is added to the GraphicsLayer.\nEvent Object Properties:","html":"<p>Fires when a graphic is added to the GraphicsLayer.\nEvent Object Properties:</p>"},{"id":"text-788","type":"text","heading":"","plain_text":"&lt;Graphic&gt; graphic\nThe added graphic.","html":"<p>&lt;Graphic&gt; graphic\nThe added graphic.</p>"},{"id":"text-789","type":"text","heading":"","plain_text":"Fires when a graphic is drawn. A graphic is drawn or redrawn when:","html":"<p>Fires when a graphic is drawn. A graphic is drawn or redrawn when:</p>"},{"id":"text-790","type":"text","heading":"","plain_text":"When it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn.","html":"<p>When it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn.</p>"},{"id":"text-791","type":"text","heading":"","plain_text":"(Added at v3.7)\nEvent Object Properties:","html":"<p>(Added at v3.7)\nEvent Object Properties:</p>"},{"id":"text-792","type":"text","heading":"","plain_text":"&lt;Objet&gt; evt\nle < Graphic > graphique being drawn.  When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#39;s DOM node is accessible with graphic.getNode().","html":"<p>&lt;Objet&gt; evt\nle &lt; Graphic &gt; graphique being drawn.  When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#039;s DOM node is accessible with graphic.getNode().</p>"},{"id":"text-793","type":"text","heading":"","plain_text":"Fires when a graphic&#39;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties:","html":"<p>Fires when a graphic&#039;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties:</p>"},{"id":"text-794","type":"text","heading":"","plain_text":"&lt;Objet&gt; evt\nAn object with the following properties:","html":"<p>&lt;Objet&gt; evt\nAn object with the following properties:</p>"},{"id":"text-795","type":"text","heading":"","plain_text":"< Graphic > graphique:Graphic being drawn.\n   \n< DOM Node > nœud: Graphic&#39;s DOM Node.","html":"<p>&lt; Graphic &gt; graphique:Graphic being drawn.\n   \n&lt; DOM Node &gt; nœud: Graphic&#039;s DOM Node.</p>"},{"id":"text-796","type":"text","heading":"","plain_text":"This event is fired when a graphic&#39;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:","html":"<p>This event is fired when a graphic&#039;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:</p>"},{"id":"text-797","type":"text","heading":"","plain_text":"Graphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image).","html":"<p>Graphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image).</p>"},{"id":"text-798","type":"text","heading":"","plain_text":"Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties:","html":"<p>Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties:</p>"},{"id":"text-799","type":"text","heading":"","plain_text":"&lt;Objet&gt; evt\nAn object with the following properties:","html":"<p>&lt;Objet&gt; evt\nAn object with the following properties:</p>"},{"id":"text-800","type":"text","heading":"","plain_text":"graphique\nGraphic being drawn.","html":"<p>graphique\nGraphic being drawn.</p>"},{"id":"text-801","type":"text","heading":"","plain_text":"nœud\nGraphic&#39;s DOM node.","html":"<p>nœud\nGraphic&#039;s DOM node.</p>"},{"id":"text-802","type":"text","heading":"","plain_text":"Fires when a graphic is removed from the GraphicsLayer.\nEvent Object Properties:","html":"<p>Fires when a graphic is removed from the GraphicsLayer.\nEvent Object Properties:</p>"},{"id":"text-803","type":"text","heading":"","plain_text":"&lt;Graphic&gt; graphic\nThe removed graphic.","html":"<p>&lt;Graphic&gt; graphic\nThe removed graphic.</p>"},{"id":"text-804","type":"text","heading":"","plain_text":"Fires when all graphics in the GraphicsLayer are cleared.","html":"<p>Fires when all graphics in the GraphicsLayer are cleared.</p>"},{"id":"text-805","type":"text","heading":"","plain_text":"Fired when labeling info on the layer changes. (Added at v3.10)","html":"<p>Fired when labeling info on the layer changes. (Added at v3.10)</p>"},{"id":"text-806","type":"text","heading":"","plain_text":"Fires after layer properties for the layer are successfully populated.  This event must be successful before the layer can be added to the map. \nIn Internet Explorer, due to resource caching, the onLoad event is fired as soon as the layer is constructed. Consequently you should check whether the layer&#39;s loaded property is true before registering a listener for the onLoad event:","html":"<p>Fires after layer properties for the layer are successfully populated.  This event must be successful before the layer can be added to the map. \nIn Internet Explorer, due to resource caching, the onLoad event is fired as soon as the layer is constructed. Consequently you should check whether the layer&#039;s loaded property is true before registering a listener for the onLoad event:</p>"},{"id":"text-807","type":"text","heading":"","plain_text":"Event Object Properties:","html":"<p>Event Object Properties:</p>"},{"id":"text-808","type":"text","heading":"","plain_text":"&lt;Couche&gt; layer\nThe loaded layer.","html":"<p>&lt;Couche&gt; layer\nThe loaded layer.</p>"},{"id":"text-809","type":"text","heading":"","plain_text":"Sample: \nfunction init() \n  //setting initial extent in constructor\n  var map = new esri.Map(&quot;mapDiv&quot;,  extent: new esri.geometry.Extent(...) );","html":"<p>Sample: \nfunction init() \n  //setting initial extent in constructor\n  var map = new esri.Map(&quot;mapDiv&quot;,  extent: new esri.geometry.Extent(...) );</p>"},{"id":"text-810","type":"text","heading":"","plain_text":"  //or use set extent method\n  var map = new esri.Map(&quot;mapDiv&quot;);\n  map.setExtent(new esri.geometry.Extent(...));","html":"<p>  //or use set extent method\n  var map = new esri.Map(&quot;mapDiv&quot;);\n  map.setExtent(new esri.geometry.Extent(...));</p>"},{"id":"text-811","type":"text","heading":"","plain_text":"  //add first layer\n  map.addLayer(...);","html":"<p>  //add first layer\n  map.addLayer(...);</p>"},{"id":"text-812","type":"text","heading":"","plain_text":"Fires when a mouse button is pressed down and the mouse cursor is on a graphic.\nEvent Object Properties:","html":"<p>Fires when a mouse button is pressed down and the mouse cursor is on a graphic.\nEvent Object Properties:</p>"},{"id":"text-813","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","html":"<p>&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.</p>"},{"id":"text-814","type":"text","heading":"","plain_text":"Fires while the mouse is being dragged until the mouse button is released.\nEvent Object Properties:","html":"<p>Fires while the mouse is being dragged until the mouse button is released.\nEvent Object Properties:</p>"},{"id":"text-815","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe result can be any JavaScript MouseEvent, or the x and y coordinates of screenPoint or mapPoint.","html":"<p>&lt;Objet&gt; event\nThe result can be any JavaScript MouseEvent, or the x and y coordinates of screenPoint or mapPoint.</p>"},{"id":"text-816","type":"text","heading":"","plain_text":"Fires as the mouse moves through a graphic on the GraphicsLayer.\nEvent Object Properties:","html":"<p>Fires as the mouse moves through a graphic on the GraphicsLayer.\nEvent Object Properties:</p>"},{"id":"text-817","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","html":"<p>&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.</p>"},{"id":"text-818","type":"text","heading":"","plain_text":"Fires as the mouse exits a graphic on the GraphicsLayer.\nEvent Object Properties:","html":"<p>Fires as the mouse exits a graphic on the GraphicsLayer.\nEvent Object Properties:</p>"},{"id":"text-819","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","html":"<p>&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.</p>"},{"id":"text-820","type":"text","heading":"","plain_text":"Fires when the mouse first enters into a graphic on the GraphicsLayer.\nEvent Object Properties:","html":"<p>Fires when the mouse first enters into a graphic on the GraphicsLayer.\nEvent Object Properties:</p>"},{"id":"text-821","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe returned object contains  screenPoint, mapPoint, and Graphic.","html":"<p>&lt;Objet&gt; event\nThe returned object contains  screenPoint, mapPoint, and Graphic.</p>"},{"id":"text-822","type":"text","heading":"","plain_text":"Fires when a mouse button is released and the mouse cursor is on a graphic.\nEvent Object Properties:","html":"<p>Fires when a mouse button is released and the mouse cursor is on a graphic.\nEvent Object Properties:</p>"},{"id":"text-823","type":"text","heading":"","plain_text":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.","html":"<p>&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic.</p>"},{"id":"text-824","type":"text","heading":"","plain_text":"Fires when the layer opacity has been changed, and returns the opacity value.\nEvent Object Properties:","html":"<p>Fires when the layer opacity has been changed, and returns the opacity value.\nEvent Object Properties:</p>"},{"id":"text-825","type":"text","heading":"","plain_text":"&lt;Nombre&gt; opacity\nOpacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.","html":"<p>&lt;Nombre&gt; opacity\nOpacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.</p>"},{"id":"text-826","type":"text","heading":"","plain_text":"Fires when queryAttachmentInfos() is complete.\nEvent Object Properties:","html":"<p>Fires when queryAttachmentInfos() is complete.\nEvent Object Properties:</p>"},{"id":"text-827","type":"text","heading":"","plain_text":"&lt;Objet[]&gt; attachmentInfos\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size.","html":"<p>&lt;Objet[]&gt; attachmentInfos\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size.</p>"},{"id":"text-828","type":"text","heading":"","plain_text":"Fires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. (Added at v2.1)\nEvent Object Properties:","html":"<p>Fires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. (Added at v2.1)\nEvent Object Properties:</p>"},{"id":"text-829","type":"text","heading":"","plain_text":"&lt;Nombre&gt; count\nThe number of features that satisfy the input query.","html":"<p>&lt;Nombre&gt; count\nThe number of features that satisfy the input query.</p>"},{"id":"text-830","type":"text","heading":"","plain_text":"Sample:","html":"<p>Sample:</p>"},{"id":"text-831","type":"text","heading":"","plain_text":"dojo.connect(featureLayer,&#39;onQueryCountComplete&#39;,function(count)","html":"<p>dojo.connect(featureLayer,&#039;onQueryCountComplete&#039;,function(count)</p>"},{"id":"text-832","type":"text","heading":"","plain_text":"  console.log(count + &quot; features satisfied the input query&quot;);","html":"<p>  console.log(count + &quot; features satisfied the input query&quot;);</p>"},{"id":"text-833","type":"text","heading":"","plain_text":");","html":"<p>);</p>"},{"id":"text-834","type":"text","heading":"","plain_text":"Fires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties:","html":"<p>Fires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties:</p>"},{"id":"text-835","type":"text","heading":"","plain_text":"&lt;Extent&gt; extent\nThe extent of features.","html":"<p>&lt;Extent&gt; extent\nThe extent of features.</p>"},{"id":"text-836","type":"text","heading":"","plain_text":"&lt;Nombre&gt; count\nThe count of features.","html":"<p>&lt;Nombre&gt; count\nThe count of features.</p>"},{"id":"text-837","type":"text","heading":"","plain_text":"Fires when queryFeatures() is complete.\nEvent Object Properties:","html":"<p>Fires when queryFeatures() is complete.\nEvent Object Properties:</p>"},{"id":"text-838","type":"text","heading":"","plain_text":"&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query.","html":"<p>&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query.</p>"},{"id":"text-839","type":"text","heading":"","plain_text":"Fires when queryIds() is complete.\nEvent Object Properties:","html":"<p>Fires when queryIds() is complete.\nEvent Object Properties:</p>"},{"id":"text-840","type":"text","heading":"","plain_text":"&lt;Nombre[]&gt; ids\nArray of ObjectIds returned from the query.","html":"<p>&lt;Nombre[]&gt; ids\nArray of ObjectIds returned from the query.</p>"},{"id":"text-841","type":"text","heading":"","plain_text":"Fired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. (Added at v2.8)","html":"<p>Fired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. (Added at v2.8)</p>"},{"id":"text-842","type":"text","heading":"","plain_text":"Fires when queryRelatedFeatures() is complete.\nEvent Object Properties:","html":"<p>Fires when queryRelatedFeatures() is complete.\nEvent Object Properties:</p>"},{"id":"text-843","type":"text","heading":"","plain_text":"&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table.","html":"<p>&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table.</p>"},{"id":"text-844","type":"text","heading":"","plain_text":"  &quot;15&quot;: ,\n  &quot;9&quot;:","html":"<p>  &quot;15&quot;: ,\n  &quot;9&quot;:</p>"},{"id":"text-845","type":"text","heading":"","plain_text":"This event is fired when the layer&#39;s refreshInterval is modified. (Added at v3.7)","html":"<p>This event is fired when the layer&#039;s refreshInterval is modified. (Added at v3.7)</p>"},{"id":"text-846","type":"text","heading":"","plain_text":"Fires when a layer resumes drawing. (Added at v3.1)","html":"<p>Fires when a layer resumes drawing. (Added at v3.1)</p>"},{"id":"text-847","type":"text","heading":"","plain_text":"Fires when a layer&#39;s minScale and/or maxScale is changed. (Added at v3.1)","html":"<p>Fires when a layer&#039;s minScale and/or maxScale is changed. (Added at v3.1)</p>"},{"id":"text-848","type":"text","heading":"","plain_text":"Fires when a layer&#39;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#39;s scale range or vice versa. (Added at v3.1)","html":"<p>Fires when a layer&#039;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#039;s scale range or vice versa. (Added at v3.1)</p>"},{"id":"text-849","type":"text","heading":"","plain_text":"Fires after clearSelection has been called.","html":"<p>Fires after clearSelection has been called.</p>"},{"id":"text-850","type":"text","heading":"","plain_text":"Fires when selectFeatures() has completed. OnSelectionComplete always fires unless there is an error returned by the server.\nEvent Object Properties:","html":"<p>Fires when selectFeatures() has completed. OnSelectionComplete always fires unless there is an error returned by the server.\nEvent Object Properties:</p>"},{"id":"text-851","type":"text","heading":"","plain_text":"&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set.","html":"<p>&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set.</p>"},{"id":"text-852","type":"text","heading":"","plain_text":"&lt;Nombre&gt; selectionMethod\nSelection method used in the selectFeatures method.","html":"<p>&lt;Nombre&gt; selectionMethod\nSelection method used in the selectFeatures method.</p>"},{"id":"text-853","type":"text","heading":"","plain_text":"Fires when the labels of the featurelayer have changed. (Added at v3.11)","html":"<p>Fires when the labels of the featurelayer have changed. (Added at v3.11)</p>"},{"id":"text-854","type":"text","heading":"","plain_text":"Fires when a layer suspends drawing. (Added at v3.1)","html":"<p>Fires when a layer suspends drawing. (Added at v3.1)</p>"},{"id":"text-855","type":"text","heading":"","plain_text":"Fired when the layer has finished updating its content. This event is always preceded by onUpdateStart\nEvent Object Properties:","html":"<p>Fired when the layer has finished updating its content. This event is always preceded by onUpdateStart\nEvent Object Properties:</p>"},{"id":"text-856","type":"text","heading":"","plain_text":"&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update.","html":"<p>&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update.</p>"},{"id":"text-857","type":"text","heading":"","plain_text":"&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8","html":"<p>&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8</p>"},{"id":"text-858","type":"text","heading":"","plain_text":"Fired when the layer begins to update its content. The following table describes when the event is fired in various modes.","html":"<p>Fired when the layer begins to update its content. The following table describes when the event is fired in various modes.</p>"},{"id":"text-859","type":"text","heading":"","plain_text":"Instantané","html":"<p>Instantané</p>"},{"id":"text-860","type":"text","heading":"","plain_text":"When the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#39;s time extent changes.\nWhen the layer is refreshed.","html":"<p>When the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#039;s time extent changes.\nWhen the layer is refreshed.</p>"},{"id":"text-861","type":"text","heading":"","plain_text":"OnDemand","html":"<p>OnDemand</p>"},{"id":"text-862","type":"text","heading":"","plain_text":"When the layer is added to the map.\nWhen the map&#39;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed.","html":"<p>When the layer is added to the map.\nWhen the map&#039;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed.</p>"},{"id":"text-863","type":"text","heading":"","plain_text":"Selection","html":"<p>Selection</p>"},{"id":"text-864","type":"text","heading":"","plain_text":"The event is not fired in selection mode.","html":"<p>The event is not fired in selection mode.</p>"},{"id":"text-865","type":"text","heading":"","plain_text":"Fires when the layer visibility has been changed, and returns the new visibility.\nEvent Object Properties:","html":"<p>Fires when the layer visibility has been changed, and returns the new visibility.\nEvent Object Properties:</p>"},{"id":"text-866","type":"text","heading":"","plain_text":"&lt;Booléen&gt; visbility\nDetermines whether the layer is visible on the map.","html":"<p>&lt;Booléen&gt; visbility\nDetermines whether the layer is visible on the map.</p>"},{"id":"text-867","type":"text","heading":"","plain_text":"Click to rate this post!\n                                   \n                               [Total: 0  Average: 0]","html":"<p>Click to rate this post!\n                                   \n                               [Total: 0  Average: 0]</p>"}],"sections":[{"id":"text-1","heading":"Text","content":"exiger([\"esri/layers/FeatureLayer\"], function (FeatureLayer) / * code va ici * /);\nLa description"},{"id":"text-2","heading":"Text","content":"(Ajouté à la v2.0)\nLa couche d&#39;entités hérite de la couche graphique et peut être utilisée pour afficher les entités d&#39;une seule couche dans un service de carte ou un service d&#39;entités. La couche peut être une couche (spatiale) ou une table (non spatiale). Les entités d’une couche d’entités peuvent être modifiées si le est éditable méthode est vraie.\nFeatureLayer utilisera par défaut les informations de dessin du serveur (requiert ArcGIS Server 10 ou une version ultérieure). Pour un exemple, voir le moteur de rendu simple dans le Informations de dessin à http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer/0"},{"id":"text-3","heading":"Text","content":"Rendu WebGL\nÀ partir de la version 3.24, vous pouvez choisir de rendre FeatureLayer avec WebGL. Cela vous permet d&#39;afficher plus de données sur la carte et de mettre à jour plus rapidement la visualisation des entités. Pour activer le rendu WebGL de FeatureLayer, collez le script suivant dans votre application avant de charger l&#39;API ArcGIS pour JavaScript:"},{"id":"text-4","heading":"Text","content":"Une fois activé globalement pour l&#39;application, WebGL peut être activé / désactivé à l&#39;aide de l&#39;API ci-dessous:"},{"id":"text-5","heading":"Text","content":"Limites connues\nLes limitations suivantes des FeatureLayers rendues par WebGL peuvent être modifiées dans les versions futures. Si l&#39;une de ces conditions n&#39;est pas remplie, la couche bascule automatiquement de WebGL à SVG pendant la session."},{"id":"text-6","heading":"Text","content":"La prise en charge est limitée aux couches créées à partir de services d&#39;entités hébergés sur ArcGIS Online et de services d&#39;entités d&#39;entreprise non hébergés versions 10.6.1 ou ultérieure. Les FeatureLayers créés à partir de FeatureCollections ne sont pas pris en charge.\nLes couches de polygones doivent prendre en charge le retour des centroïdes.\nLe calque ne doit pas être éditable.\nLa couche ne doit pas être groupée.\nLa couche doit utiliser le mode de récupération à la demande.\nLa couche ne doit pas utiliser d&#39;étiquettes.\nLa couche ne doit pas utiliser d&#39;expressions Arcade contenant des opérations de géométrie.\nLe rendu de la couche doit être de type SimpleRenderer, ClassBreaksRenderer ou UniqueValueRenderer.\nLes variables visuelles de couleur et d&#39;opacité doivent avoir 8 arrêts ou moins.\nLes variables visuelles de taille gérées par les attributs doivent comporter 6 arrêts ou moins. Cela n&#39;affecte pas les variables générées par l&#39;échelle de la carte.\nLes symboles de ligne ne doivent pas avoir de flèches.\nLe symbole de sélection n&#39;est pas pris en charge."},{"id":"text-7","heading":"Text","content":"Notez que seul l&#39;événement click se déclenche lorsque WebGL est activé. Tous les autres événements ne sont pas pris en charge. Les sous-classes FeatureLayer ne prennent pas en charge le rendu WebGL. Notez également que la modification des attributs, des symboles, de la géométrie et de la visibilité des entités individuelles dans un calque rendu WebGL n&#39;aura aucun effet."},{"id":"text-8","heading":"Text","content":"Des échantillons\n      Rechercher des échantillons qui utilisent cette classe.\nHiérarchie de classe\nesri / layers / Layer\n| _esri / layers / GraphicsLayer\n  | _esri / layers / FeatureLayer\nSous-classes\nConstructeurs\nConstantes"},{"id":"text-9","heading":"Text","content":"MODE_AUTO"},{"id":"text-10","heading":"Text","content":"Déléguez en mode à la demande ou en mode instantané en fonction des caractéristiques du service. Cela ne s&#39;applique qu&#39;aux services d&#39;entités hébergés.\nSi le nombre total d&#39;entités dans une couche est inférieur à maxRecordCount et si le nombre total de sommets est inférieur à 250 000, le mode Instantané est utilisé. Sinon, le mode à la demande est utilisé. Ce mode a pour but de réduire la charge côté serveur. Au lieu d&#39;obtenir un petit nombre de fonctionnalités avec plusieurs requêtes (mode à la demande), obtenez toutes les fonctionnalités avec une seule requête. Ce mode nécessite une demande supplémentaire avant de récupérer des fonctionnalités."},{"id":"text-11","heading":"Text","content":"MODE_ONDEMAND"},{"id":"text-12","heading":"Text","content":"En mode à la demande, la couche d&#39;entités récupère les entités du serveur en cas de besoin. Ceci est basé sur les exigences définies dans les propriétés suivantes:"},{"id":"text-13","heading":"Text","content":"Propriétés de la carte telles que l&#39;étendue spatiale actuelle et l&#39;heure.\nPropriétés de la couche telles que le décalage temporel et l&#39;expression de définition."},{"id":"text-14","heading":"Text","content":"SÉLECTION DE MODE"},{"id":"text-15","heading":"Text","content":"En mode de sélection, les fonctionnalités sont extraites du serveur uniquement lorsqu&#39;elles sont sélectionnées. Les fonctionnalités sont disponibles sur le client uniquement lorsqu&#39;elles sont sélectionnées. Pour utiliser les fonctionnalités sélectionnées:"},{"id":"text-16","heading":"Text","content":"Appelez la méthode selectFeatures.\nÉcoutez l&#39;événement onSelectionComplete.\nUne fois que onSelectionComplete est activé, récupérez les entités sélectionnées à l&#39;aide de la méthode getSelectedFeatures."},{"id":"text-17","heading":"Text","content":"Lors de l&#39;édition de couches d&#39;entités en mode sélection, vous devez ajouter le service de carte associé au service d&#39;entités à la carte en tant que service de carte dynamique. Si le service de carte n&#39;est pas ajouté en tant que service de carte dynamique, les modifications ne seront pas visibles, car une fois les modifications terminées, la fonctionnalité n&#39;est plus sélectionnée."},{"id":"text-18","heading":"Text","content":"MODE_SNAPSHOT\nEn mode Instantané, la couche d&#39;entités récupère toutes les entités de la ressource de couche associée et les affiche sous forme de graphiques sur le client. Les expressions de définition et les définitions de temps sont honorées. Les entités sont récupérées une fois la couche d’entités ajoutée à la carte. Une fois que l&#39;événement onUpdateEnd a été déclenché, vous pouvez accéder aux fonctionnalités à l&#39;aide de la propriété graphics de la couche ou par le biais d&#39;opérations de sélection et de requête."},{"id":"text-19","heading":"Text","content":"POPUP_HTML_TEXT\nLa popup affiche le contenu en HTML / TEXT."},{"id":"text-20","heading":"Text","content":"POPUP_NONE\nAucun type de popup défini."},{"id":"text-21","heading":"Text","content":"POPUP_URL\nLa popup affiche le contenu d&#39;une URL."},{"id":"text-22","heading":"Text","content":"SELECTION_ADD\nAjoute des fonctionnalités au jeu de sélection actuel."},{"id":"text-23","heading":"Text","content":"SELECTION_NEW\nCrée une nouvelle sélection."},{"id":"text-24","heading":"Text","content":"SELECTION_SUBTRACT\nSupprime les fonctionnalités de la sélection actuelle."},{"id":"text-25","heading":"Text","content":"Propriétés"},{"id":"text-26","heading":"Text","content":"advancedQueryCapabilities\nObjet\nUn objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue."},{"id":"text-27","heading":"Text","content":"allowGeometryUpdates\nBooléen\nRenvoie true si la géométrie des entités de la couche peut être modifiée, false sinon."},{"id":"text-28","heading":"Text","content":"allowUpdateWithoutValues\nBooléen\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées."},{"id":"text-29","heading":"Text","content":"attributionDataUrl\nChaîne\nL&#39;URL, le cas échéant, où sont stockées les données d&#39;attribution de la couche."},{"id":"text-30","heading":"Text","content":"capacités\nChaîne\nInformations sur les fonctionnalités activées pour cette couche."},{"id":"text-31","heading":"Text","content":"nom du cours\nChaîne\nattribut de classe du nœud de la couche."},{"id":"text-32","heading":"Text","content":"droits d&#39;auteur\nChaîne\nInformations de copyright pour la couche."},{"id":"text-33","heading":"Text","content":"titre de compétence\nCredential\nFournit des informations d&#39;identification pour la couche, telles que l&#39;ID utilisateur et le jeton, si cette couche représente une ressource sécurisée avec une authentification par jeton."},{"id":"text-34","heading":"Text","content":"dataAttributes\nChaîne    | Chaîne[]\nListe des champs d&#39;attribut ajoutés en tant qu&#39;attributs de données personnalisés au nœud graphique."},{"id":"text-35","heading":"Text","content":"defaultDefinitionExpression\nChaîne\nMétadonnées décrivant l&#39;expression de définition par défaut de la couche telle que définie par le service."},{"id":"text-36","heading":"Text","content":"defaultVisibility\nBooléen\nIndique la visibilité par défaut de la couche."},{"id":"text-37","heading":"Text","content":"la description\nChaîne\nLa description de la couche telle que définie dans le service de carte."},{"id":"text-38","heading":"Text","content":"displayField\nChaîne\nNom du champ d&#39;affichage principal de la couche."},{"id":"text-39","heading":"Text","content":"editFieldsInfo\nObjet\nIndique les noms de champs pour les champs de l&#39;éditeur."},{"id":"text-40","heading":"Text","content":"éditionInfo\nObjet\nApplicable aux services de fonctionnalités hébergés sur ArcGIS Online."},{"id":"text-41","heading":"Text","content":"des champs\nChamp[]\nLe tableau de champs dans la couche."},{"id":"text-42","heading":"Text","content":"fullExtent\nAmpleur\nL&#39;étendue complète de la couche."},{"id":"text-43","heading":"Text","content":"gdbVersion\nChaîne\nLa version de la géodatabase."},{"id":"text-44","heading":"Text","content":"geometryType\nChaîne\nType de géométrie des entités de la couche."},{"id":"text-45","heading":"Text","content":"globalIdField\nChaîne\nLe globalIdField pour la couche."},{"id":"text-46","heading":"Text","content":"graphique\nGraphique[]\nTableau de fonctionnalités dans la couche."},{"id":"text-47","heading":"Text","content":"hasAllFeatures\nBooléen\nIndique si le calque affiche toutes les entités intersectant la vue actuelle."},{"id":"text-48","heading":"Text","content":"hasAttachments\nBooléen\nVrai si les pièces jointes sont activées sur la couche d&#39;entités."},{"id":"text-49","heading":"Text","content":"hasAttributionData\nBooléen\nLorsque la valeur est true, la couche contient des données d&#39;attribution."},{"id":"text-50","heading":"Text","content":"htmlPopupType\nChaîne\nLe type de popup html défini pour la couche."},{"id":"text-51","heading":"Text","content":"identifiant\nChaîne\nID attribué à la couche."},{"id":"text-52","heading":"Text","content":"infoTemplate\nInfoTemplate\nLe modèle d&#39;informations pour la couche."},{"id":"text-53","heading":"Text","content":"étiquetageInfo\nLabelClass[]\nDéfinition de l&#39;étiquette pour cette couche, spécifiée comme un tableau de classes d&#39;étiquettes."},{"id":"text-54","heading":"Text","content":"layerId\nNombre\nID unique de la couche sur laquelle FeatureLayer a été construit."},{"id":"text-55","heading":"Text","content":"loadError\nErreur\nDéfinir si le chargement de la couche a échoué."},{"id":"text-56","heading":"Text","content":"chargé\nBooléen\nLorsque la couche est chargée, la valeur devient &quot;true&quot; et les propriétés de la couche sont accessibles."},{"id":"text-57","heading":"Text","content":"maxAllowableOffset\nNombre\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables."},{"id":"text-58","heading":"Text","content":"maxRecordCount\nNombre\nNombre maximal de résultats renvoyés par une requête."},{"id":"text-59","heading":"Text","content":"maxScale\nNombre\nÉchelle maximale visible pour le calque."},{"id":"text-60","heading":"Text","content":"échelle min\nNombre\nÉchelle minimale visible pour le calque."},{"id":"text-61","heading":"Text","content":"multipatchOption\nChaîne\nPrend en charge les services d&#39;entités dont la source de données est une classe multipatch."},{"id":"text-62","heading":"Text","content":"La valeur par défaut est xyFootprint si geometryType est esriGeometryMultiPatch."},{"id":"text-63","heading":"Text","content":"prénom\nChaîne\nNom de la couche tel que défini dans le service de carte."},{"id":"text-64","heading":"Text","content":"objectIdField\nChaîne\nNom du champ contenant le champ ID d&#39;objet pour la couche."},{"id":"text-65","heading":"Text","content":"opacité\nNombre\nOpacité ou transparence du calque."},{"id":"text-66","heading":"Text","content":"propertyBasedAccessControlForFeatures\nObjet\nIndique la configuration du contrôle d&#39;accès de propriété."},{"id":"text-67","heading":"Text","content":"intervalle de rafraîchissement\nNombre\nIntervalle de rafraîchissement de la couche en minutes."},{"id":"text-68","heading":"Text","content":"des relations\nObjet[]\nChaque élément du tableau est un objet décrivant la relation de la couche avec une autre couche ou un autre tableau."},{"id":"text-69","heading":"Text","content":"moteur de rendu\nRenderer\nLe rendu du calque."},{"id":"text-70","heading":"Text","content":"showAttribution\nBooléen\nLorsque la valeur est true, l&#39;attribution de la couche est affichée sur la carte."},{"id":"text-71","heading":"Text","content":"showLabels\nBooléen\nDétermine si les étiquettes sont affichées."},{"id":"text-72","heading":"Text","content":"la source\nLayerSource\nLe calque dynamique ou la source de la table."},{"id":"text-73","heading":"Text","content":"coiffant\nBooléen\nIndique si le calque est responsable du style des graphiques."},{"id":"text-74","heading":"Text","content":"prend en chargeQueries avancées\nBooléen\nLorsque vrai, la couche prend en charge orderByFields dans une opération de requête."},{"id":"text-75","heading":"Text","content":"prend en chargeAttachementsParUploadId\nBooléen\nLorsque la valeur est true, la couche prend en charge le téléchargement de pièces jointes avec l&#39;opération REST Uploads, qui peut ensuite être utilisée dans les opérations REST Ajouter une pièce jointe ou Mettre à jour la pièce jointe."},{"id":"text-76","heading":"Text","content":"soutientCalculer\nBooléen\nLorsque true, la couche prend en charge la Calculer Opération REST lors de la mise à jour des fonctionnalités."},{"id":"text-77","heading":"Text","content":"prend en charge la description du champ\nBooléen\nSi la valeur est true, la couche prend en charge une description de champ définie par l&#39;utilisateur."},{"id":"text-78","heading":"Text","content":"supports statistiques\nBooléen\nLorsque la valeur est true, la couche prend en charge les fonctions statistiques dans les opérations de requête."},{"id":"text-79","heading":"Text","content":"surfaceType\nChaîne\nType de surface graphique vectorielle utilisée pour dessiner des graphiques."},{"id":"text-80","heading":"Text","content":"suspendu\nBooléen\nLorsque true, le calque est suspendu."},{"id":"text-81","heading":"Text","content":"des modèles\nFeatureTemplate[]\nTableau de modèles d&#39;entités définis dans la couche Service d&#39;entités."},{"id":"text-82","heading":"Text","content":"timeInfo\nTimeInfo\nInformations de temps pour la couche, telles que le champ Heure de début, le champ Heure de fin, le champ ID de piste, l&#39;étendue de temps des couches et l&#39;intervalle de temps d&#39;affichage."},{"id":"text-83","heading":"Text","content":"type\nChaîne\nSpécifie le type de couche."},{"id":"text-84","heading":"Text","content":"typeIdField\nChaîne\nLe champ qui représente le champ Type ID."},{"id":"text-85","heading":"Text","content":"les types\nFeatureType[]\nTableau de sous-types définis dans la couche de service d&#39;entités."},{"id":"text-86","heading":"Text","content":"url\nChaîne\nURL de la ressource REST ArcGIS Server qui représente un service de carte."},{"id":"text-87","heading":"Text","content":"version\nNombre\nLa version d&#39;ArcGIS Server où la couche est publiée."},{"id":"text-88","heading":"Text","content":"visible\nBooléen\nVisibilité du calque."},{"id":"text-89","heading":"Text","content":"visibleAtMapScale\nBooléen\nLorsque la valeur est true, le calque est visible à l&#39;échelle de la carte actuelle."},{"id":"text-90","heading":"Text","content":"webglEnabled\nBooléen\nIndique si WebGL est activé sur la couche."},{"id":"text-91","heading":"Text","content":"Les méthodes"},{"id":"text-92","heading":"Text","content":"addAttachment (objectId, formNode, callback ?, errback?)\nDifféré\nAjoutez une pièce jointe à la fonctionnalité spécifiée par ObjectId."},{"id":"text-93","heading":"Text","content":"applyEdits (ajoute ?, met à jour? supprime ?, rappel ?, errback?)\nDifféré\nAppliquez des modifications à la couche d&#39;entités."},{"id":"text-94","heading":"Text","content":"attr (nom, valeur)\nCouche\nAjoute un nouvel attribut ou modifie la valeur d&#39;un attribut existant sur le nœud de la couche."},{"id":"text-95","heading":"Text","content":"clair()\nAucun\nEfface tous les graphiques."},{"id":"text-96","heading":"Text","content":"clearSelection ()\nFeatureLayer\nEfface la sélection en cours."},{"id":"text-97","heading":"Text","content":"deleteAttachments (objectId, attachmentIds, callback ?, errback?)\nDifféré\nSupprimez une ou plusieurs pièces jointes pour la fonctionnalité spécifiée par l&#39;objet ObjectId en entrée."},{"id":"text-98","heading":"Text","content":"disableFeatureReduction ()\nAucun\nDésactive la réduction des fonctionnalités (par exemple la mise en cluster) sur la couche."},{"id":"text-99","heading":"Text","content":"disableMouseEvents ()\nAucun\nDésactive tous les événements de la souris sur la couche graphique."},{"id":"text-100","heading":"Text","content":"enableFeatureReduction ()\nAucun\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur le calque en utilisant les options définies dans setFeatureReduction ()."},{"id":"text-101","heading":"Text","content":"enableMouseEvents ()\nAucun\nActive tous les événements de souris sur la couche graphique."},{"id":"text-102","heading":"Text","content":"getAggregateGraphics ()\nGraphique[]\nRenvoie des graphiques représentant l&#39;agrégation de plusieurs entités ponctuelles regroupées."},{"id":"text-103","heading":"Text","content":"getAttributionData ()\nDifféré\nRenvoie de manière asynchrone des données personnalisées pour la couche lorsqu&#39;elles sont disponibles."},{"id":"text-104","heading":"Text","content":"getDefinitionExpression ()\nChaîne\nRetourne l&#39;expression de définition actuelle."},{"id":"text-105","heading":"Text","content":"getDomain (fieldName, options?)\nDomaine\nRetourne le domaine associé au nom de champ donné."},{"id":"text-106","heading":"Text","content":"getEditCapabilities (options?)\nObjet\nRetourne un objet qui décrit les capacités d&#39;édition du calque."},{"id":"text-107","heading":"Text","content":"getEditInfo (fonctionnalité, options?)\nObjet\nRetourne un objet décrivant l&#39;opération d&#39;édition la plus récente effectuée sur la fonction donnée, si disponible."},{"id":"text-108","heading":"Text","content":"getEditSummary (fonctionnalité, options?)\nChaîne\nRetourne un résumé localisé de la dernière opération d&#39;édition effectuée sur la fonction donnée, si disponible."},{"id":"text-109","heading":"Text","content":"getFeatureReduction ()\nObjet\nRenvoie les options utilisées pour réduire le nombre d&#39;entités visualisées par la couche (par exemple, la mise en cluster)."},{"id":"text-110","heading":"Text","content":"getField (fieldName)\nChamp\nRenvoie le Champ étant donné le nom de champ spécifié."},{"id":"text-111","heading":"Text","content":"getMap ()\nCarte\nRenvoie la référence au contrôle de la carte auquel la couche est ajoutée."},{"id":"text-112","heading":"Text","content":"getMaxAllowableOffset ()\nNombre\nRenvoie la valeur actuelle du maxAllowableOffset utilisé par la couche."},{"id":"text-113","heading":"Text","content":"getNode ()\nHTMLElement\nRenvoie le nœud DOM de la couche."},{"id":"text-114","heading":"Text","content":"getOrderByFields ()\nChaîne[]\nRenvoie la liste des champs utilisés pour commander les entités par."},{"id":"text-115","heading":"Text","content":"getSelectedFeatures ()\nGraphique[]\nObtient les fonctionnalités actuellement sélectionnées."},{"id":"text-116","heading":"Text","content":"getSelectionSymbol ()\nsymbole\nObtient le symbole de sélection actuel."},{"id":"text-117","heading":"Text","content":"getSingleGraphics ()\nGraphique[]\nRenvoie les graphiques de la couche qui ne sont pas représentés par des graphiques agrégés lorsque la réduction des fonctionnalités (telle que la mise en cluster) est activée."},{"id":"text-118","heading":"Text","content":"getTimeDefinition ()\nTimeExtent\nObtenir la définition de l&#39;heure actuelle appliquée à la couche d&#39;entités."},{"id":"text-119","heading":"Text","content":"getType (fonctionnalité)\nFeatureType\nRetourne un FeatureType décrivant le type de l&#39;entité."},{"id":"text-120","heading":"Text","content":"hasUpdateError ()\nAucun\nIndique si une erreur est générée après la mise à jour de la couche."},{"id":"text-121","heading":"Text","content":"hasWebGLSurface ()\nBooléen\nIndique si le calque est rendu dans WebGL."},{"id":"text-122","heading":"Text","content":"hasXYFootprint ()\nBooléen\nRésultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint."},{"id":"text-123","heading":"Text","content":"cacher()\nAucun\nDéfinit la visibilité du calque sur &quot;false&quot;."},{"id":"text-124","heading":"Text","content":"isEditable ()\nBooléen\nRenvoie true si FeatureLayer est modifiable."},{"id":"text-125","heading":"Text","content":"isFeatureReductionActive ()\nBooléen\nIndique si la réduction des fonctionnalités (par exemple, la mise en cluster) est active dans la vue."},{"id":"text-126","heading":"Text","content":"isFeatureReductionEnabled ()\nBooléen\nIndique si la réduction de fonctionnalité (par exemple la mise en cluster) est activée."},{"id":"text-127","heading":"Text","content":"isVisibleAtScale (scale)\nBooléen\nRenvoie true si le calque est visible à l&#39;échelle donnée."},{"id":"text-128","heading":"Text","content":"queryAttachmentInfos (objectId, callback ?, errback?)\nDifféré\nDemander des informations sur les pièces jointes associées aux ObjectIds spécifiés."},{"id":"text-129","heading":"Text","content":"queryCount (requête, rappel ?, errback?)\nDifféré\nObtenez un nombre du nombre d&#39;entités qui satisfont la requête d&#39;entrée."},{"id":"text-130","heading":"Text","content":"queryExtent (requête, rappel ?, errback?)\nDifféré\nObtenez l&#39;étendue des fonctionnalités qui répondent à la requête d&#39;entrée."},{"id":"text-131","heading":"Text","content":"queryFeatures (requête, rappel ?, errback?)\nDifféré\nInterrogez les entités de la couche d&#39;entités."},{"id":"text-132","heading":"Text","content":"queryIds (requête, rappel ?, errback?)\nDifféré\nRequête pour ObjectIds."},{"id":"text-133","heading":"Text","content":"queryRelatedFeatures (relQuery, callback?, errback?)\nDifféré\nInterrogez des entités ou des enregistrements, provenant d&#39;une autre couche ou d&#39;une autre table, liés aux entités de cette couche."},{"id":"text-134","heading":"Text","content":"redessiner ()\nAucun\nRedessine tous les graphiques de la couche graphique."},{"id":"text-135","heading":"Text","content":"rafraîchir()\nAucun\nActualise les entités de la couche d’entités."},{"id":"text-136","heading":"Text","content":"enlever (graphique)\nGraphique\nSupprime un graphique."},{"id":"text-137","heading":"Text","content":"CV()\nAucun\nReprend le calque."},{"id":"text-138","heading":"Text","content":"selectFeatures (requête, selectionMethod?, callback?, errback?)\nDifféré\nSélectionne les fonctionnalités de FeatureLayer."},{"id":"text-139","heading":"Text","content":"setAutoGeneralize (activer)\nFeatureLayer\nActiver ou désactiver la généralisation automatique pour la couche."},{"id":"text-140","heading":"Text","content":"setDefinitionExpression (expression)\nFeatureLayer\nDéfinit l&#39;expression de définition pour FeatureLayer."},{"id":"text-141","heading":"Text","content":"setEditable (éditable)\nFeatureLayer\nDéfinissez les possibilités d&#39;édition des couches d&#39;entités créées à partir d&#39;une collection d&#39;entités."},{"id":"text-142","heading":"Text","content":"setFeatureReduction (options)\nAucun\nDéfinit les options de réduction des caractéristiques sur la couche (par exemple, les options de mise en cluster)."},{"id":"text-143","heading":"Text","content":"setGDBVersion (versionName)\nFeatureLayer\nDéfinissez la source de données de la couche sur la version de géodatabase spécifiée."},{"id":"text-144","heading":"Text","content":"setInfoTemplate (infoTemplate)\nAucun\nSpécifiez ou modifiez le modèle d&#39;informations pour une couche."},{"id":"text-145","heading":"Text","content":"setLabelingInfo (étiquetageInfo)\nAucun\nDéfinit les informations d&#39;étiquetage sur la couche."},{"id":"text-146","heading":"Text","content":"setMaxAllowableOffset (offset)\nAucun\nDéfinit le décalage maximum autorisé utilisé lors de la généralisation des géométries."},{"id":"text-147","heading":"Text","content":"setMaxScale (scale)\nAucun\nDéfinissez l&#39;échelle maximale pour le calque."},{"id":"text-148","heading":"Text","content":"setMinScale (scale)\nAucun\nDéfinissez l&#39;échelle minimale pour le calque."},{"id":"text-149","heading":"Text","content":"setOpacity (opacité)\nAucun\nOpacité initiale ou transparence du calque."},{"id":"text-150","heading":"Text","content":"setRefreshInterval (intervalle)\nCouche\nModifie l&#39;intervalle d&#39;actualisation de la couche sur la valeur donnée (en minutes)."},{"id":"text-151","heading":"Text","content":"setRenderer (rendu)\nAucun\nDéfinissez le rendu pour la couche d&#39;entités."},{"id":"text-152","heading":"Text","content":"setScaleRange (minScale, maxScale)\nAucun\nDéfinissez la plage d&#39;échelle pour le calque."},{"id":"text-153","heading":"Text","content":"setSelectionSymbol (symbole)\nFeatureLayer\nDéfinit le symbole de sélection pour la couche d&#39;entités."},{"id":"text-154","heading":"Text","content":"setShowLabels (showLabels)\nAucun\nDéfinit si les étiquettes doivent être affichées ou non."},{"id":"text-155","heading":"Text","content":"setTimeDefinition (définition)\nFeatureLayer\nDéfinit la définition de l&#39;heure pour la couche d&#39;entités."},{"id":"text-156","heading":"Text","content":"setTimeOffset (offsetValue, offsetUnits)\nFeatureLayer\nLe décalage temporel vous permet d&#39;afficher les entités à une heure différente afin qu&#39;elles puissent être superposées au-dessus des périodes précédentes ou futures."},{"id":"text-157","heading":"Text","content":"setUseMapTime (mise à jour)\nAucun\nDéterminez si la couche mettra à jour son contenu en fonction de la durée actuelle de la carte."},{"id":"text-158","heading":"Text","content":"setVisibility (isVisible)\nAucun\nDéfinit la visibilité du calque."},{"id":"text-159","heading":"Text","content":"setWebGLEnabled (activer)\nAucun\nActive / désactive le rendu WebGL sur le calque."},{"id":"text-160","heading":"Text","content":"spectacle()\nAucun\nDéfinit la visibilité du calque sur &quot;true&quot;."},{"id":"text-161","heading":"Text","content":"suspendre()\nAucun\nSuspend le dessin de calque."},{"id":"text-162","heading":"Text","content":"toJson ()\nObjet\nRetourne une représentation d&#39;objet facilement sérialisable de la couche."},{"id":"text-163","heading":"Text","content":"Événements\n[[[[Evénements On Style | Événement de style de connexion ]\nTous les écouteurs d&#39;événement On Style reçoivent un seul objet d&#39;événement. De plus, l&#39;objet événement contient également une propriété &#39;cible&#39; dont la valeur est l&#39;objet qui a déclenché l&#39;événement."},{"id":"text-164","heading":"Text","content":"Événements"},{"id":"text-165","heading":"Text","content":"add-attachment-complete"},{"id":"text-166","heading":"Text","content":"  résultat: &lt;FeatureEditResult&gt;"},{"id":"text-167","heading":"Text","content":"Se déclenche lorsque addAttachments () est terminé."},{"id":"text-168","heading":"Text","content":"avant-application-modifications"},{"id":"text-169","heading":"Text","content":"  ajoute: &lt;Graphique[]&gt;\n  supprime: &lt;Graphique[]&gt;\n  mises à jour: &lt;Graphique[]&gt;"},{"id":"text-170","heading":"Text","content":"Déclenché avant que les modifications ne soient appliquées à la couche d&#39;entités."},{"id":"text-171","heading":"Text","content":"capacités-changement"},{"id":"text-172","heading":"Text","content":"Déclenché lorsque les fonctionnalités de la couche sont modifiées à l&#39;aide de la méthode setEditable."},{"id":"text-173","heading":"Text","content":"Cliquez sur"},{"id":"text-174","heading":"Text","content":"  événement: &lt;Objet&gt;"},{"id":"text-175","heading":"Text","content":"Se déclenche quand un graphique a été cliqué."},{"id":"text-176","heading":"Text","content":"clic-dbl"},{"id":"text-177","heading":"Text","content":"  événement: &lt;Objet&gt;"},{"id":"text-178","heading":"Text","content":"Se déclenche lorsqu&#39;une fonctionnalité a été double-cliquée."},{"id":"text-179","heading":"Text","content":"delete-attachments-complete"},{"id":"text-180","heading":"Text","content":"  résultats: &lt;Objet[]&gt;"},{"id":"text-181","heading":"Text","content":"Se déclenche lorsque deleteAttachments est terminé."},{"id":"text-182","heading":"Text","content":"éditions complètes"},{"id":"text-183","heading":"Text","content":"  ajoute: &lt;FeatureEditResult[]&gt;\n  supprime: &lt;FeatureEditResult[]&gt;\n  mises à jour: &lt;FeatureEditResult[]&gt;"},{"id":"text-184","heading":"Text","content":"Se déclenche une fois que applyEdits () est terminé."},{"id":"text-185","heading":"Text","content":"Erreur"},{"id":"text-186","heading":"Text","content":"  erreur: &lt;Erreur&gt;"},{"id":"text-187","heading":"Text","content":"Se déclenche lorsqu&#39;il y a un problème de récupération d&#39;une couche."},{"id":"text-188","heading":"Text","content":"gdb-version-change"},{"id":"text-189","heading":"Text","content":"Déclenché lorsque la version de la géodatabase est modifiée."},{"id":"text-190","heading":"Text","content":"ajouter graphique"},{"id":"text-191","heading":"Text","content":"  graphique: &lt;Graphique&gt;"},{"id":"text-192","heading":"Text","content":"Se déclenche lorsqu&#39;un graphique est ajouté à GraphicsLayer."},{"id":"text-193","heading":"Text","content":"graphique dessiner"},{"id":"text-194","heading":"Text","content":"  graphique: &lt;Graphique&gt;"},{"id":"text-195","heading":"Text","content":"Se déclenche lorsqu&#39;un graphique est dessiné."},{"id":"text-196","heading":"Text","content":"graph-node-add"},{"id":"text-197","heading":"Text","content":"  graphique: &lt;Graphique&gt;\n  noeud: &lt;HTMLElement&gt;"},{"id":"text-198","heading":"Text","content":"Se déclenche lorsque le nœud DOM d&#39;un graphique est créé et ajouté à la couche."},{"id":"text-199","heading":"Text","content":"noeud-graphique-supprimer"},{"id":"text-200","heading":"Text","content":"  graphique: &lt;Graphique&gt;\n  noeud: &lt;HTMLElement&gt;"},{"id":"text-201","heading":"Text","content":"Cet événement est déclenché lorsque le nœud DOM d&#39;un graphique est supprimé (considérez le nœud détruit)."},{"id":"text-202","heading":"Text","content":"supprimer graphique"},{"id":"text-203","heading":"Text","content":"  graphique: &lt;Graphique&gt;"},{"id":"text-204","heading":"Text","content":"Se déclenche lorsqu&#39;un graphique est supprimé du GraphicsLayer."},{"id":"text-205","heading":"Text","content":"graphisme clair"},{"id":"text-206","heading":"Text","content":"Se déclenche lorsque tous les graphiques du GraphicsLayer sont effacés."},{"id":"text-207","heading":"Text","content":"étiquetage-info-changement"},{"id":"text-208","heading":"Text","content":"Déclenché lors du marquage des informations sur la couche."},{"id":"text-209","heading":"Text","content":"charge"},{"id":"text-210","heading":"Text","content":"  couche: &lt;Couche&gt;"},{"id":"text-211","heading":"Text","content":"Les incendies après les propriétés de calque pour le calque ont été renseignés avec succès."},{"id":"text-212","heading":"Text","content":"souris vers le bas\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est enfoncé et que le curseur de la souris est sur un graphique."},{"id":"text-213","heading":"Text","content":"faites glisser la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris est déplacée jusqu&#39;à ce que le bouton de la souris soit relâché."},{"id":"text-214","heading":"Text","content":"déplacer la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris se déplace dans un graphique du GraphicsLayer."},{"id":"text-215","heading":"Text","content":"sortie de souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris quitte un graphique du GraphicsLayer."},{"id":"text-216","heading":"Text","content":"survoler\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche lorsque la souris entre pour la première fois dans un graphique du GraphicsLayer."},{"id":"text-217","heading":"Text","content":"la souris\n&lt;MouseEvent&gt; mouseEvent\nSe déclenche quand un bouton de la souris est relâché et que le curseur de la souris est sur un graphique."},{"id":"text-218","heading":"Text","content":"changement d&#39;opacité"},{"id":"text-219","heading":"Text","content":"  opacité: &lt;Nombre&gt;"},{"id":"text-220","heading":"Text","content":"Se déclenche lorsque l&#39;opacité du calque a été modifiée et renvoie un objet avec la valeur d&#39;opacité."},{"id":"text-221","heading":"Text","content":"query-attachment-infos-complete"},{"id":"text-222","heading":"Text","content":"  info: &lt;Objet[]&gt;"},{"id":"text-223","heading":"Text","content":"Se déclenche lorsque la méthode queryAttachmentInfos est appelée."},{"id":"text-224","heading":"Text","content":"requête-compte-complet"},{"id":"text-225","heading":"Text","content":"  compter: &lt;Nombre&gt;"},{"id":"text-226","heading":"Text","content":"Se déclenche lorsque la requête pour le compte est terminée."},{"id":"text-227","heading":"Text","content":"requête-étendue-complète"},{"id":"text-228","heading":"Text","content":"  compter: &lt;Nombre&gt;\n  mesure: &lt;Ampleur&gt;"},{"id":"text-229","heading":"Text","content":"Se déclenche lorsque la méthode queryExtent est terminée."},{"id":"text-230","heading":"Text","content":"requête-fonctionnalités-complète"},{"id":"text-231","heading":"Text","content":"  featureSet: &lt;Jeu de fonctionnalités&gt;"},{"id":"text-232","heading":"Text","content":"Se déclenche lorsque queryFeatures () est terminée."},{"id":"text-233","heading":"Text","content":"query-ids-complete"},{"id":"text-234","heading":"Text","content":"  objectIds: &lt;Nombre[]&gt;"},{"id":"text-235","heading":"Text","content":"Se déclenche lorsque queryIds () est terminée."},{"id":"text-236","heading":"Text","content":"limite de requête dépassée"},{"id":"text-237","heading":"Text","content":"Déclenché lorsque la couche d&#39;entités n&#39;a pas pu dessiner toutes les entités en raison d&#39;une limitation de maxRecordCount sur une opération de requête."},{"id":"text-238","heading":"Text","content":"requête-related-features-complete"},{"id":"text-239","heading":"Text","content":"  relatedFeatures: &lt;Objet&gt;"},{"id":"text-240","heading":"Text","content":"Se déclenche lorsque queryRelatedFeatures () est terminée."},{"id":"text-241","heading":"Text","content":"rafraîchissement-intervalle-changement"},{"id":"text-242","heading":"Text","content":"Cet événement est déclenché lorsque la couche est intervalle de rafraîchissement est modifié."},{"id":"text-243","heading":"Text","content":"rafraichissement"},{"id":"text-244","heading":"Text","content":"Se déclenche juste avant l&#39;actualisation de la couche et ne se déclenche que lorsque l&#39;actualisation est déclenchée par la commande refreshInterval."},{"id":"text-245","heading":"Text","content":"CV"},{"id":"text-246","heading":"Text","content":"Se déclenche lorsqu&#39;un calque reprend son dessin."},{"id":"text-247","heading":"Text","content":"changement de gamme d&#39;échelle"},{"id":"text-248","heading":"Text","content":"Se déclenche lorsque les propriétés minScale et / ou maxScale d&#39;une couche sont modifiées."},{"id":"text-249","heading":"Text","content":"échelle-visibilité-changement"},{"id":"text-250","heading":"Text","content":"Se déclenche lorsque la visibilité d&#39;échelle d&#39;un calque change."},{"id":"text-251","heading":"Text","content":"sélection-clear"},{"id":"text-252","heading":"Text","content":"Se déclenche après l&#39;appel de clearSelection."},{"id":"text-253","heading":"Text","content":"sélection complète"},{"id":"text-254","heading":"Text","content":"  caractéristiques: &lt;Graphique[]&gt;\n  méthode: &lt;Nombre&gt;"},{"id":"text-255","heading":"Text","content":"Se déclenche lorsque selectFeatures () est terminé."},{"id":"text-256","heading":"Text","content":"show-labels-change"},{"id":"text-257","heading":"Text","content":"Déclenché lorsque les étiquettes de la couche d&#39;entités sont modifiées."},{"id":"text-258","heading":"Text","content":"suspendre"},{"id":"text-259","heading":"Text","content":"Se déclenche lorsqu&#39;un calque suspend le dessin."},{"id":"text-260","heading":"Text","content":"mettre à jour"},{"id":"text-261","heading":"Text","content":"Se déclenche chaque fois qu&#39;une couche a fini de se charger ou de se mettre à jour."},{"id":"text-262","heading":"Text","content":"fin de mise à jour"},{"id":"text-263","heading":"Text","content":"  erreur: &lt;Erreur&gt;\n  info: &lt;Objet&gt;"},{"id":"text-264","heading":"Text","content":"Déclenché lorsque la couche a fini de mettre à jour son contenu."},{"id":"text-265","heading":"Text","content":"mise à jour-début"},{"id":"text-266","heading":"Text","content":"Déclenché lorsque la couche commence à mettre à jour son contenu."},{"id":"text-267","heading":"Text","content":"changement de visibilité"},{"id":"text-268","heading":"Text","content":"  visible: &lt;Booléen&gt;"},{"id":"text-269","heading":"Text","content":"Se déclenche lorsque la visibilité du calque a été modifiée et renvoie un objet avec une propriété booléenne visible contenant la nouvelle valeur de visibilité du calque."},{"id":"text-270","heading":"Text","content":"Détails du constructeur"},{"id":"text-271","heading":"Text","content":"Crée une nouvelle instance d&#39;un objet de couche d&#39;entités à partir de la ressource REST ArcGIS Server identifiée par l&#39;URL d&#39;entrée. Une fois créé, vous pouvez éventuellement définir une expression de définition ou une définition de temps.\nParamètres:"},{"id":"text-272","heading":"Text","content":"&lt;Chaîne&gt; url\nChamps obligatoires\nURL de la ressource REST ArcGIS Server qui représente un service de fonctionnalité. Un exemple est http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0. Pour plus d&#39;informations sur la construction d&#39;une URL, voir Le répertoire de services et l&#39;API REST."},{"id":"text-273","heading":"Text","content":"&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options."},{"id":"text-274","heading":"Text","content":"options Propriétés:"},{"id":"text-275","heading":"Text","content":"&lt;Booléen&gt; allowUpdateWithoutMValues\nOptionnel\nIndique si les entités attributaires contenant des valeurs m peuvent être modifiées. La valeur par défaut est faux."},{"id":"text-276","heading":"Text","content":"&lt;Booléen&gt; autoGeneralize\nOptionnel\nActiver ou désactiver la généralisation automatique des fonctionnalités d&#39;un calque non modifiable en mode à la demande. Lorsque la valeur est true, la couche utilise la résolution actuelle de la carte comme maxAllowableOffset pour toutes les requêtes envoyées au serveur. La valeur par défaut est true. À partir de v2.7"},{"id":"text-277","heading":"Text","content":"&lt;Chaîne&gt; className\nOptionnel\nAttribut de classe à définir pour le nœud de la couche."},{"id":"text-278","heading":"Text","content":"&lt;Chaîne&gt; definitionExpression\nOptionnel\nClause Where à utiliser comme expression de définition pour la couche. Ajouté à la v3.11"},{"id":"text-279","heading":"Text","content":"&lt;Booléen&gt; displayOnPan\nOptionnel\nLorsque la valeur est true, les graphiques sont affichés pendant le panoramique. Lorsque la valeur est false, les graphiques sont désactivés pendant le déplacement du panoramique. La définition de false peut améliorer les performances dans Internet Explorer. Le défaut est vrai."},{"id":"text-280","heading":"Text","content":"&lt;Une fonction&gt; editSummaryCallback\nOptionnel\nDéfinir une fonction de rappel qui sera appelée par  FeatureLayer.getEditSummary. À partir de v2.8"},{"id":"text-281","heading":"Text","content":"&lt;Objet&gt; caractéristiqueRéduction\nOptionnel\nActive la réduction des fonctionnalités (par exemple la mise en cluster) sur les couches de points. Voir setFeatureReduction () pour plus de détails. Voir le fonctionRéduction tableau de spécification d&#39;objet ci-dessous pour les options pouvant être définies dans cet objet. \nLa prise en charge de la réduction des fonctionnalités est limitée aux scénarios suivants:"},{"id":"text-282","heading":"Text","content":"Données de points (provenant du service ou de FeatureCollection).\nLa carte doit avoir une référence spatiale Web Mercator ou WGS84.\nSi la couche contient plus de 50 000 entités, seules les 50 000 premières seront mises en cluster.\nUne FeatureLayer créée à partir d&#39;une URL de service doit pointer vers un service prenant en charge la pagination (ArcGIS Server version 10.3.1 ou ultérieure).\nLorsque la modification est lancée avec le widget Editeur, la réduction des fonctionnalités est désactivée jusqu&#39;à ce que le widget Editeur soit détruit.\nLa réduction de fonctionnalité est désactivée lorsque la couche a l&#39;un des moteurs de rendu suivants: HeatmapRenderer,\n        BlendRenderer, Rendu temporel, ou\n        ScaleDependentRenderer."},{"id":"text-283","heading":"Text","content":"&lt;Chaîne&gt; gdbVersion\nOptionnel\nSpécifiez la version de la géodatabase à afficher. (À partir de v2.7). Requiert le service ArcGIS Server 10.1 ou supérieur"},{"id":"text-284","heading":"Text","content":"&lt;Chaîne&gt; id\nOptionnel\nID unique à attribuer à la couche. Si non assigné, esri.Carte crée un identifiant unique."},{"id":"text-285","heading":"Text","content":"&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nLe modèle qui définit le contenu à afficher dans la fenêtre d&#39;informations de la carte lorsque l&#39;utilisateur clique sur une entité. Si non spécifié, la fenêtre d&#39;information ne sera pas affichée."},{"id":"text-286","heading":"Text","content":"&lt;Nombre&gt; maxAllowableOffset\nOptionnel\nDécalage maximum autorisé, applicable uniquement aux couches non modifiables."},{"id":"text-287","heading":"Text","content":"&lt;Nombre&gt; mode\nOptionnel\nLe mode de requête pour la couche d&#39;entités. Chaque mode détermine quand et combien de fonctionnalités sont envoyées au client. Le mode par défaut consiste à interroger à la demande lorsque l&#39;étendue, l&#39;heure et la définition de la couche changent. Vous pouvez spécifier les valeurs suivantes:"},{"id":"text-288","heading":"Text","content":"FeatureLayer.MODE_SNAPSHOT: les fonctionnalités sont extraites du serveur en fonction de DefinitionExpression et TimeDefinition. Si la définition change, la couche se met à jour en interrogeant les entités depuis le serveur. Une fois que les entités ont été récupérées sur le client, leur &quot;visibilité&quot; sur la carte est basée sur le temps et l&#39;étendue spatiale de la carte. Par exemple, pour une animation temporelle, vous pouvez demander toutes les fonctionnalités au serveur, puis ajuster l&#39;étendue temporelle sur la carte pour afficher uniquement un sous-ensemble.\nFeatureLayer.MODE_ONDEMAND: les fonctionnalités sont extraites du serveur selon les besoins.\nFeatureLayer.MODE_SELECTION: seules les fonctionnalités sélectionnées sont disponibles sur le client. Généralement utilisé en combinaison avec un service de carte dynamique affichant les entités pouvant être sélectionnées.\nFeatureLayer.MODE_AUTO: Les fonctionnalités sont extraites en mode à la demande ou en mode instantané, en fonction des caractéristiques du service. Applicable uniquement aux services d&#39;entités hébergés. Voir le tableau des constantes pour plus de détails."},{"id":"text-289","heading":"Text","content":"La valeur par défaut est MODE_ONDEMAND.\nVoir le tableau des constantes pour plus de détails sur chaque mode."},{"id":"text-290","heading":"Text","content":"&lt;Nombre&gt; opacité\nOptionnel\nOpacité initiale ou transparence du calque. Les valeurs vont de 0,0 à 1,0, 0,0 étant transparent à 100% et 1,0 non transparent. La valeur par défaut est 1.0. Non pris en charge dans Internet Explorer."},{"id":"text-291","heading":"Text","content":"&lt;Chaîne[]&gt; orderByFields\nOptionnel\nUn ou plusieurs champs utilisés pour classer les entités &#8211; pour les requêtes ainsi que pour le rendu."},{"id":"text-292","heading":"Text","content":"Spécifiquement ASC (ascendant) ou DESC (décroissant) après le nom du champ pour contrôler l&#39;ordre. Exemple: [ \"POPULATION DESC\" ].\nLors de la visualisation d&#39;une couche d&#39;entités à l&#39;aide d&#39;un moteur de rendu avec dimensionnement basé sur les données, cette option est utile pour garantir que les entités plus petites sont dessinées par-dessus les plus grandes et ne sont pas cachées dessous.\nS&#39;il n&#39;est pas spécifié, la couche d&#39;entités choisira l&#39;ordre comme suit:"},{"id":"text-293","heading":"Text","content":"La couche a un rendu avec dimensionnement basé sur les données: ordre décroissant de Renderer.sizeInfo.field.\nLa couche a un ClassBreaksRenderer avec backgroundFillSymbol: ordre décroissant de Renderer.attributeField.\nLa couche a un ClassBreaksRenderer où chaque saut a différentes tailles de symbole: ordre décroissant de Renderer.attributeField."},{"id":"text-294","heading":"Text","content":"&lt;Chaîne[]&gt; les champs\nOptionnel\nUn tableau de chaînes qui correspondent aux champs à inclure dans FeatureLayer. Si non spécifié, la couche d&#39;entités renverra le champ OBJECTID et, le cas échéant, le champ d&#39;heure de début, le champ d&#39;heure de fin et le champ de type id. Vous pouvez spécifier [\"*\"]    Pour récupérer les valeurs de tous les champs de la couche, cela est utile lors de la modification des entités."},{"id":"text-295","heading":"Text","content":"&lt;Nombre&gt; refreshInterval\nOptionnel\nIntervalle de rafraîchissement de la couche en minutes. Une valeur autre que zéro définit l&#39;actualisation automatique de la couche à l&#39;intervalle spécifié."},{"id":"text-296","heading":"Text","content":"&lt;Objet&gt; resourceInfo\nOptionnel\nSpécifiez les métadonnées de la couche."},{"id":"text-297","heading":"Text","content":"&lt;Booléen&gt; showAttribution\nOptionnel\nLorsque la valeur est true, l&#39;attribution de la couche est affichée sur la carte. La valeur par défaut est true. Ajouté à la v3.1"},{"id":"text-298","heading":"Text","content":"exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var censusBlock = new FeatureLayer (layerUrl, \n    showAttribution: false\n  );\n  ...\n);"},{"id":"text-299","heading":"Text","content":"&lt;Booléen&gt; showLabels\nOptionnel\nIndique si les étiquettes doivent être affichées sur la couche.\nSi un libellé est défini pour le FeatureLayer, les libellés s’affichent automatiquement si la carte showLabels est vrai. \nSi vous ne souhaitez pas que l’étiquette de la couche d’entité apparaisse, vous pouvez remplacer ce comportement en définissant son showLabels propriété à false.\nIndique si les étiquettes doivent être affichées. Si la valeur est true, toute FeatureLayer ajoutée à la carte sera automatiquement étiquetée en fonction de labelInfo. La valeur par défaut est false. Ajouté à la v3.11 \nREMARQUE: pour que les étiquettes s&#39;affichent, tous les champs utilisés par labelInfo doivent être définis dans les champs. De plus, seul un étiquetage simple est pris en charge, par exemple NOM DE VILLE. Par exemple, les mots-clés SQL tels que &quot;CONCAT&quot; ne sont pas pris en charge. Pensez à utiliser la classe LabelLayer où vous pouvez spécifier le  textexpression si besoin de plus de fonctionnalités."},{"id":"text-300","heading":"Text","content":"var map = nouvelle carte (&quot;map&quot;, showLabels: true);\n  ...\n  var fl1 = new FeatureLayer (url, showLabels: true, outFields: [\"*\"]);\n  var fl2 = new FeatureLayer (url2, showLabels: false, outFields: [\"*\"]);\n  map.addLayers ([fls, fl2])"},{"id":"text-301","heading":"Text","content":"Ajouté à la v3.11"},{"id":"text-302","heading":"Text","content":"&lt;LayerSource&gt; source\nOptionnel\nLe calque dynamique ou la source de la table. L&#39;URL devrait se terminer par / dynamicLayer."},{"id":"text-303","heading":"Text","content":"&lt;Nombre&gt; carrelage\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#39;une valeur telle que 512&#215;256 n&#39;est pas prise en charge."},{"id":"text-304","heading":"Text","content":"&lt;Nombre&gt; largeur du carreau\nOptionnel\nSpécifiez la taille des mosaïques virtuelles, utilisées en mode à la demande. Le schéma de mosaïque virtuel est utilisé en mode à la demande pour utiliser efficacement la mise en cache du navigateur. La valeur par défaut est 512. Cette option est valide uniquement en mode à la demande et doit être un carré. Par exemple, la spécification d&#39;une valeur telle que 512&#215;256 n&#39;est pas prise en charge."},{"id":"text-305","heading":"Text","content":"exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var featureLayer = new FeatureLayer (&quot;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/1&quot;, \n    mode: FeatureLayer.MODE_ONDEMAND,\n    tileWidth: 200,\n    mosaïqueHauteur: 200\n  );\n  ...\n);"},{"id":"text-306","heading":"Text","content":"&lt;Chaîne&gt; trackIdField\nOptionnel\nLe nom de la pisteIdField."},{"id":"text-307","heading":"Text","content":"exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var featureLayer = new FeatureLayer (featureLayerURL, \n    mode: FeatureLayer.MODE_SELECTION,\n    trackIdField: &quot;Animal_1&quot;\n  );\n  ...\n);"},{"id":"text-308","heading":"Text","content":"&lt;Booléen&gt; useMapTime\nOptionnel\nLorsque la valeur est true, la couche mettra à jour son contenu en fonction de la durée de la carte. Les valeurs par défaut sont true."},{"id":"text-309","heading":"Text","content":"&lt;Booléen&gt; visible\nOptionnel\nVisibilité initiale du calque. Le défaut est vrai."},{"id":"text-310","heading":"Text","content":"&lt;Booléen&gt; webglEnabled\nOptionnel\nIndique si la couche activera le rendu de WebGL. La valeur par défaut est vrai."},{"id":"text-311","heading":"Text","content":"Spécifications de l&#39;objet: \n&lt;fonctionRéduction&gt;"},{"id":"text-312","heading":"Text","content":"&lt;Nombre&gt; clusterRadius\nOptionnel\nRayon en pixels de chaque zone dans laquelle plusieurs points seront résumés et visualisés sous la forme d&#39;un cluster unique."},{"id":"text-313","heading":"Text","content":"&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nL&#39;InfoTemplate utilisé pour afficher des informations récapitulatives sur les graphiques agrégés."},{"id":"text-314","heading":"Text","content":"&lt;Chaîne&gt; type\nChamps obligatoires\nLa méthode de réduction (ou agrégation) pour réduire les entités affichées sur la carte. La seule valeur valide est grappe."},{"id":"text-315","heading":"Text","content":"Échantillon:"},{"id":"text-316","heading":"Text","content":"exiger([\n  \"esri/InfoTemplate\", \"esri/layers/FeatureLayer\", ... \n], fonction (InfoTemplate, FeatureLayer, ...) \n  var infoTemplate = new InfoTemplate (&quot;$ FIELD_NAME&quot;, contenu);\n  var featureLayer = new FeatureLayer (&quot;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Petroleum/KGS_OilGasFields_Kansas/MapServer/0&quot;, \n    mode: FeatureLayer.MODE_ONDEMAND,\n    infoTemplate: infoTemplate,\n    outFields: [\"*\"]\n  );\n  ...\n);"},{"id":"text-317","heading":"Text","content":"Crée une nouvelle instance d&#39;une couche d&#39;entités à l&#39;aide d&#39;un objet FeatureCollection. La couche d&#39;entités, lorsqu&#39;elle est initialisée avec un objet de collection d&#39;entités, présente le comportement suivant:"},{"id":"text-318","heading":"Text","content":"Les modifications sont appliquées sur le client non publié sur le serveur.\nLa couche d&#39;entités génère un identifiant d&#39;objet unique pour les nouvelles entités.\nNe prend pas en charge les requêtes devant être effectuées sur le serveur, par exemple les requêtes avec une clause where ou des requêtes spatiales sans extension. \nLa méthode toJson de la couche d&#39;entités renvoie un objet avec les mêmes propriétés que la collection d&#39;objets. L&#39;objet renvoyé inclut toutes les entités présentes dans la couche lorsque la méthode est appelée. Cette méthode peut être utilisée pour accéder à une représentation sérialisable des fonctionnalités pouvant être enregistrées sur le serveur."},{"id":"text-319","heading":"Text","content":"Paramètres:"},{"id":"text-320","heading":"Text","content":"&lt;Objet&gt; featureCollectionObject\nChamps obligatoires\nUn objet de collection d&#39;entités. Voir les tableaux de spécifications d&#39;objets ci-dessous pour plus de détails."},{"id":"text-321","heading":"Text","content":"&lt;Objet&gt; options\nOptionnel\nParamètres optionnels Voir la liste des options."},{"id":"text-322","heading":"Text","content":"Spécifications de l&#39;objet: \n&lt;featureCollectionObject&gt;"},{"id":"text-323","heading":"Text","content":"&lt;Objet&gt; featureSet\nChamps obligatoires\nUne collection de fonctionnalités."},{"id":"text-324","heading":"Text","content":"&lt;Objet&gt; layerDefinition\nChamps obligatoires\nLa structure est identique aux informations renvoyées par REST pour une couche dans un service de carte ou d&#39;entité. La définition de couche minimale requise pour créer un objet de collection d’entités dépend de la fonctionnalité requise, à savoir le temps, le rendu, etc."},{"id":"text-325","heading":"Text","content":"Échantillon:"},{"id":"text-326","heading":"Text","content":"exiger([\n  \"esri/layers/FeatureLayer\", ... \n], function (FeatureLayer, ...) \n  var layerDefinition = \n    &quot;geometryType&quot;: &quot;esriGeometryPolygon&quot;,\n    &quot;des champs&quot;: [\n      \"name\": \"BUFF_DIST\",\n      \"type\": \"esriFieldTypeInteger\",\n      \"alias\": \"Buffer Distance\"\n    ]\n  \n  var featureCollection = \n    layerDefinition: layerDefinition,\n    featureSet: null\n  ;\n  var featureLayer = new FeatureLayer (featureCollection, \n    showLabels: true\n  );\n  ...\n);"},{"id":"text-327","heading":"Text","content":"Détails de la propriété"},{"id":"text-328","heading":"Text","content":"Un objet contenant des métadonnées de niveau de service indiquant si la couche prend en charge ou non les requêtes utilisant des statistiques, ordre par champs, DISTINCT, pagination, requête avec distance et renvoi de requêtes avec étendue. Cet objet contient les propriétés existantes supports statistiques et prend en chargeQueries avancées qui est retourné dans le nouveau soutientOrderBy propriété. Pour la compatibilité ascendante supports statistiques et prend en chargeQueries avancées restera les propriétés de FeatureLayer."},{"id":"text-329","heading":"Text","content":"&quot;advancedQueryCapabilities&quot;: \n  &quot;supportsPagination&quot;: vrai,\n  &quot;supportsQueryWithDistance&quot;: true,\n  &quot;supportsReturningQueryExtent&quot;: true,\n  &quot;supportsStatistics&quot;: true,\n  &quot;supportsOrderBy&quot;: true,\n  &quot;supportsDistinct&quot;: vrai"},{"id":"text-330","heading":"Text","content":"(Ajouté à la v3.12)\nÉchantillon:"},{"id":"text-331","heading":"Text","content":"var wildfireResponsePointsFeatureLayer = new FeatureLayer(url, featureLayerOptions);\nmap.addLayer(wildfireResponsePointsFeatureLayer);"},{"id":"text-332","heading":"Text","content":"wildfireResponsePointsFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\n  console.log(&quot;advancedQueryCapabilities&quot;),   wildfireResponsePointsFeatureLayer.advancedQueryCapabilities);\n  /* Object supportsStatistics: true, supportsOrderBy: true, supportsDistinct: true */\n);"},{"id":"text-333","heading":"Text","content":"Returns true if the geometry of the features in the layer can be edited, false otherwise. In ArcGIS Server version 10.1, this option can be configured when publishing the service. For earlier versions, this is always true. (Added at v2.8)\nKnown values: true | faux"},{"id":"text-334","heading":"Text","content":"Indicates whether attribute features containing m-values can be edited. (Added at v3.21)\nValeur par défaut: faux"},{"id":"text-335","heading":"Text","content":"The URL, when available, where the layer&#39;s attribution data is stored. (Added at v3.1)"},{"id":"text-336","heading":"Text","content":"Information about the capabilities enabled for this layer."},{"id":"text-337","heading":"Text","content":"class attribute of the layer&#39;s node. (Added at v3.7)"},{"id":"text-338","heading":"Text","content":"Copyright information for the layer."},{"id":"text-339","heading":"Text","content":"Provides credential information for the layer such as userid and token if the layer represents a resource that is secured with token-based authentication. This value is available after the layer has been loaded i.e. layer.loaded est vrai. (Added at v2.5)"},{"id":"text-340","heading":"Text","content":"List of attribute fields added as custom data attributes to graphics node. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)"},{"id":"text-341","heading":"Text","content":"Metadata describing the default definition expression for the layer as defined by the service. The default definition expression limits the features available for display and query. You cannot override this value but you define additional filters on the default expression using the setDefinitionExpression method. For example, if the default definition expression is set to display data where &quot;STATE_NAME = &#39;California&#39;&quot; you could use setDefinitionExpression to only display a subset of the features in California, for example using &quot;COUNTY=&#39;San Diego&#39;&quot;."},{"id":"text-342","heading":"Text","content":"Indicates the default visibility for the layer. (Added at v3.0)\nKnown values: true | faux\nSample:"},{"id":"text-343","heading":"Text","content":"var isVisible = layer.defaultVisibility;"},{"id":"text-344","heading":"Text","content":"The description of the layer as defined in the map service."},{"id":"text-345","heading":"Text","content":"The name of the layer&#39;s primary display field. The value of this property matches the name of one of the fields of the layer."},{"id":"text-346","heading":"Text","content":"Indicates the field names for the editor fields. If ownership based access control is not enabled for the feature service the value will be null. The object has the following properties:\n  \n     creatorField,\n     creationDateField,\n     editorField,\n     editDateField\n  "},{"id":"text-347","heading":"Text","content":"Requires ArcGIS Server feature service version 10.1 or greater. (Added at v2.6)"},{"id":"text-348","heading":"Text","content":"Applicable to ArcGIS Online hosted feature services. If present, this object specifies information about editing. See the object specifications table below for the structure of the editingInfo object. (Added at v3.28)\nObject Specifications: \n&lt;editingInfo&gt;"},{"id":"text-349","heading":"Text","content":"&lt;Nombre&gt; lastEditDate\nChamps obligatoires\nA read-only value that indicates the last time a layer was edited. This value gets updated every time the layer data is edited or when any of the layer properties change. The value is depicted as a Unix timestamp, e.g."},{"id":"text-350","heading":"Text","content":"&quot;editingInfo&quot; : \n  &quot;lastEditDate&quot; : 1536363634886"},{"id":"text-351","heading":"Text","content":"The array of fields in the layer."},{"id":"text-352","heading":"Text","content":"The full extent of the layer."},{"id":"text-353","heading":"Text","content":"The geodatabase version. Only applicable if the layer&#39;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)"},{"id":"text-354","heading":"Text","content":"Geometry type of the features in the layer. Can be one of the following: &quot;esriGeometryPoint&quot;, &quot;esriGeometryPolygon&quot; or &quot;esriGeometryPolyline&quot;."},{"id":"text-355","heading":"Text","content":"The globalIdField for the layer."},{"id":"text-356","heading":"Text","content":"Array of features in the layer."},{"id":"text-357","heading":"Text","content":"Indicates whether the layer displays all features intersecting the current view. Typically, this method should be called after the layer emits the update-end un événement. (Added at v3.28)\nValeur par défaut: vrai"},{"id":"text-358","heading":"Text","content":"True if attachments are enabled on the feature layer. Use the queryAttachmentInfos method to determine if the feature has attachments. If the layer is editable (isEditable) and supports attachments the following operations can be performed."},{"id":"text-359","heading":"Text","content":"Add attachments to features.\nDelete existing attachments."},{"id":"text-360","heading":"Text","content":"Known values: true | faux"},{"id":"text-361","heading":"Text","content":"When true, the layer has attribution data. The default value is false.  Use the getAttributionData method to retrieve this data as JSON. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: faux"},{"id":"text-362","heading":"Text","content":"The html popup type defined for the layer. View the constants table for a list of valid values."},{"id":"text-363","heading":"Text","content":"ID assigned to the layer. If not assigned, esri.Map assigns value. By default, the ID of the layer is &quot;layer&quot; followed by a number. The ID can be user defined only in the layer constructor.\nSample:"},{"id":"text-364","heading":"Text","content":"Setting the layer ID in the layer constructor."},{"id":"text-365","heading":"Text","content":"require([\n  \"esri/layers/ArcGISDynamicMapServiceLayer\", ... \n], function(ArcGISDynamicMapServiceLayer, ... ) \n  var population = new ArcGISDynamicMapServiceLayer(&quot;http://myserver/arcgis/rest/population/MapServer/Layers&quot;, id:&quot;population&quot;);\n  ...\n);"},{"id":"text-366","heading":"Text","content":"Setting the layer ID after a layer is initialized."},{"id":"text-367","heading":"Text","content":"population.id = &quot;population&quot;;"},{"id":"text-368","heading":"Text","content":"Retrieving the layer ID."},{"id":"text-369","heading":"Text","content":"function getMapLayers() \n  for (var j=0, jl=map.layerIds.length; j&lt;jl; j++) \n    var currentLayer = map.getLayer(map.layerIds[j])\n    alert(&quot;id: &quot; + currentLayer.id);\n  "},{"id":"text-370","heading":"Text","content":"The info template for the layer. (Added at v3.9)"},{"id":"text-371","heading":"Text","content":"Label definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property.  (Added at v3.10)\nSample:"},{"id":"text-372","heading":"Text","content":"labelingInfo:[{\n  &quot;labelExpression&quot;: &quot;&quot;, //deprecated, labelExpressionInfo property should be used in its place\n  &quot;labelExpressionInfo&quot;: \n   &quot;value&quot;: &quot;City Of CITY_NAME has population POPULATION&quot;\n  ,\n  &quot;useCodedValues&quot;:  //parameters used when attribute field has domain values,\n  &quot;labelPlacement&quot;: &quot;above-right&quot;,\n  &quot;symbol&quot;: ..., //TextSymbol used for labeling\n  &quot;minScale&quot;: 0, //specified scale range where labels are visible\n  &quot;maxScale&quot;: 5000,\n  //fieldInfos structure describes attribute field formatting\n  &quot;fieldInfos&quot;:[\n     fieldName: &quot;created_date&quot;, format:  dateFormat: &quot;shortDate&quot; , //date/time formatting \n     fieldName: &quot;last_edited_date&quot;, format:  dateFormat: &quot;longDate&quot; ,  //date/time formatting\n     fieldName: &quot;eventtype&quot;, format:  places: 6, digitSeparator: true   //numeric formatting\n  ],\n  &quot;where&quot;: &quot;POP_RANK &gt; 2 AND POP_RANK"},{"id":"text-373","heading":"Text","content":"Unique ID of the layer that the FeatureLayer was constructed against."},{"id":"text-374","heading":"Text","content":"Set if the layer failed to load. (Added at v3.9)"},{"id":"text-375","heading":"Text","content":"When the layer is loaded, the value becomes &quot;true&quot;, and layer properties can be accessed.  The onLoad event is also fired.\nKnown values: true | faux"},{"id":"text-376","heading":"Text","content":"The maximum allowable offset, only applicable for layers that are not editable. (Added at v2.7)"},{"id":"text-377","heading":"Text","content":"The maximum number of results that will be returned from a query. Requires ArcGIS Server version 10.1 or greater. (Added at v2.6)"},{"id":"text-378","heading":"Text","content":"Maximum visible scale for the layer. If the map is zoomed in beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a maximum scale. (Added at v3.1)\nValeur par défaut: 0"},{"id":"text-379","heading":"Text","content":"Minimum visible scale for the layer. If the map is zoomed out beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a visible scale. (Added at v3.1)\nValeur par défaut: 0"},{"id":"text-380","heading":"Text","content":"Supports feature services whose data source is a multipatch featureclass."},{"id":"text-381","heading":"Text","content":"Default is xyFootprint if geometryType is esriGeometryMultiPatch. Otherwise, undefined.\nUser can override this property with a different choice in the future when FS supports it.\nQueries made through the FeatureLayer will include multipatchOption parameter if returnGeometry est vrai.\nApplies to snapshot, ondemand, selectFeatures, and queryFeatures"},{"id":"text-382","heading":"Text","content":"Remarque: Requires ArcGIS 10.3 and above. (Added at v3.12)\nValeur par défaut: xyFootprint\nSample:"},{"id":"text-383","heading":"Text","content":"var infoTemplate = new InfoTemplate(&quot;Attributes&quot;, &quot;$*&quot;);"},{"id":"text-384","heading":"Text","content":"var url = &quot;http://servername.fqdn.suffix/arcgis/rest/services/Hosted/pasadena/FeatureServer/0&quot;;\nvar featureLayerOptions = \n  id: &quot;cities&quot;,\n  mode: FeatureLayer.MODE_AUTO,\n  outFields: [\"*\"],\n  infoTemplate: infoTemplate\n;\nvar citiesFeatureLayer = new FeatureLayer(url, featureLayerOptions);"},{"id":"text-385","heading":"Text","content":"map.addLayer(citiesFeatureLayer);"},{"id":"text-386","heading":"Text","content":"The name of the layer as defined in the map service."},{"id":"text-387","heading":"Text","content":"The name of the field that contains the Object ID field for the layer."},{"id":"text-388","heading":"Text","content":"Opacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency.\nKnown values: 0.0 - 1.0\nValeur par défaut: 1,0"},{"id":"text-389","heading":"Text","content":"Indicates the ownership access control configuration. If ownership based access control is not enabled for the feature service the value will be null. If ownership based access control is not enabled for the feature service the value will be null. This object has two properties allowDeleteToOthers et allowUpdateToOthers. When true features can be deleted or updated by users other than the creator."},{"id":"text-390","heading":"Text","content":"allowUpdateToOthers,\n   allowDeleteToOthers"},{"id":"text-391","heading":"Text","content":"(Added at v2.6)"},{"id":"text-392","heading":"Text","content":"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. (Added at v3.7)"},{"id":"text-393","heading":"Text","content":"Each element in the array is an object that describes the layer&#39;s relationship with another layer or table. Use the queryRelatedFeatures method to retrieve features or records related to a feature in this layer. The object has the following properties:"},{"id":"text-394","heading":"Text","content":"identifiant"},{"id":"text-395","heading":"Text","content":"Unique ID for the relationship"},{"id":"text-396","heading":"Text","content":"prénom"},{"id":"text-397","heading":"Text","content":"Name of the relationship."},{"id":"text-398","heading":"Text","content":"relatedTableId"},{"id":"text-399","heading":"Text","content":"Unique ID of the related table or layer"},{"id":"text-400","heading":"Text","content":"Sample:"},{"id":"text-401","heading":"Text","content":"var relationships = wellFeatureLayer.relationships;\ndojo.forEach(relationships,function(relationship)\n  console.log(&quot;name: &quot; + relationship.name);\n  console.log(&quot;id: &quot; + relationship.id);\n  console.log(&quot;relationship id: &quot;   + relationship.relatedTableId);\n);"},{"id":"text-402","heading":"Text","content":"The renderer for the layer."},{"id":"text-403","heading":"Text","content":"When true, the layer&#39;s attribution is displayed on the map. (Added at v3.1)\nKnown values: true | faux\nValeur par défaut: vrai"},{"id":"text-404","heading":"Text","content":"Determines if labels are displayed. When false, labels for the layer are not displayed. \nIf the FeatureLayer has labeling defined on it, labels will automatically display if the Map&#39;s showLabels est vrai. \nIf you do not wish to have your feature layer label, you can override this behavior by setting its showLabels property to false.\nNOTE: In order for the labels to display, all fields used by the labelingInfo should be set in outFields. In addition, only simple labeling is supported, for example CITY_NAME. For example, SQL keywords such as &quot;CONCAT&quot; are not supported. Consider using the LabelLayer class where you can specify the  textExpression if needing more functionality. Added at v3.11\nKnown values: true | faux\nValeur par défaut: vrai"},{"id":"text-405","heading":"Text","content":"The dynamic layer or table source. (Added at v2.7)"},{"id":"text-406","heading":"Text","content":"Indicates whether the layer is responsible for styling graphics. Quand vrai, styling is based on graphics symbol or the layer&#39;s renderer. Quand faux, graphics styling is disabled. Applicable only when layer surfaceType est &quot;svg&quot;. (Added at v3.7)\nKnown values: true | faux"},{"id":"text-407","heading":"Text","content":"When true, the layer supports orderByFields in a query operation. Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux"},{"id":"text-408","heading":"Text","content":"When true, the layer supports uploading attachments with Uploads REST operation, which then can be used in the Add Attachment or Update Attachment REST operations. Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux"},{"id":"text-409","heading":"Text","content":"When true, the layer supports the Calculer REST operation when updating features.  Requires ArcGIS Online hosted feature service. (Added at v3.11)\nKnown values: true | faux"},{"id":"text-410","heading":"Text","content":"If true, the layer supports a user-defined field description. Please see the ArcGIS Online help topic, Describe attribute fields for additional information. (Added at v3.28)"},{"id":"text-411","heading":"Text","content":"When true, the layer supports statistical functions in query operations.  Requires ArcGIS Server service version 10.1 or greater (Added at v2.6)\nKnown values: true | faux"},{"id":"text-412","heading":"Text","content":"Type of vector graphics surface used to draw graphics. (Added at v3.7)\nKnown values: &quot;svg&quot; | &quot;canvas-2d&quot; | &quot;vml&quot;\nValeur par défaut: &quot;svg&quot; on all browsers - except IE8 or earlier where &quot;vml&quot; is used to draw graphics."},{"id":"text-413","heading":"Text","content":"When true, the layer is suspended. A layer is considered to be suspended when one of the following is true:"},{"id":"text-414","heading":"Text","content":"The layer is hidden.\nThe layer is not visible at the current map scale.\nThe layer is explicitly suspended by calling the Layer.suspend méthode."},{"id":"text-415","heading":"Text","content":"(Added at v3.1)\nKnown values: true | faux"},{"id":"text-416","heading":"Text","content":"An array of feature templates defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers.\nSample:"},{"id":"text-417","heading":"Text","content":"require([\n  \"esri/layers/FeatureLayer\", \"dojo/_base/array\", ... \n], function(FeatureLayer, array, ... ) \n  var layer = new FeatureLayer( ... );\n  var templates = layer.templates;\n  array.forEach(templates,function(template)\n    console.log(template.description);\n    console.log(template.name);\n  );\n  ...\n);"},{"id":"text-418","heading":"Text","content":"Time information for the layer, such as start time field, end time field, track id field, layers time extent and the draw time interval.  Only applicable if the layer is time aware."},{"id":"text-419","heading":"Text","content":"Specifies the type of layer.  Can be &quot;Feature Layer&quot; or &quot;Table&quot;."},{"id":"text-420","heading":"Text","content":"The field that represents the Type ID field. Only applicable for ArcGIS Server Feature Service layers."},{"id":"text-421","heading":"Text","content":"An array of sub types defined in the Feature Service layer. Only applicable for ArcGIS Server Feature Service layers."},{"id":"text-422","heading":"Text","content":"The version of ArcGIS Server where the layer is published. Examples are 9.3, 9.31, 10. (Added at v2.1)"},{"id":"text-423","heading":"Text","content":"Visibility of the layer.\nKnown values: true | faux\nValeur par défaut: vrai"},{"id":"text-424","heading":"Text","content":"When true, the layer is visible at the current map scale. (Added at v3.1)\nKnown values: true | faux"},{"id":"text-425","heading":"Text","content":"Indicates if WebGL is enabled on the layer. Note that this doesn&#39;t indicate that WebGL is actually being used in the rendering. Use hasWebGLSurface() to check if the layer is drawn with WebGL. (Added at v3.24)\nValeur par défaut: vrai"},{"id":"text-426","heading":"Text","content":"Method Details"},{"id":"text-427","heading":"Text","content":"Parameters:"},{"id":"text-428","heading":"Text","content":"&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature to which the attachment is added."},{"id":"text-429","heading":"Text","content":"&lt;HTMLFormElement&gt; formNode\nChamps obligatoires\nHTML form that contains a file upload field pointing to the file to be added as an attachment. If you are using HTML then your form should follow this basic pattern:"},{"id":"text-430","heading":"Text","content":"If you wish to create the form data in JavaScript, then you can create a form using the following pattern:"},{"id":"text-431","heading":"Text","content":"var formData = new FormData();\nformData.append(&quot;attachment&quot;, file);"},{"id":"text-432","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the addAttachmentComplete event."},{"id":"text-433","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs during task execution."},{"id":"text-434","heading":"Text","content":"Apply edits to the feature layer. Only applicable for layers in a feature service. \nREMARQUE: Date field values are always represented as numérique valeurs. This means that when updating existing features, date fields must have numeric values and not date objects."},{"id":"text-435","heading":"Text","content":"Parameters:"},{"id":"text-436","heading":"Text","content":"&lt;Graphic[]&gt; adds\nOptionnel\nArray of features to add to the layer in the feature service. New features are typically created using the Draw toolbar."},{"id":"text-437","heading":"Text","content":"&lt;Graphic[]&gt; updates\nOptionnel"},{"id":"text-438","heading":"Text","content":"Array of features whose geometry and/or attributes have changed. Features must have a valid OBJECTID. The geometry of features is typically modified using the Edit toolbar. Attributes are modified using the Attribute Inspector."},{"id":"text-439","heading":"Text","content":"&lt;Graphic[]&gt; deletes\nOptionnel\nArray of features to delete. Must have valid ObjectId"},{"id":"text-440","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThis function will be called when the operation is complete. The arguments passed to this function are the same as the onEditsComplete event."},{"id":"text-441","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs."},{"id":"text-442","heading":"Text","content":"Sample:"},{"id":"text-443","heading":"Text","content":"require([\n  \"esri/layers/FeatureLayer\", ... \n], function(FeatureLayer, ... ) \n  var firePerimeterFL = new FeatureLayer( ... );\n  var targetGraphic = firePerimeterFL.getSelectedFeatures()[0].setGeometry(reshapedGeometry);\n  firePerimeterFL.applyEdits(null, [targetGraphic], null);\n  ...\n);"},{"id":"text-444","heading":"Text","content":"Adds a new attribute or changes the value of an existing attribute on the layer&#39;s node. Removes the attribute if the value is nul ou indéfini. (Added at v3.7)\nParameters:"},{"id":"text-445","heading":"Text","content":"&lt;Chaîne&gt; name\nChamps obligatoires\nThe name of the attribute."},{"id":"text-446","heading":"Text","content":"&lt;Chaîne&gt; value\nChamps obligatoires\nThe value of the attribute. Set this value as nul to remove the attribute."},{"id":"text-447","heading":"Text","content":"Clears all graphics.\nSample:"},{"id":"text-448","heading":"Text","content":"graphicsLayer.clear();"},{"id":"text-449","heading":"Text","content":"Clears the current selection."},{"id":"text-450","heading":"Text","content":"Delete one or more attachments for the feature specified by the input ObjectId. Only applicable if isEditable and hasAttachments are true.\nParameters:"},{"id":"text-451","heading":"Text","content":"&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId of the feature from which the attachment is removed."},{"id":"text-452","heading":"Text","content":"&lt;Nombre[]&gt; attachmentIds\nChamps obligatoires\nThe array of attachment ids to delete."},{"id":"text-453","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed."},{"id":"text-454","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs."},{"id":"text-455","heading":"Text","content":"Disables feature reduction (for example clustering) on the layer. This is useful for certain workflows, such as editing, where feature reduction can hinder the desired user experience. Only applicable to point layers. (Added at v3.22)\nSample:"},{"id":"text-456","heading":"Text","content":"featureLayer.disableFeatureReduction();"},{"id":"text-457","heading":"Text","content":"Disables all mouse events on the graphics layer."},{"id":"text-458","heading":"Text","content":"Enables feature reduction (for example clustering) on the layer using the options set in setFeatureReduction(). Only applicable to point layers. (Added at v3.22)\nSample:"},{"id":"text-459","heading":"Text","content":"featureLayer.enableFeatureReduction();"},{"id":"text-460","heading":"Text","content":"Enables all mouse events on the graphics layer."},{"id":"text-461","heading":"Text","content":"Returns graphics representing the aggregation of several point features clustered together. Only applicable when feature reduction is enabled. (Added at v3.22)\nSample:"},{"id":"text-462","heading":"Text","content":"var aggregateGraphics = featureLayer.getAggregateGraphics();"},{"id":"text-463","heading":"Text","content":"Asynchrously returns custom data for the layer when available. (Added at v3.1)"},{"id":"text-464","heading":"Text","content":"Returns the current definition expression."},{"id":"text-465","heading":"Text","content":"Parameters:"},{"id":"text-466","heading":"Text","content":"&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field."},{"id":"text-467","heading":"Text","content":"&lt;Objet&gt; options\nOptionnel\nPlease see the options object specification table below."},{"id":"text-468","heading":"Text","content":"Object Specifications: \n&lt;options&gt;"},{"id":"text-469","heading":"Text","content":"&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature in which the Domain is retrieved.NOTE: If the layer has sub-types, the domain will be calculated based on the feature type and domain defined for that type."},{"id":"text-470","heading":"Text","content":"Returns an object that describes the edit capabilities of the layer. The returned object has the following properties:"},{"id":"text-471","heading":"Text","content":"canCreate\nWhen true, new features can be created."},{"id":"text-472","heading":"Text","content":"canUpdate\nWhen true, existing features can be updated."},{"id":"text-473","heading":"Text","content":"canDelete\nWhen true, features can be deleted."},{"id":"text-474","heading":"Text","content":"(Added at v2.6)\nParameters:"},{"id":"text-475","heading":"Text","content":"&lt;Objet&gt; options\nOptionnel\nIf the layer supports ownership based access control, use the options to determine if the specified user can edit features. Ownership based access control requires ArcGIS Server services version 10.1 or greater. See the object specifications table below for the structure of the  options  objet."},{"id":"text-476","heading":"Text","content":"Object Specifications: \n&lt;options&gt;"},{"id":"text-477","heading":"Text","content":"&lt;Graphic&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user."},{"id":"text-478","heading":"Text","content":"&lt;graphique&gt; feature\nChamps obligatoires\nCheck to see if the specified feature can be edited by the specified user."},{"id":"text-479","heading":"Text","content":"&lt;Chaîne&gt; userId\nChamps obligatoires\nThe name of the currently logged in user. If the application uses the IdentityManager the IdentityManager supplies the layer with the userId so this parameter is not required."},{"id":"text-480","heading":"Text","content":"Sample:"},{"id":"text-481","heading":"Text","content":"var capabilities = featureLayer.getEditCapabilities();"},{"id":"text-482","heading":"Text","content":"if(capabilities.canUpdate)"},{"id":"text-483","heading":"Text","content":"  console.log(&quot;This layer can be updated&quot;);"},{"id":"text-484","heading":"Text","content":"Returns an object describing the most recent edit operation performed on the given feature, if available. (Added at v2.8)\nParameters:"},{"id":"text-485","heading":"Text","content":"&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit info for."},{"id":"text-486","heading":"Text","content":"&lt;Objet&gt; options\nOptionnel\n    See the object specifications table below for the structure of the  options  objet."},{"id":"text-487","heading":"Text","content":"Object Specifications: \n&lt;options&gt;"},{"id":"text-488","heading":"Text","content":"&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior."},{"id":"text-489","heading":"Text","content":"&#39;creation&#39; indicates creation summary is desired.\n&#39;edit&#39; indicates edit summary is desired."},{"id":"text-490","heading":"Text","content":"Sample:"},{"id":"text-491","heading":"Text","content":"  &quot;action&quot;        : &quot;creation&quot;, // or &quot;edit&quot;\n  &quot;userId&quot;        : &quot;Mike&quot;,\n  &quot;minutes&quot;       :  15,\n  &quot;hours&quot;         :  5,\n  &quot;weekDay&quot;       : &quot;Tuesday&quot;,\n  &quot;formattedDate&quot; : &quot;1/1/2012&quot;,\n  &quot;formattedTime&quot; : &quot;9:30 AM&quot;,\n  &quot;displayPattern&quot;: &quot;Minutes&quot;, // or &quot;Seconds&quot;, &quot;Minute&quot;, &quot;Hour&quot;, &quot;Hours&quot;, &quot;WeekDay&quot;, &quot;Full&quot;\n  &quot;timeValue&quot;     :  1330167842310"},{"id":"text-492","heading":"Text","content":"Returns a localized summary of the last edit operation performed on the given feature, if available. Par exemple:\nEdited by Bjorn seconds ago\nEdited by Bjorn a minute ago\nEdited by Bjorn 15 minutes ago\nEdited by Bjorn an hour ago\nEdited by Bjorn 5 hours ago\nEdited by Bjorn on Tuesday at 1:30 PM\nEdited by Bjorn on 4/27/2014 at 11:30 AM"},{"id":"text-493","heading":"Text","content":"The word &quot;Edited&quot; will be replaced by &quot;Created&quot; if the author has disabled editorField attribute but enabled creatorField attribute. The user component and date-time component may or may not be available depending on your layer&#39;s edit tracking settings (see editFieldsInfo property of this layer for more information).\nAn empty string will be returned if:"},{"id":"text-494","heading":"Text","content":"the layer is not initialized or\nif the layer&#39;s edit tracking settings have been turned off or\nif the feature does not have edit tracking fields in its attributes.\n (Added at v2.8)"},{"id":"text-495","heading":"Text","content":"Parameters:"},{"id":"text-496","heading":"Text","content":"&lt;Graphic&gt; feature\nChamps obligatoires\nThe feature to get the edit summary for."},{"id":"text-497","heading":"Text","content":"&lt;Objet&gt; options\nOptionnel\nSee the object specifications table below for the structure of the  options  objet."},{"id":"text-498","heading":"Text","content":"Object Specifications: \n&lt;options&gt;"},{"id":"text-499","heading":"Text","content":"&lt;Chaîne&gt; action\nChamps obligatoires\nBy default, the method returns a summary of the most recent edit performed on the feature. Use this option to override this behavior."},{"id":"text-500","heading":"Text","content":"&#39;creation&#39; indicates creation summary is desired.\n&#39;edit&#39; indicates edit summary is desired."},{"id":"text-501","heading":"Text","content":"&lt;Une fonction&gt; callback\nChamps obligatoires\nIf you want to customize or override certain components of the summary, provide a callback function using this option. Par exemple:\nfeatureLayer.getEditSummary(feature, \n  callback: function(feature, info) \n    if (info &amp;&amp; info.userId) \n      info.userId = &quot;&quot; + info.userId + &quot;&quot;;\n    \n    return info;\n  \n);"},{"id":"text-502","heading":"Text","content":"Returns the options used to reduce the number of features visualized by the layer (for example clustering). This is only applicable to point layers. See setFeatureReduction() for more details. (Added at v3.22)\nSample:"},{"id":"text-503","heading":"Text","content":"featureLayer.getFeatureReduction();"},{"id":"text-504","heading":"Text","content":"Returns the Champ given the specified field name. (Added at v3.12)\nParameters:"},{"id":"text-505","heading":"Text","content":"&lt;Chaîne&gt; fieldName\nChamps obligatoires\nName of the attribute field."},{"id":"text-506","heading":"Text","content":"Returns reference to the map control the layer is added to. Résultats nul ou indéfini if it is not added to a map. (Added at v3.7)"},{"id":"text-507","heading":"Text","content":"Returns the current value of the maxAllowableOffset used by the layer. For non-editable layers in on-demand mode if autoGeneralize is enabled the maxAllowableOffset is set to the current map resolution. (Added at v2.7)\nSample:"},{"id":"text-508","heading":"Text","content":"var currentOffset = featureLayer.getMaxAllowableOffset();"},{"id":"text-509","heading":"Text","content":"Returns the layer&#39;s DOM node. (Added at v3.7)"},{"id":"text-510","heading":"Text","content":"Returns the list of fields used to order features by. For queries as well as rendering. (Added at v3.8)"},{"id":"text-511","heading":"Text","content":"Gets the currently selected features."},{"id":"text-512","heading":"Text","content":"Gets the current selection symbol."},{"id":"text-513","heading":"Text","content":"Returns graphics from the layer that are not represented by aggregate graphics when feature reduction (such as clustering) is enabled. (Added at v3.22)\nSample:"},{"id":"text-514","heading":"Text","content":"var singleGraphics = featureLayer.getSingleGraphics();"},{"id":"text-515","heading":"Text","content":"Get the current time definition applied to the feature layer.\nSample:"},{"id":"text-516","heading":"Text","content":"require([\n  \"esri/map\", \"esri/layers/FeatureLayer\", \"esri/layers/TimeInfo\", ... \n], function(Map, FeatureLayer, TimeInfo, ... ) \n  var timeSlider = new TimeSlider( ... );\n  var featureLayer = new FeatureLayer();\n  timeSlider.createTimeStopsByTimeInterval(featureLayer.getTimeDefinition(), \n    1, TimeInfo.UNIT_HOURS);\n  ...\n);"},{"id":"text-517","heading":"Text","content":"Returns a FeatureType describing the feature&#39;s type. NOTE: This is applicable if the layer containing the feature has a TypeIdField. (Added at v3.12)\nParameters:"},{"id":"text-518","heading":"Text","content":"&lt;Graphic&gt; feature\nChamps obligatoires\nA feature from this layer."},{"id":"text-519","heading":"Text","content":"Indicates whether an error is thrown after the layer updates. (Added at v3.24)"},{"id":"text-520","heading":"Text","content":"Indicates if the layer is rendered in WebGL. (Added at v3.24)"},{"id":"text-521","heading":"Text","content":"Résultats vrai si geometryType est esriGeometryMultipatch et multipatchOption est xyFootprint. Quand vrai, the FeatureLayer will behave as if it were a polygon."},{"id":"text-522","heading":"Text","content":"Auto generalization will be enabled by default.\nAuto mode will treat the layer like a polygon layer."},{"id":"text-523","heading":"Text","content":"(Added at v3.12)\nSample:"},{"id":"text-524","heading":"Text","content":"citiesFeatureLayer.on(&quot;load&quot;, function featureLayerLoaded(event)\n  var hasXYFootprint = citiesFeatureLayer.hasXYFootprint();\n  console.log(&quot;Contains xyfootprints:&quot;, hasXYFootprint);\n);"},{"id":"text-525","heading":"Text","content":"Sets the visibility of the layer to &quot;false&quot;.  The layer is not removed, but it is hidden from view."},{"id":"text-526","heading":"Text","content":"Returns true if the FeatureLayer is editable. If the layer is editable, one or more of the following operations can be performed depending on the permissions set on the service."},{"id":"text-527","heading":"Text","content":"Add new features.\nModify the geometry and attributes of existing features.\nDelete features."},{"id":"text-528","heading":"Text","content":"To see which of the above editing actions may be performed on the layer, execute getEditCapabilities() on the layer after verifying that isEditable() returns true."},{"id":"text-529","heading":"Text","content":"Indicates if feature reduction (for example clustering) is active in the view. Feature reduction is active at all scales. At any given scale, if there are features that do not fall within a cluster, they are displayed as individual features. This method is only applicable to point layers when feature reduction is enabled. (Added at v3.22)\nSample:"},{"id":"text-530","heading":"Text","content":"featureLayer.isFeatureReductionActive();"},{"id":"text-531","heading":"Text","content":"Indicates if feature reduction (for example clustering) is enabled. Only applicable to point layers. See also setFeatureReduction(). (Added at v3.22)\nSample:"},{"id":"text-532","heading":"Text","content":"featureLayer.isFeatureReductionEnabled();"},{"id":"text-533","heading":"Text","content":"Returns true if the layer is visible at the given scale. (Added at v3.1)\nParameters:"},{"id":"text-534","heading":"Text","content":"&lt;Nombre&gt; scale\nChamps obligatoires\nThe scale at which to check if the layer is visible."},{"id":"text-535","heading":"Text","content":"Query for information about attachments associated with the specified ObjectIds.\nParameters:"},{"id":"text-536","heading":"Text","content":"&lt;Nombre&gt; objectId\nChamps obligatoires\nThe ObjectId for the feature to query for attachment information."},{"id":"text-537","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed."},{"id":"text-538","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs."},{"id":"text-539","heading":"Text","content":"Get a count of the number of features that satisfy the input query. Valid only for layers published using ArcGIS Server 10 SP1 or greater. Layers published with earlier versions of ArcGIS Server return an error to the error callback. (Added at v2.1)\nParameters:"},{"id":"text-540","heading":"Text","content":"&lt;Question&gt; query\nChamps obligatoires"},{"id":"text-541","heading":"Text","content":"The input query. The query object has the following restrictions to avoid conflicts between layer and map properties."},{"id":"text-542","heading":"Text","content":"outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used."},{"id":"text-543","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed."},{"id":"text-544","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs."},{"id":"text-545","heading":"Text","content":"Sample:"},{"id":"text-546","heading":"Text","content":"require([\n  \"esri/tasks/query\", \"FeatureLayer\", ... \n], function(Query, FeatureLayer, ... ) {\n  var query = new Query();\n  var featureLayer = new FeatureLayer( ... );\n  query.where = &quot;POP90_SQMI"},{"id":"text-547","heading":"Text","content":"Get the extent of features that satisfy the input query. The count of features that satisfy the input query is returned as well. This is valid only for hosted feature services on arcgis.com and for ArcGIS Server 10.3.1 and later. (Added at v3.9)\nParameters:"},{"id":"text-548","heading":"Text","content":"&lt;Question&gt; query\nChamps obligatoires\nThe query definition."},{"id":"text-549","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThe function called when the method has completed."},{"id":"text-550","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nThe function called when error occurred."},{"id":"text-551","heading":"Text","content":"Query features from the feature layer. Layer definition and time definition are honored. Whenever possible the feature layer will perform the query on the client.\nParameters:"},{"id":"text-552","heading":"Text","content":"&lt;Question&gt; query\nChamps obligatoires"},{"id":"text-553","heading":"Text","content":"The input query. The query object has the following restrictions to avoid conflicts between layer and map properties."},{"id":"text-554","heading":"Text","content":"outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used. As of version 3.5 the returnGeometry value is honored.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used."},{"id":"text-555","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed."},{"id":"text-556","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs."},{"id":"text-557","heading":"Text","content":"Sample:"},{"id":"text-558","heading":"Text","content":"require([\n  \"esri/layers/FeatureLayer\", \"esri/tasks/query\", ... \n], function(FeatureLayer, Query, ... ) \n  featureLayer = new FeatureLayer( ... );\n  var query = new Query();\n  query.objectIds =[features[features[features[features[0].attributes.OBJECTID];\n  query.outFields = [ \"*\" ];\n  // Query for the features with the given object ID\n  featureLayer.queryFeatures(query, function(featureSet) \n  );\n  ...\n);"},{"id":"text-559","heading":"Text","content":"Query for ObjectIds. There is no limit on the number of ObjectIds that are returned from the server. Like queryFeatures this operation will perform queries on the client (browser) whenever possible.  Valid only for layers published using ArcGIS Server 10 SP1 or greater.\nParameters:"},{"id":"text-560","heading":"Text","content":"&lt;Question&gt; query\nChamps obligatoires"},{"id":"text-561","heading":"Text","content":"The input query. The query object has the following restrictions to avoid conflicts between layer and map properties."},{"id":"text-562","heading":"Text","content":"outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used."},{"id":"text-563","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed."},{"id":"text-564","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs."},{"id":"text-565","heading":"Text","content":"Sample:"},{"id":"text-566","heading":"Text","content":"require([\n  \"esri/layers/FeatureLayer\", \"esri/tasks/query\", ... \n], function(FeatureLayer, Query, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  // create a query to fetch object IDs for all records\n  var query = new Query();\n  query.where = &quot;1=1&quot;;\n  \n  featureLayer.queryIds(query, function(objectIds) \n    //do something with the objectIds here\n  );\n  ...\n);"},{"id":"text-567","heading":"Text","content":"Query features or records, from another layer or table, related to features in this layer.\nParameters:"},{"id":"text-568","heading":"Text","content":"&lt;RelationshipQuery&gt; relQuery\nChamps obligatoires\nThe input query."},{"id":"text-569","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed."},{"id":"text-570","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs."},{"id":"text-571","heading":"Text","content":"Sample:"},{"id":"text-572","heading":"Text","content":"require([\n  \"esri/layers/FeatureLayer\", \"esri/tasks/RelationshipQuery\", \"dojo/_base/connect\", ... \n], function(FeatureLayer, RelationshipQuery, connect, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  var relatedQuery = new RelationshipQuery();\n  relatedQuery.outFields = [\"AGREE_WITH_INCIDENT\"];\n  relatedQuery.relationshipId = 1;\n  \n  //query for the features related to the &quot;clicked&quot; feature\n  connect.connect(featureLayer, &quot;onClick&quot;, function(evt) \n    graphicAttributes = evt.graphic.attributes;\n    relatedQuery.objectIds = [graphicAttributes.OBJECTID];\n    featureLayer.queryRelatedFeatures(relatedQuery,relatedRecords);\n  \n  ...\n);"},{"id":"text-573","heading":"Text","content":"Redraws all the graphics in the graphics layer. Unlike refresh(), redraw does not re-query features from the server. (Added at v3.3)"},{"id":"text-574","heading":"Text","content":"Refreshes the features in the feature layer. The feature layer requeries all the features in the service, except the selected features, and updates itself."},{"id":"text-575","heading":"Text","content":"Removes a graphic.\nParameters:"},{"id":"text-576","heading":"Text","content":"&lt;Graphic&gt; graphic\nChamps obligatoires\nThe graphic to remove."},{"id":"text-577","heading":"Text","content":"Resumes layer drawing. (Added at v3.1)"},{"id":"text-578","heading":"Text","content":"Selects features from the FeatureLayer. Layer properties like layer definition and time definition are honored. The selection method defines how query results are passed to the selection. The feature layer will highlight the current selection if a selection symbol has been defined. Whenever possible, the feature layer will perform the query operation on the client (browser).\nParameters:"},{"id":"text-579","heading":"Text","content":"&lt;Question&gt; query\nChamps obligatoires"},{"id":"text-580","heading":"Text","content":"The input query. The query object has the following restrictions to avoid conflicts between layer and map properties."},{"id":"text-581","heading":"Text","content":"outFields specified by the query object are overridden by the outFields specified in the FeatureLayer constructor.\nThe returnGeometry value specified by the query object is ignored and true is used.\nThe outSpatialReference set by the query object is ignored and the map&#39;s spatial reference is used."},{"id":"text-582","heading":"Text","content":"&lt;Nombre&gt; selectionMethod\nOptionnel\nThe selection method defines how the rest of the selection is combined with the existing selection. See Constants table for valid values. The default option is to create a new selection."},{"id":"text-583","heading":"Text","content":"&lt;Une fonction&gt; callback\nOptionnel\nThe function to call when the method has completed.  The arguments in the function are the same as the onSelectionComplete event."},{"id":"text-584","heading":"Text","content":"&lt;Une fonction&gt; errback\nOptionnel\nAn error object is returned if an error occurs."},{"id":"text-585","heading":"Text","content":"Sample:"},{"id":"text-586","heading":"Text","content":"require([\n  \"esri/tasks/query\", \"esri/layers/FeatureLayer\", ... \n], function(Query, FeatureLayer, ... ) \n  var query = new Query();\n  var featureLayer = new FeatureLayer( ... );\n  query.geometry = feature.geometry;\n  featureLayer.selectFeatures(query,FeatureLayer.SELECTION_NEW);\n  ...\n);"},{"id":"text-587","heading":"Text","content":"Enable or disable auto generalization for the layer. Note that auto generalization is only applicable to non-editable feature layers in on-demand mode. (Added at v2.7)\nParameters:"},{"id":"text-588","heading":"Text","content":"&lt;Booléen&gt; enable\nChamps obligatoires\nWhen true, auto generalize is enabled. Default value for non-editable on-demand feature layers is true."},{"id":"text-589","heading":"Text","content":"Sample:"},{"id":"text-590","heading":"Text","content":"featureLayer.setAutoGeneralize(false);"},{"id":"text-591","heading":"Text","content":"Sets the definition expression for the FeatureLayer. Only the features that match the definition expression are displayed. A definition expression limits the features available for display and queries by applying constraints to the layer&#39;s attribute fields. Setting a definition expression is useful when the dataset is large and you don&#39;t want to bring everything to the client for analysis. This method is typically called before adding the layer to the map. If the method is called after the layer is added to the map the layer will refresh itself to reflect the new definition expression.\nThis definition expression is combined with the layer&#39;s default definition expression which results in a further restriction of the layer."},{"id":"text-592","heading":"Text","content":"Parameters:"},{"id":"text-593","heading":"Text","content":"&lt;Chaîne&gt; expression\nChamps obligatoires\nThe definition expression to apply. For example, &quot;TYPE=&#39;Park&#39;&quot;"},{"id":"text-594","heading":"Text","content":"Sample:"},{"id":"text-595","heading":"Text","content":"featureLayer.setDefinitionExpression(&quot;STATE_NAME = &#39;South Carolina&#39;&quot;);"},{"id":"text-596","heading":"Text","content":"Set the editability of feature layers created from a feature collection. This method is only valid for feature layers created from feature collections. \nWhen the feature layer&#39;s editability is updated the onCapabilitiesChange event is fired. Utilisez le isEditable method to determine if the layer is editable. \n (Added at v2.6)\nParameters:"},{"id":"text-597","heading":"Text","content":"&lt;Booléen&gt; editable\nChamps obligatoires\nWhen true, the layer will be set as editable."},{"id":"text-598","heading":"Text","content":"Sample:"},{"id":"text-599","heading":"Text","content":"featureLayer.setEditable(true);"},{"id":"text-600","heading":"Text","content":"Sets feature reduction options on the layer (for example clustering options). When set, features in the layer will aggregate, thus changing the visualization. This will not change the renderer of the layer. See the valid parameters in the table below.\nSupport for feature reduction is limited to the following scenarios:"},{"id":"text-601","heading":"Text","content":"Point data in FeatureLayer (from service or FeatureCollection) and CSVLayer.\nThe map must have a spatial reference of Web Mercator or WGS84.\nIf the layer contains more than 50,000 features, then only the first 50,000 will be clustered.\nA FeatureLayer created from a service URL must point to a service that supports pagination (ArcGIS Server version 10.3.1 or higher).\nWhen editing is initiated with the Editor widget, then feature reduction is disabled until the Editor widget is destroyed.\nFeature reduction is disabled when the layer has one of the following renderers: HeatmapRenderer,\n        BlendRenderer, TemporalRenderer, ou\n        ScaleDependentRenderer."},{"id":"text-602","heading":"Text","content":"(Added at v3.22)\nParameters:"},{"id":"text-603","heading":"Text","content":"&lt;Objet&gt; options\nChamps obligatoires\nOptions for reducing (or aggregating) the features in the map. See the table below for more details."},{"id":"text-604","heading":"Text","content":"Object Specifications: \n&lt;options&gt;"},{"id":"text-605","heading":"Text","content":"&lt;Nombre&gt; clusterRadius\nOptionnel\nThe radius in pixels of each area in which multiple points will be summarized and visualized as a single cluster. The default value is 80."},{"id":"text-606","heading":"Text","content":"&lt;InfoTemplate&gt; infoTemplate\nOptionnel\nThe InfoTemplate used to display summary information about aggregate graphics."},{"id":"text-607","heading":"Text","content":"&lt;Chaîne&gt; type\nChamps obligatoires\nThe reduction (or aggregation) method for reducing the features displayed in the map. The only valid type is grappe."},{"id":"text-608","heading":"Text","content":"Sample:"},{"id":"text-609","heading":"Text","content":"featureLayer.setFeatureReduction(\n    type: &quot;cluster&quot;,\n    clusterRadius: 60\n  );"},{"id":"text-610","heading":"Text","content":"Set the layer&#39;s data source to the specified geodatabase version. If the versionName is null then the data source will be the published map&#39;s default version. Only applicable if the layer&#39;s data source is registered as versioned in SDE. Only valid with ArcGIS Server services version 10.1 or greater. (Added at v2.7)\nParameters:"},{"id":"text-611","heading":"Text","content":"&lt;Chaîne&gt; versionName\nChamps obligatoires\nThe name of the geodatabase version to use as the layer&#39;s data source."},{"id":"text-612","heading":"Text","content":"Specify or change the info template for a layer. (Added at v2.2)\nSample:"},{"id":"text-613","heading":"Text","content":"require([\n  \"esri/InfoTemplate\", ... \n], function(InfoTemplate, ... ) \n    var template = new InfoTemplate();"},{"id":"text-614","heading":"Text","content":"    template.setTitle(&quot;$qAddress&quot;);"},{"id":"text-615","heading":"Text","content":"    template.setContent(getTextContent);"},{"id":"text-616","heading":"Text","content":"    featureLayer.setInfoTemplate(template);\n  ...\n);"},{"id":"text-617","heading":"Text","content":"Sets labeling info on the layer. Input value is an array of LabelClass objects. (Added at v3.10)\nParameters:"},{"id":"text-618","heading":"Text","content":"&lt;LabelClass[]&gt; labelingInfo\nChamps obligatoires\nThis is the label definition for this layer, specified as an array of label classes. Use this property to specify any changes to the structure of the label. For example, label expression, placement, and size can be modified and passed to this property."},{"id":"text-619","heading":"Text","content":"Sample:"},{"id":"text-620","heading":"Text","content":"//make sure the Map&#39;s showLabels option is set to true\n  var map = new Map(&quot;map&quot;, \n    basemap: &quot;streets&quot;,\n    center:[-80, 30],\n    zoom: 5,\n    showLabels : true\n  );\n \n//create featurelayer\n  var flayer = new FeatureLayer(url, \n    outFields: [\"*\"] //make sure field to label is specified here in outFields\n  );"},{"id":"text-621","heading":"Text","content":"//create a text symbol and renderer to define the style of labels\n   var labelSymbol = new TextSymbol(); \n   var labelRenderer = new SimpleRenderer(labelSymbol);"},{"id":"text-622","heading":"Text","content":"var json = \n  &quot;labelExpressionInfo&quot;: &quot;value&quot;: &quot;LocalTime&quot;,\n  &quot;useCodedValues&quot;: false,\n  &quot;labelPlacement&quot;:&quot;above-right&quot;,\n  &quot;fieldInfos&quot;: [fieldName: \"LocalTime\",format:  \"dateFormat\": \"shortDate\"]\n  ;"},{"id":"text-623","heading":"Text","content":"//create instance of LabelClass\n  var lc = new LabelClass(json);\n  lc.symbol = labelSymbol; // symbol also can be set in LabelClass&#39; json\n  flayer.setLabelingInfo([ lc ])"},{"id":"text-624","heading":"Text","content":"Sets the maximum allowable offset used when generalizing geometries. The offset is in the units of the spatialReference. This is ignored when working with editable layers.\nParameters:"},{"id":"text-625","heading":"Text","content":"&lt;Nombre&gt; offset\nChamps obligatoires\nThe maximum allowable offset."},{"id":"text-626","heading":"Text","content":"Sample:"},{"id":"text-627","heading":"Text","content":"require([\n  \"esri/layers/FeatureLayer\", ... \n], function(FeatureLayer, ... ) \n  featureLayer = new FeatureLayer(featureLayerUrl, \n    maxAllowableOffset: 1000\n  );\n  ...\n);"},{"id":"text-628","heading":"Text","content":"Set the maximum scale for the layer. (Added at v3.1)\nParameters:"},{"id":"text-629","heading":"Text","content":"&lt;Nombre&gt; scale\nChamps obligatoires\nThe maximum scale at which the layer is visible."},{"id":"text-630","heading":"Text","content":"Set the minimum scale for the layer. (Added at v3.1)\nParameters:"},{"id":"text-631","heading":"Text","content":"&lt;Nombre&gt; scale\nChamps obligatoires\nThe minimum scale at which the layer is visible."},{"id":"text-632","heading":"Text","content":"Initial opacity or transparency of layer. Not supported in Internet Explorer.\nParameters:"},{"id":"text-633","heading":"Text","content":"&lt;Nombre&gt; opacity\nChamps obligatoires\nValue from 0 to 1, where 0 is 100% transparent and 1 has no transparency. The default value is 1."},{"id":"text-634","heading":"Text","content":"Sample:"},{"id":"text-635","heading":"Text","content":"featureLayer.setOpacity(.50);"},{"id":"text-636","heading":"Text","content":"Changes the layer&#39;s refresh interval to the given value (in minutes). Non-zero value sets up automatic layer refresh at the specified interval. Value of 0 stops auto refresh. (Added at v3.7)\nParameters:"},{"id":"text-637","heading":"Text","content":"&lt;Nombre&gt; interval\nChamps obligatoires\nRefresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},{"id":"text-638","heading":"Text","content":"Set the renderer for the feature layer.\nParameters:"},{"id":"text-639","heading":"Text","content":"&lt;Renderer&gt; renderer\nChamps obligatoires\nThe renderer to apply to the feature layer"},{"id":"text-640","heading":"Text","content":"Sample:"},{"id":"text-641","heading":"Text","content":"require([\n  \"esri/symbols/SimpleFillSymbol\", \"esri/Color\", \"esri/renderers/SimpleRenderer\", ... \n], function(SimpleFillSymbol, Color, SimpleRenderer, ... ) \n  var symbol = new SimpleFillSymbol().setColor(new Color([255,0,0,0.5]));"},{"id":"text-642","heading":"Text","content":"  var renderer = new SimpleRenderer(symbol);"},{"id":"text-643","heading":"Text","content":"  featureLayer.setRenderer(renderer);\n  ...\n);"},{"id":"text-644","heading":"Text","content":"Set the scale range for the layer.  If minScale and maxScale are set to 0 then the layer will be visible at all scales. (Added at v2.5)\nParameters:"},{"id":"text-645","heading":"Text","content":"&lt;Nombre&gt; minScale\nChamps obligatoires\nThe minimum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a minimum scale."},{"id":"text-646","heading":"Text","content":"&lt;Nombre&gt; maxScale\nChamps obligatoires\nThe maximum scale for the layer. If the map is zoomed out beyond the specified scale the layer will not be visible. A value of 0 means the layer does not have a maximum scale."},{"id":"text-647","heading":"Text","content":"Sample:"},{"id":"text-648","heading":"Text","content":"featureLayer.setScaleRange(591657528,147914381);"},{"id":"text-649","heading":"Text","content":"Sets the selection symbol for the feature layer. If no symbol is specified, features are drawn using the layer&#39;s renderer.\nParameters:"},{"id":"text-650","heading":"Text","content":"&lt;symbole&gt; symbol\nChamps obligatoires\nSymbol for the current selection. Make sure the symbol type is appropriate for the geometry type of the layer."},{"id":"text-651","heading":"Text","content":"Sample:"},{"id":"text-652","heading":"Text","content":"require([\n  \"esri/layers/FeatureLayer\", \"esri/symbols/SimpleFillSymbol\", \"esri/Color\", ... \n], function(FeatureLayer, SimpleFillSymbol, Color, ... ) \n  var featureLayer = new FeatureLayer( ... );\n  var selectionSymbol = new SimpleFillSymbol().setColor(new Color([255,255,0,0.5]));\n  featureLayer.setSelectionSymbol(selectionSymbol);\n  ...\n);"},{"id":"text-653","heading":"Text","content":"Sets whether to display labels or not. Set to false to turn off labeling. (Added at v3.11)\nParameters:"},{"id":"text-654","heading":"Text","content":"&lt;Booléen&gt; showLabels\nChamps obligatoires\nSet to true to show labels."},{"id":"text-655","heading":"Text","content":"Sets the time definition for the feature layer. A time definition temporarily filters the features in the layer to match the specified time extent. Only applicable for time-aware layers. Only supported when the feature layer is in snapshot mode. \nIn addition to time definition, time-aware layers also support the time extent set on the map. Time-aware layers automatically update when the map&#39;s time extent is changed, similar to how layers react when the map&#39;s spatial reference is modified. If a layer&#39;s time definition is set to display features between 1970 and 1975 and the map has a time extent set to 1972-1980, the effective time on the feature layer will be 1972-1975"},{"id":"text-656","heading":"Text","content":"Parameters:"},{"id":"text-657","heading":"Text","content":"&lt;TimeExtent&gt; definition\nChamps obligatoires\nThe new time extent used to filter the layer."},{"id":"text-658","heading":"Text","content":"Sample:"},{"id":"text-659","heading":"Text","content":"require([\n  \"esri/TimeExtent\", \"esri/layers/FeatureLayer\", ... \n], function(TimeExtent, FeatureLayer, ... ) \n  var defn = new TimeExtent();\n  var featureLayer( ... );\n  defn.startTime = new Date(&quot;November 30,2009 6:00:00&quot;)\n  defn.endTime = new Date(&quot;November 30, 2009 8:00:00&quot;);\n  featureLayer.setTimeDefinition(defn);\n  ...\n);"},{"id":"text-660","heading":"Text","content":"Time offset allows you to display the features at a different time so they can be overlaid on top of previous or future time periods. For example, to visualize the growth pattern of two wild fires that happened in two different years, one of the layers can be given an offset that will cause it to appear as if the fire started at the same time as the other fire. Note that the offset does not change the temporal component of the data itself and has no effect if the layer is not time aware.\nExample: If a layer has data recorded for the year 1970, an offset value of 2 years would temporarily shift the data to 1972 (for display purposes only, query and selection are not affected by offset)."},{"id":"text-661","heading":"Text","content":"Parameters:"},{"id":"text-662","heading":"Text","content":"&lt;Nombre&gt; offsetValue\nChamps obligatoires\nThe length of time to offset from &quot;this&quot; time. Specify a positive or negative whole number."},{"id":"text-663","heading":"Text","content":"&lt;Chaîne&gt; offsetUnits\nChamps obligatoires\nUnits in which the offset is specified. See the TimeInfo constants for valid values."},{"id":"text-664","heading":"Text","content":"Determine if the layer will update its content based on the map&#39;s current time extent. Default value is true. (Added at v2.2)\nParameters:"},{"id":"text-665","heading":"Text","content":"&lt;Booléen&gt; update\nChamps obligatoires\nWhen false the layer will not update its content based on the map&#39;s time extent. Default value is true."},{"id":"text-666","heading":"Text","content":"Sets the visibility of the layer. When true, the layer is visible.\nParameters:"},{"id":"text-667","heading":"Text","content":"&lt;Booléen&gt; isVisible\nChamps obligatoires\nSet the visibility of the layer."},{"id":"text-668","heading":"Text","content":"Toggles WebGL rendering on/off on the layer. (Added at v3.24)\nParameters:"},{"id":"text-669","heading":"Text","content":"&lt;Booléen&gt; enable\nChamps obligatoires\nIndicates whether to enable WebGL on the layer."},{"id":"text-670","heading":"Text","content":"Sample: \nlayer.setWebGLEnabled(true);"},{"id":"text-671","heading":"Text","content":"Sets the visibility of the layer to &quot;true&quot;."},{"id":"text-672","heading":"Text","content":"Suspends layer drawing. (Added at v3.1)"},{"id":"text-673","heading":"Text","content":"Returns an easily serializable object representation of the layer. Regardless of the layer&#39;s mode of operation, only features currently available on the client are included."},{"id":"text-674","heading":"Text","content":"  layerDefinition: ,"},{"id":"text-675","heading":"Text","content":"    featureSet:"},{"id":"text-676","heading":"Text","content":"    features:"},{"id":"text-677","heading":"Text","content":"Détails de l&#39;évènement\n[[[[On Style Events | Connect Style Event ]"},{"id":"text-678","heading":"Text","content":"Fires when addAttachments() is complete. Should be used in favor of onAddAttachmentComplete. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-679","heading":"Text","content":"&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added."},{"id":"text-680","heading":"Text","content":"Fired before edits are applied to the feature layer. Should be used in favor of onBeforeApplyEdits. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-681","heading":"Text","content":"&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service."},{"id":"text-682","heading":"Text","content":"&lt;Graphic[]&gt; deletes\nArray of features to delete."},{"id":"text-683","heading":"Text","content":"&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed."},{"id":"text-684","heading":"Text","content":"Fired when the capabilities of the layer are modified using the setEditable method. Should be used in favor of onCapabilitiesChange. (Added at v3.5)"},{"id":"text-685","heading":"Text","content":"Fires when a graphic has been clicked. Should be used in favor of onClick. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-686","heading":"Text","content":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic."},{"id":"text-687","heading":"Text","content":"Fires when a feature has been double clicked. (Added at v3.6)\nEvent Object Properties:"},{"id":"text-688","heading":"Text","content":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic."},{"id":"text-689","heading":"Text","content":"Sample:"},{"id":"text-690","heading":"Text","content":"require([\n  \"dojo/_base/connect\", \"esri/toolbars/Edit\", ... \n], function(connect, Edit, ... ) \n  var editToolbar = new Edit( ... );\n  connect.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt) \n    editToolbar.activate(Edit.EDIT_VERTICES , evt.graphic);\n  );\n  ...\n);"},{"id":"text-691","heading":"Text","content":"Fires when deleteAttachments is complete. Should be used in favor of onDeleteAttachmentsComplete. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-692","heading":"Text","content":"&lt;Objet[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed."},{"id":"text-693","heading":"Text","content":"Fires after applyEdits() is complete. Should be used in favor of onEditsComplete. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-694","heading":"Text","content":"&lt;FeatureEditResult[]&gt; adds\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature."},{"id":"text-695","heading":"Text","content":"&lt;FeatureEditResult[]&gt; deletes\nAn array of result objects, one for each feature, indicating if it was successfully deleted. If the feature was deleted the result object will contain the unique object ID previously assigned to the feature."},{"id":"text-696","heading":"Text","content":"&lt;FeatureEditResult[]&gt; updates\nAn array of result objects, one for each feature, indicating if it was successfully updated. If the feature was updated the result object will contain the unique object ID assigned to the feature."},{"id":"text-697","heading":"Text","content":"Fires when there is a problem retrieving a layer. Should be used in favor of onError. (Added at v3.5)"},{"id":"text-698","heading":"Text","content":"Fired when the geodatabase version is switched. (Added at v3.5)"},{"id":"text-699","heading":"Text","content":"Fires when a graphic is added to the GraphicsLayer. Should be used in favor of onGraphicAdd. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-700","heading":"Text","content":"&lt;Graphic&gt; graphic\nThe added graphic."},{"id":"text-701","heading":"Text","content":"Fires when a graphic is drawn. A graphic is drawn or redrawn when:"},{"id":"text-702","heading":"Text","content":"When it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn."},{"id":"text-703","heading":"Text","content":"(Added at v3.7)\nEvent Object Properties:"},{"id":"text-704","heading":"Text","content":"&lt;Graphic&gt; graphic\nGraphic being drawn. When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#39;s DOM node is accessible with graphic.getNode()."},{"id":"text-705","heading":"Text","content":"Fires when a graphic&#39;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)"},{"id":"text-706","heading":"Text","content":"This event is fired when a graphic&#39;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:"},{"id":"text-707","heading":"Text","content":"Graphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image)."},{"id":"text-708","heading":"Text","content":"Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)"},{"id":"text-709","heading":"Text","content":"Fires when a graphic is removed from the GraphicsLayer. Should be used in favor of onGraphicRemove. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-710","heading":"Text","content":"&lt;Graphic&gt; graphic\nThe removed graphic."},{"id":"text-711","heading":"Text","content":"Fires when all graphics in the GraphicsLayer are cleared. Should be used in favor of onGraphicsClear. (Added at v3.5)"},{"id":"text-712","heading":"Text","content":"Fired when labeling info on the layer changes. (Added at v3.10)"},{"id":"text-713","heading":"Text","content":"Fires after layer properties for the layer are successfully populated. This event must be successful before the layer can be added to the map. Should be used in favor of onLoad. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-714","heading":"Text","content":"&lt;Couche&gt; layer\nThe loaded layer."},{"id":"text-715","heading":"Text","content":"Fires when a mouse button is pressed down and the mouse cursor is on a graphic. Should be used in favor of onMouseDown. (Added at v3.5)"},{"id":"text-716","heading":"Text","content":"Fires while the mouse is being dragged until the mouse button is released. Should be used in favor of onMouseDrag. (Added at v3.5)"},{"id":"text-717","heading":"Text","content":"Fires as the mouse moves through a graphic on the GraphicsLayer. Should be used in favor of onMouseMove. (Added at v3.5)"},{"id":"text-718","heading":"Text","content":"Fires as the mouse exits a graphic on the GraphicsLayer. Should be used in favor of onMouseOut. (Added at v3.5)"},{"id":"text-719","heading":"Text","content":"Fires when the mouse first enters into a graphic on the GraphicsLayer. Should be used in favor of onMouseOver. (Added at v3.5)"},{"id":"text-720","heading":"Text","content":"Fires when a mouse button is released and the mouse cursor is on a graphic. Should be used in favor of onMouseUp. (Added at v3.5)"},{"id":"text-721","heading":"Text","content":"Fires when the layer opacity has been changed, and returns an object with the opacity value. Should be used in favor of onOpacityChange. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-722","heading":"Text","content":"&lt;Nombre&gt; opacity\nFires when the layer opacity (transparency) changes. A number property named opacity that indicates the new opacity. Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency."},{"id":"text-723","heading":"Text","content":"Fires when queryAttachmentInfos method is called. Should be used in favor of onQueryAttachmentInfosComplete. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-724","heading":"Text","content":"&lt;Objet[]&gt; info\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size."},{"id":"text-725","heading":"Text","content":"Fires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. Should be used in favor of onQueryCountComplete. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-726","heading":"Text","content":"&lt;Nombre&gt; count\nThe number of features that satisfy the input query."},{"id":"text-727","heading":"Text","content":"Fires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties:"},{"id":"text-728","heading":"Text","content":"&lt;Nombre&gt; count\nThe count of features."},{"id":"text-729","heading":"Text","content":"&lt;Extent&gt; extent\nThe extent of features."},{"id":"text-730","heading":"Text","content":"Fires when queryFeatures() is complete. Should be used in favor of onQueryFeaturesComplete. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-731","heading":"Text","content":"&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query."},{"id":"text-732","heading":"Text","content":"Fires when queryIds() is complete. Should be used in favor of onQueryIdsComplete. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-733","heading":"Text","content":"&lt;Nombre[]&gt; objectIds\nArray of ObjectIds returned from the query."},{"id":"text-734","heading":"Text","content":"Fired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. Should be used in favor of onQueryLimitExceeded. (Added at v3.5)"},{"id":"text-735","heading":"Text","content":"Fires when queryRelatedFeatures() is complete. Should be used in favor of onQueryRelatedFeaturesComplete. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-736","heading":"Text","content":"&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table."},{"id":"text-737","heading":"Text","content":"  &quot;15&quot;: ,\n  &quot;9&quot;:"},{"id":"text-738","heading":"Text","content":"This event is fired when the layer&#39;s refreshInterval is modified. (Added at v3.7)"},{"id":"text-739","heading":"Text","content":"Fires right before the actual refresh kicks in for the layer, and only fires when the refresh is triggered by the refreshInterval.  (Added at v3.27)"},{"id":"text-740","heading":"Text","content":"Fires when a layer resumes drawing. (Added at v3.6)"},{"id":"text-741","heading":"Text","content":"Fires when a layer&#39;s minScale and/or maxScale is changed. Should be used in favor of onScaleRangeChange. (Added at v3.5)"},{"id":"text-742","heading":"Text","content":"Fires when a layer&#39;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#39;s scale range or vice versa. Should be used in favor of onScaleVisibilityChange. (Added at v3.5)"},{"id":"text-743","heading":"Text","content":"Fires after clearSelection has been called. Should be used in favor of onSelectionClear. (Added at v3.5)"},{"id":"text-744","heading":"Text","content":"Fires when selectFeatures() completes. Should be used in favor of onSelectionComplete. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-745","heading":"Text","content":"&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set."},{"id":"text-746","heading":"Text","content":"&lt;Nombre&gt; method\nSelection method used in the selectFeatures method."},{"id":"text-747","heading":"Text","content":"Fired when the feature layer&#39;s labels are changed. Should be used in favor of onShowLabelsChange. (Added at v3.11)"},{"id":"text-748","heading":"Text","content":"Fires when a layer suspends drawing. (Added at v3.6)"},{"id":"text-749","heading":"Text","content":"Fired when the layer has finished updating its content. This event is always preceded by update-start. Should be used in favor of onUpdateEnd. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-750","heading":"Text","content":"&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update."},{"id":"text-751","heading":"Text","content":"&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8"},{"id":"text-752","heading":"Text","content":"Fired when the layer begins to update its content. The following table describes when the event is fired in various modes."},{"id":"text-753","heading":"Text","content":"Instantané"},{"id":"text-754","heading":"Text","content":"When the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#39;s time extent changes.\nWhen the layer is refreshed."},{"id":"text-755","heading":"Text","content":"OnDemand"},{"id":"text-756","heading":"Text","content":"When the layer is added to the map.\nWhen the map&#39;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed."},{"id":"text-757","heading":"Text","content":"Selection"},{"id":"text-758","heading":"Text","content":"The event is not fired in selection mode."},{"id":"text-759","heading":"Text","content":"(Added at v3.6)"},{"id":"text-760","heading":"Text","content":"Fires when the layer visibility has been changed, and returns an object with a Boolean visible property containing the new visibility value of the layer. Should be used in favor of onVisibilityChange. (Added at v3.5)\nEvent Object Properties:"},{"id":"text-761","heading":"Text","content":"&lt;Booléen&gt; visible\nFires when the layer visibility changes. A boolean property named visible indicates whether or not the layer is visible after visibility changed."},{"id":"text-762","heading":"Text","content":"Fires when addAttachments() is complete.\nEvent Object Properties:"},{"id":"text-763","heading":"Text","content":"&lt;FeatureEditResult&gt; result\nThe result of the addAttachment operation indicating if the attachment was successfully added."},{"id":"text-764","heading":"Text","content":"Fired before edits are applied to the feature layer.\nEvent Object Properties:"},{"id":"text-765","heading":"Text","content":"&lt;Graphic[]&gt; adds\nArray of features to add to the layer in the feature service."},{"id":"text-766","heading":"Text","content":"&lt;Graphic[]&gt; updates\nArray of features whose geometry and/or attributes have changed."},{"id":"text-767","heading":"Text","content":"&lt;Graphic[]&gt; deletes\nArray of features to delete."},{"id":"text-768","heading":"Text","content":"Fired when the capabilities of the layer are modified using the setEditable méthode. (Added at v2.6)\nSample:"},{"id":"text-769","heading":"Text","content":"dojo.connect(featureLayer,&#39;onCapabilitiesChange&#39;,function()"},{"id":"text-770","heading":"Text","content":"  var capabilities = featureLayer.getEditCapabilities();"},{"id":"text-771","heading":"Text","content":");"},{"id":"text-772","heading":"Text","content":"Fires when a graphic has been clicked.\nEvent Object Properties:"},{"id":"text-773","heading":"Text","content":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic."},{"id":"text-774","heading":"Text","content":"Fires when a feature has been double clicked.\nEvent Object Properties:"},{"id":"text-775","heading":"Text","content":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and graphic."},{"id":"text-776","heading":"Text","content":"Sample:"},{"id":"text-777","heading":"Text","content":"dojo.connect(firePerimeterFL, &quot;onDblClick&quot;, function(evt)"},{"id":"text-778","heading":"Text","content":"  editToolbar.activate(esri.toolbars.Edit.EDIT_VERTICES , evt.graphic);"},{"id":"text-779","heading":"Text","content":");"},{"id":"text-780","heading":"Text","content":"Fires when deleteAttachments is complete.\nEvent Object Properties:"},{"id":"text-781","heading":"Text","content":"&lt;FeatureEditResult[]&gt; results\nThe result objects, one for each attachment indicating if it was successfully removed."},{"id":"text-782","heading":"Text","content":"Fires after applyEdits() has been called.\nEvent Object Properties:"},{"id":"text-783","heading":"Text","content":"&lt;FeatureEditResult[]&gt; addResults\nAn array of result objects, one for each feature, indicating if it was successfully added. If the feature was added the result object will contain the unique object ID assigned to the feature."},{"id":"text-784","heading":"Text","content":"&lt;FeatureEditResult[]&gt; updateResults\nAn array of result objects, one for each feature, indicating if it was successfully updated."},{"id":"text-785","heading":"Text","content":"&lt;FeatureEditResult[]&gt; deleteResults\nAn array of result objects, one for each feature, indicating if the it was successfully deleted."},{"id":"text-786","heading":"Text","content":"Fires when there is a problem retrieving a layer. (Added at v1.3)"},{"id":"text-787","heading":"Text","content":"Fires when a graphic is added to the GraphicsLayer.\nEvent Object Properties:"},{"id":"text-788","heading":"Text","content":"&lt;Graphic&gt; graphic\nThe added graphic."},{"id":"text-789","heading":"Text","content":"Fires when a graphic is drawn. A graphic is drawn or redrawn when:"},{"id":"text-790","heading":"Text","content":"When it is added to the layer.\nWhen Geometry or Symbol is modified.\nWhen it enters the viewport and intersects the map extent.\nWhen the layer is redrawn."},{"id":"text-791","heading":"Text","content":"(Added at v3.7)\nEvent Object Properties:"},{"id":"text-792","heading":"Text","content":"&lt;Objet&gt; evt\nle < Graphic > graphique being drawn.  When the layer surfaceType est &quot;svg&quot; ou &quot;vml&quot;, the graphic&#39;s DOM node is accessible with graphic.getNode()."},{"id":"text-793","heading":"Text","content":"Fires when a graphic&#39;s DOM node is created and added to the layer. Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties:"},{"id":"text-794","heading":"Text","content":"&lt;Objet&gt; evt\nAn object with the following properties:"},{"id":"text-795","heading":"Text","content":"< Graphic > graphique:Graphic being drawn.\n   \n< DOM Node > nœud: Graphic&#39;s DOM Node."},{"id":"text-796","heading":"Text","content":"This event is fired when a graphic&#39;s DOM node is removed (consider the node destroyed). The DOM node of a graphic is removed when:"},{"id":"text-797","heading":"Text","content":"Graphic is removed from the layer.\nGraphic exits the viewport on map navigation.\nWhen a symbol change cannot be applied to the Graphic without replacing the current node with a new one. For example: when a marker symbol is changed from SimpleMarkerSymbol to PictureMarkerSymbol, onGraphicNodeRemove will be fired for the node that is being replaced (SVG Circle) and onGraphicNodeAdd will be fired for the new node (SVG Image)."},{"id":"text-798","heading":"Text","content":"Fires only when the layer surfaceType is &quot;svg&quot; ou &quot;vml&quot;. (Added at v3.7)\nEvent Object Properties:"},{"id":"text-799","heading":"Text","content":"&lt;Objet&gt; evt\nAn object with the following properties:"},{"id":"text-800","heading":"Text","content":"graphique\nGraphic being drawn."},{"id":"text-801","heading":"Text","content":"nœud\nGraphic&#39;s DOM node."},{"id":"text-802","heading":"Text","content":"Fires when a graphic is removed from the GraphicsLayer.\nEvent Object Properties:"},{"id":"text-803","heading":"Text","content":"&lt;Graphic&gt; graphic\nThe removed graphic."},{"id":"text-804","heading":"Text","content":"Fires when all graphics in the GraphicsLayer are cleared."},{"id":"text-805","heading":"Text","content":"Fired when labeling info on the layer changes. (Added at v3.10)"},{"id":"text-806","heading":"Text","content":"Fires after layer properties for the layer are successfully populated.  This event must be successful before the layer can be added to the map. \nIn Internet Explorer, due to resource caching, the onLoad event is fired as soon as the layer is constructed. Consequently you should check whether the layer&#39;s loaded property is true before registering a listener for the onLoad event:"},{"id":"text-807","heading":"Text","content":"Event Object Properties:"},{"id":"text-808","heading":"Text","content":"&lt;Couche&gt; layer\nThe loaded layer."},{"id":"text-809","heading":"Text","content":"Sample: \nfunction init() \n  //setting initial extent in constructor\n  var map = new esri.Map(&quot;mapDiv&quot;,  extent: new esri.geometry.Extent(...) );"},{"id":"text-810","heading":"Text","content":"  //or use set extent method\n  var map = new esri.Map(&quot;mapDiv&quot;);\n  map.setExtent(new esri.geometry.Extent(...));"},{"id":"text-811","heading":"Text","content":"  //add first layer\n  map.addLayer(...);"},{"id":"text-812","heading":"Text","content":"Fires when a mouse button is pressed down and the mouse cursor is on a graphic.\nEvent Object Properties:"},{"id":"text-813","heading":"Text","content":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic."},{"id":"text-814","heading":"Text","content":"Fires while the mouse is being dragged until the mouse button is released.\nEvent Object Properties:"},{"id":"text-815","heading":"Text","content":"&lt;Objet&gt; event\nThe result can be any JavaScript MouseEvent, or the x and y coordinates of screenPoint or mapPoint."},{"id":"text-816","heading":"Text","content":"Fires as the mouse moves through a graphic on the GraphicsLayer.\nEvent Object Properties:"},{"id":"text-817","heading":"Text","content":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic."},{"id":"text-818","heading":"Text","content":"Fires as the mouse exits a graphic on the GraphicsLayer.\nEvent Object Properties:"},{"id":"text-819","heading":"Text","content":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic."},{"id":"text-820","heading":"Text","content":"Fires when the mouse first enters into a graphic on the GraphicsLayer.\nEvent Object Properties:"},{"id":"text-821","heading":"Text","content":"&lt;Objet&gt; event\nThe returned object contains  screenPoint, mapPoint, and Graphic."},{"id":"text-822","heading":"Text","content":"Fires when a mouse button is released and the mouse cursor is on a graphic.\nEvent Object Properties:"},{"id":"text-823","heading":"Text","content":"&lt;Objet&gt; event\nThe returned object contains screenPoint, mapPoint, and Graphic."},{"id":"text-824","heading":"Text","content":"Fires when the layer opacity has been changed, and returns the opacity value.\nEvent Object Properties:"},{"id":"text-825","heading":"Text","content":"&lt;Nombre&gt; opacity\nOpacity or transparency of layer.  Values range from 0.0 to 1.0, where 0.0 is 100% transparent and 1.0 has no transparency."},{"id":"text-826","heading":"Text","content":"Fires when queryAttachmentInfos() is complete.\nEvent Object Properties:"},{"id":"text-827","heading":"Text","content":"&lt;Objet[]&gt; attachmentInfos\nInformation about the attachments associated with the feature. Each element in this array is an object with the following properties: objectId,url,id,name,contentType,size."},{"id":"text-828","heading":"Text","content":"Fires when the query for the count is complete. This event is only available for layers published using ArcGIS Server 10 SP1 or later. (Added at v2.1)\nEvent Object Properties:"},{"id":"text-829","heading":"Text","content":"&lt;Nombre&gt; count\nThe number of features that satisfy the input query."},{"id":"text-830","heading":"Text","content":"Sample:"},{"id":"text-831","heading":"Text","content":"dojo.connect(featureLayer,&#39;onQueryCountComplete&#39;,function(count)"},{"id":"text-832","heading":"Text","content":"  console.log(count + &quot; features satisfied the input query&quot;);"},{"id":"text-833","heading":"Text","content":");"},{"id":"text-834","heading":"Text","content":"Fires when queryExtent method has completed. (Added at v3.9)\nEvent Object Properties:"},{"id":"text-835","heading":"Text","content":"&lt;Extent&gt; extent\nThe extent of features."},{"id":"text-836","heading":"Text","content":"&lt;Nombre&gt; count\nThe count of features."},{"id":"text-837","heading":"Text","content":"Fires when queryFeatures() is complete.\nEvent Object Properties:"},{"id":"text-838","heading":"Text","content":"&lt;FeatureSet&gt; featureSet\nThe FeatureSet returned from the query."},{"id":"text-839","heading":"Text","content":"Fires when queryIds() is complete.\nEvent Object Properties:"},{"id":"text-840","heading":"Text","content":"&lt;Nombre[]&gt; ids\nArray of ObjectIds returned from the query."},{"id":"text-841","heading":"Text","content":"Fired when the feature layer could not draw all the features due to a maxRecordCount limitation on a query operation. (Added at v2.8)"},{"id":"text-842","heading":"Text","content":"Fires when queryRelatedFeatures() is complete.\nEvent Object Properties:"},{"id":"text-843","heading":"Text","content":"&lt;Objet&gt; relatedFeatures\nAn object that contains feature sets. Each feature set contains features, from the target layer/table, related to the source feature. In the example below 15 and 9 are the object IDs of the features in the source layer/table."},{"id":"text-844","heading":"Text","content":"  &quot;15&quot;: ,\n  &quot;9&quot;:"},{"id":"text-845","heading":"Text","content":"This event is fired when the layer&#39;s refreshInterval is modified. (Added at v3.7)"},{"id":"text-846","heading":"Text","content":"Fires when a layer resumes drawing. (Added at v3.1)"},{"id":"text-847","heading":"Text","content":"Fires when a layer&#39;s minScale and/or maxScale is changed. (Added at v3.1)"},{"id":"text-848","heading":"Text","content":"Fires when a layer&#39;s scale visibility changes. The scale visibility changes when a layer is initially visible and becomes invisible because the map scale does not intersect the layer&#39;s scale range or vice versa. (Added at v3.1)"},{"id":"text-849","heading":"Text","content":"Fires after clearSelection has been called."},{"id":"text-850","heading":"Text","content":"Fires when selectFeatures() has completed. OnSelectionComplete always fires unless there is an error returned by the server.\nEvent Object Properties:"},{"id":"text-851","heading":"Text","content":"&lt;Graphic[]&gt; features\nFeatures returned from the query. This does not equal the current selection, call getSelectedFeatures() to retrieve the current selection set."},{"id":"text-852","heading":"Text","content":"&lt;Nombre&gt; selectionMethod\nSelection method used in the selectFeatures method."},{"id":"text-853","heading":"Text","content":"Fires when the labels of the featurelayer have changed. (Added at v3.11)"},{"id":"text-854","heading":"Text","content":"Fires when a layer suspends drawing. (Added at v3.1)"},{"id":"text-855","heading":"Text","content":"Fired when the layer has finished updating its content. This event is always preceded by onUpdateStart\nEvent Object Properties:"},{"id":"text-856","heading":"Text","content":"&lt;Erreur&gt; error\nOptional argument available when an error occurs during the update."},{"id":"text-857","heading":"Text","content":"&lt;Objet&gt; info\nOptional object that may have a boolean queryLimitExceeded propriété. queryLimitExceeded will be true if the feature layer could not draw all features due to a maxRecordCount limitation on the query operation. As of v2.8"},{"id":"text-858","heading":"Text","content":"Fired when the layer begins to update its content. The following table describes when the event is fired in various modes."},{"id":"text-859","heading":"Text","content":"Instantané"},{"id":"text-860","heading":"Text","content":"When the layer is added to the map.\nWhen layer properties such as definition expression, time definition or time offset are modified.\nWhen the map&#39;s time extent changes.\nWhen the layer is refreshed."},{"id":"text-861","heading":"Text","content":"OnDemand"},{"id":"text-862","heading":"Text","content":"When the layer is added to the map.\nWhen the map&#39;s spatial extent or time extent changes.\nWhen layer properties such as definition expression or time offset are modified.\nWhen the layer is refreshed."},{"id":"text-863","heading":"Text","content":"Selection"},{"id":"text-864","heading":"Text","content":"The event is not fired in selection mode."},{"id":"text-865","heading":"Text","content":"Fires when the layer visibility has been changed, and returns the new visibility.\nEvent Object Properties:"},{"id":"text-866","heading":"Text","content":"&lt;Booléen&gt; visbility\nDetermines whether the layer is visible on the map."},{"id":"text-867","heading":"Text","content":"Click to rate this post!\n                                   \n                               [Total: 0  Average: 0]"}],"media":{"primary_image":""},"relations":[{"rel":"canonical","href":"https://tutos-gameserver.fr/2019/05/04/featurelayer-reference-api-api-arcgis-pour-javascript-3-28-serveur-dimpression/"},{"rel":"alternate","href":"https://tutos-gameserver.fr/2019/05/04/featurelayer-reference-api-api-arcgis-pour-javascript-3-28-serveur-dimpression/llm","type":"text/html"},{"rel":"alternate","href":"https://tutos-gameserver.fr/2019/05/04/featurelayer-reference-api-api-arcgis-pour-javascript-3-28-serveur-dimpression/llm.json","type":"application/json"},{"rel":"llm-manifest","href":"https://tutos-gameserver.fr/llm-endpoints-manifest.json","type":"application/json"}],"http_headers":{"X-LLM-Friendly":"1","X-LLM-Schema":"1.1.0","Content-Security-Policy":"default-src 'none'; img-src * data:; style-src 'unsafe-inline'"},"license":"CC BY-ND 4.0","attribution_required":true,"allow_cors":false}