I have the following bit of code creating a featurelayer and it's then added to the map, but the labels don't display.
this.buildingsLayer = newFeatureLayer({
url:BASESERVERURL + ROOMVIEWS_SUFFIX + "4",
id:"Buildings",
labelsVisible:true,
labelingInfo: [new LabelClass({
labelExpressionInfo: { value:"{BuildingID}" },
symbol:newTextSymbol({
color:newColor("black"),
haloSize:1,
haloColor:newColor("white")
})
})]
});