Print export is not including labels. 4.28

164
0
02-15-2024 01:43 PM
MatthewDriscoll
MVP Alum

Print export is not including any labels.  I set forceFeatureAttributes to true.  What am I missing?

// Style the label
      var labelClass = {
        symbol: {
          type: "text", // autocasts as new TextSymbol()
          color:[254, 252, 203], //"white",//[230, 224, 0],
          haloColor: "Black",
          haloSize: 2,
          lineWidth:55,
          font: {
            // autocast as new Font()
            family: "Avenir Next LT Pro Medium",
            size: 8,
            weight: "bold"
          }
        },
        labelExpressionInfo: {
          expression: singleLine
        },
        labelPlacement: "always-horizontal",
        minScale: 7500
      };
      parcelLayer.labelingInfo = [labelClass];
Tags (3)
0 Kudos
0 Replies