AnsweredAssumed Answered

Feature Label MinScale Issue

Question asked by lloydbronn on Apr 24, 2017
Latest reply on Apr 25, 2017 by lloydbronn

I'm trying to have my feature layer labels show up at a certain zoom level. I can set maxScale and get results, but minScale doesn't work. 


var labelColor = new Color("#00F");
          var font = new Font();
          var textSymbol = new TextSymbol();
          var basin = "{Name}";
        var json = {
          "labelExpressionInfo": {"value": basin + " Basin"},

        var labelClass = new LabelClass(json);
        labelClass.symbol = textSymbol;
        waterbasins.setLabelingInfo([ labelClass ]);