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")})})]});
I have also tried setting up the labels as indicated here: MapImageLayer - label sublayer features | ArcGIS API for JavaScript 4.3