drawingInfo

The drawingInfo object contains drawing information for a feature collection or a single layer in a map service. This object is used in layerDefinition.

Properties

Property

Details

fixedSymbols

A Boolean indicating whether symbols should stay the same size in screen units as you zoom in. A value of true means the symbols stay the same size in screen units regardless of the map scale.

renderer

A renderer object, defined using the syntax of the ArcGIS REST API. This provides the symbology for the layer.

Example

"drawingInfo": {
            "renderer": {
              "type": "simple",
              "symbol": {
                "angle": 0,
                "xoffset": 0,
                "yoffset": 0,
                "type": "esriPMS",
                "url": "http://static.arcgis.com/images/Symbols/OutdoorRecreation/Sunny.png",
                "imageData": "iVBO . . . ggg==",
                "contentType": "image/png",
                "width": 24,
                "height": 24
              }
            },
            "fixedSymbols": true
          }
12/11/2012