Grid Style Created Using Continuous Field

POST Request

POST http://hostname:port/rest/Spatial/MappingService/maps/image.png;w=800;h=600;c=-501556.18630224,5193175.01831286,epsg:3857;z=25000 mi
Content-type: application/json
Authorization: <Basic or Spectrum Token>

Example

{
	"layers": [
	{
      "type": "FeatureLayer",
      "description": "Multi Field Multi Band World Altitude MRR Layer",
      "renderable": true,
      "table": {
        "type": "NamedTable",
        "name": "/Samples/NamedTables/MRRMultiFieldMultiBandWorldTable"
      },
      "themeList": {
        "theme": [
          {
            "type": "OverrideTheme",
            "style": {
              "type": "MapBasicCompositeStyle",
              "GridStyle": {
                "type": "MapBasicGridStyle",
                "opacity": 1.0,
                "brightness": 50.0,
                "contrast": 50.0,
                "isGrayScale": false,
                "showHillShade": true,
                "nullColor": "0",
                "isNullTransparent": true,
                "renderStyle": {
                  "type": "LUTColor",
                  "underviewInterpolation": "Bilinear",
                  "components": [
                    {
                      "type": "color",
                      "field": 3,
                      "band": 0,
                      "colorTable": "Pseudocolor.lut",
                      "dataTransform": "MapInfoDataTransform"
                    }
                  ],
                  "dataTransforms": [
                    {
                      "name": "MapInfoDataTransform",
                      "type": "Custom",
                      "colorBreaks": [
                        {
                          "value": -412.0,
                          "color": "16777215"
                        },
                        {
                          "value": 0.0,
                          "color": "32768"
                        },
                        {
                          "value": 200.0,
                          "color": "255"
                        },
                        {
                          "value": 500.0,
                          "color": "16711680"
                        },
                        {
                          "value": 1000.0,
                          "color": "16776960"
                        },
                        {
                          "value": 8256.0,
                          "color": "0"
                        }
                      ]
                    }
                  ],
                  "hillshade": {
                    "sunShadow": {
                      "enable": true
                    },
                    "highlight": {
                      "enable": true
                    }
                  }
                },
                
              }
            }
          }
        ]
      }
    }
  ]
}