Annonce : Tous les projets non commerciaux enregistrés pour utiliser Earth Engine avant le 15 avril 2025 doivent vérifier leur éligibilité non commerciale pour conserver leur accès à Earth Engine.
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Modifie l'élément affiché sur ce calque.
Renvoie ce calque de carte.
Utilisation
Renvoie
FeatureViewLayer.setAssetId(assetId)
ui.Map.FeatureViewLayer
Argument
Type
Détails
ceci : ui.map.featureviewlayer
ui.Map.FeatureViewLayer
Instance ui.Map.FeatureViewLayer.
assetId
Chaîne
ID de l'élément pour la FeatureView qui soutient ce calque.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/26 (UTC)."],[[["The `setAssetId()` function is used to modify the asset displayed on a FeatureViewLayer."],["It accepts the asset ID as an argument and applies this change to the specified FeatureViewLayer."],["Calling this function returns the updated `ui.Map.FeatureViewLayer` object for further use."]]],["The `FeatureViewLayer.setAssetId(assetId)` method updates the displayed asset on a `ui.Map.FeatureViewLayer`. It takes a single string argument, `assetId`, which specifies the new asset ID. This method is called on a `ui.Map.FeatureViewLayer` instance and returns the same `ui.Map.FeatureViewLayer` instance, reflecting the updated layer with the newly selected asset.\n"]]