ArcGIS Runtime SDK for iOS

Feature layer rendering mode

Description

This sample demonstrates how to set the rendering mode for feature layers. There are two rendering modes, static and dynamic.

How it works

The sample shows two AGSMapViews, each showing the same set of feature layers. The feature layers in the top view are in dynamic mode, and the layers in the bottom view are in static mode. Tap 'Animated Zoom' to see the two views zoom in and out. Observe the differences in how the layers are rendered in each view.

You can set the renderingMode on an AGSFeatureLayer to one of two options:

  • AGSFeatureRenderingMode.static - the content is re-rendered after the view stops animating.
  • AGSFeatureRenderingMode.dynamic - the content is re-rendered continuously as the view is animating.


In this topic
  1. Description