| Numéro d’ID de bogue |
BUG-000088931 |
| Envoi | July 8, 2015 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS Runtime SDK |
| Version trouvée | 10.2.4 |
| Système d’exploitation | Red Hat Enterprise Linux |
| Version du système d’exploitation | 6.4 64 Bit |
| Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
The label expression functionality was added for 3D scene views and does work for 2D maps. The Quartz release provides a feature label capability.
Solution de contournement
Lookup the value of the needed label in the HashMap by supplying the key for the value that needs to be returned. Use the string that is returned to display the TextSymbol.
Example;
//Create an attribute
Map<String, Object> attributes = new HashMap<String, Object>();
//Put the key value into the Map
attributes.put("Name", "This is some text");
//get the string value by supplying the key
String expression = (String) attributes.get("Name");
Étapes pour reproduire
ID de bogue: BUG-000088931
Logiciel: