Hello,
Good Day to All.
How can I display Subtype values (not Code) stored in Geodatabase as labels on a feature. Any help will be appreciated. I have the below code, not wrking
var labelClass = {
// autocasts as new LabelClass()
symbol: {
type: "text",
color: color,
haloColor: haloColor,
haloSize: haloSize,
xoffset: xoffset,
yoffset: yoffset,
font: {
size: fsize,
weight: "normal"
}
},
labelPlacement: "below-center",
useCodedValues: true,
labelExpressionInfo: {
expression: "$feature['BuildingType']"
//expression: "$feature['BuildingSubType']"
}
};
LayerName.labelingInfo = [labelClass];. Thank You