AnsweredAssumed Answered

Problem defining scale in LabelClass

Question asked by schlot on Jun 2, 2017
Latest reply on Jun 3, 2017 by rscheitlin

I have my labelClass defined as this:

HUClabelClass = new LabelClass({
labelExpressionInfo: {
"value": '{HU_8_Name}',
"maxScale": 250000
},
symbol: mySymbols.hucLabelSymbol() //MySymbols holds all the symbology for my project.  
});

 

       HUClayer.setLabelingInfo([ HUClabelClass ]);

 

I'm a little lost where I should place the maxScale parameter.  It have placed it within the labelExpressionInfo and outside of it.  I've tried quoting it, and leaving it without.  

 

No matter what combination I try, my labels draw at all scales and that's not what I want to happpen.  

Outcomes