ArcGIS Runtime SDK for iOS

Feature layer extrusion


This sample demonstrates how to apply extrusion to a renderer on a feature layer.

How it works

To extrude features from an AGSFeatureLayer:

  • Create an AGSServiceFeatureTable from an URL.
  • Create a feature layer from service feature table.
  • Make sure to set rendering mode to dynamic, layer.renderingMode = .dynamic.
  • Apply a SimpleRenderer to the feature layer.
  • Set ExtrusionMode of render, renderer.sceneProperties.extrusionMode = .baseHeight.
  • Set extrusion expression of renderer, renderer.sceneProperties.extrusionExpression = "[POP2007]/ 10".

In this topic
  1. Description