speno

Trouble with scaleBarUnit for PrintTemplate

Discussion created by speno on Jul 23, 2012
Latest reply on Jul 30, 2012 by sharath021
I'm using the following code to define the print template but I can't get the scalebarunit to display anything other than Miles and KM.

var layouts = [
          {
            "name": "Letter ANSI A Landscape",
            "label": "Landscape (PDF)",
            "format": "pdf",
            "options": {
              "legendLayers": [], // empty array means no legend
              "scaleBarUnit": "Feet",
              "titleText": printTitle
            }
          }

Any suggestions?

Outcomes