Skip To Content ArcGIS for Developers Sign In Dashboard

Change sublayer renderer


This sample demonstrates how you to change renderer of a sublayer in map image layer.

How it works

Tap on the `Apply renderer` button to apply a class breaks renderer based on population for each county. Tap on the `Reset` button to reset to original renderer.

The mapImageSublayers property on AGSArcGISMapImageLayer is used to get the Counties sublayer of type AGSArcGISMapImageSublayer. A new class breaks renderer is set on the sublayer via renderer property.

In this topic
  1. Description