laptop and a wrench

Bug

Unable to correctly display a TextSymbol for a Point Graphic with a labeling expression as the text string.

Last Published: July 30, 2015 ArcGIS Runtime SDK for Java
Bug ID Number BUG-000088931
SubmittedJuly 8, 2015
Last ModifiedJune 11, 2020
Applies toArcGIS Runtime SDK for Java
Version found10.2.4
Operating SystemRed Hat Enterprise Linux
Operating System Version6.4 64 Bit
StatusKnown Limit

Additional Information

The label expression functionality was added for 3D scene views and does work for 2D maps. The Quartz release provides a feature label capability.

Workaround

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");

Steps to Reproduce

Bug ID: BUG-000088931

Software:

  • ArcGIS Runtime SDK for Java

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic