Effect

Effect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.

Referenced by: Annotation Layer (ArcGISAnnotationLayer), Bing layer (bingLayer), Catalog Dynamic Group Layer (CatalogDynamicGroupLayer), Catalog Layer (CatalogLayer), CSV Layer (CSV), Dimension Layer (ArcGISDimensionLayer), Feature Effect, Feature Layer (ArcGISFeatureLayer), Footprint Layer (FootprintLayer), GeoJSON Layer (GeoJSON), GeoRSS Layer (GeoRSS), Group Layer (GroupLayer), Image Service Layer (ArcGISImageServiceLayer), Image Service Vector Layer (ArcGISImageServiceVectorLayer), KML Layer (KML), Knowledge Graph Layer (KnowledgeGraphLayer), KnowledgeGraph Sub Layer (KnowledgeGraphSubLayer), Link Chart Aggregation Layer (LinkChartAggregationLayer), Link Chart Layer (LinkChartLayer), Link Chart Sub Layer (LinkChartSubLayer), Map Service Layer (ArcGISMapServiceLayer), Media Layer (Media), OGC Feature Layer, OpenStreetMap Layer (OpenStreetMap), Oriented Imagery Layer (OrientedImageryLayer), Stream Layer (ArcGISStreamLayer), Subtype Group Layer (SubtypeGroupLayer), Tiled Image Service Layer (ArcGISTiledImageServiceLayer), Tiled Map Service Layer (ArcGISTiledMapServiceLayer), Vector Tile Layer (VectorTileLayer), Web Feature Service Layer (WFS), Web Tiled Layer (WebTiledLayer), WMS Layer (WMS)

Can be one of the following:

Effect Example

[
  {
    "type": "brightness",
    "amount": 4
  }
]

Scale Dependent Effect Example

[
  {
    "scale": 36978595,
    "value": [
      {
        "type": "drop-shadow",
        "xoffset": 3,
        "yoffset": 3,
        "blurRadius": 4,
        "color": [
          0,
          0,
          0,
          255
        ]
      },
      {
        "type": "brightness",
        "amount": 4
      }
    ]
  },
  {
    "scale": 18489297,
    "value": [
      {
        "type": "drop-shadow",
        "xoffset": 2,
        "yoffset": 2,
        "blurRadius": 3,
        "color": [
          0,
          0,
          0,
          255
        ]
      },
      {
        "type": "brightness",
        "amount": 2
      }
    ]
  },
  {
    "scale": 4622324,
    "value": [
      {
        "type": "drop-shadow",
        "xoffset": 1,
        "yoffset": 1,
        "blurRadius": 2,
        "color": [
          0,
          0,
          0,
          255
        ]
      }
    ]
  }
]

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.