Select to view content in your preferred language

ArcGIS Runtime SDK Java 10.2.4 Label BackGround not working in API.

572
0
12-30-2014 01:24 AM
Status: Open
RavindraSingh
Frequent Contributor

Hi,

incase of showing label with background color in ArcGISRuntimeSDK JAVA, For Shape file (Which is added as dynamic workspace). Background will not be shown in JMAP.
I have tried it by creating the Object of TextSymbol using JSON also-- JSON String--

{"horizontalAlignment":"center","backgroundColor":[255,255,255,255],"color":[0,0,0,255],"yoffset":0,"angleAlignment":"screen","xoffset":0,"width":0,"angle":0,"type":"esriTS","verticalAlignment":"middle","font":{"size":8,"weight":"normal","style":"normal","family":"Arial","decoration":"none"},"height":0}

But, If I am exporting the Image using REST URL. My exported Image has label background color.
Here, There is discrepencies in the result achieved using REST URL Request. and  the result using ArcGISRuntimeSDK Java API.