ArcGIS Runtime SDK for iOS

Add graphics with renderer

Description

This sample demonstrates how you add graphics and set a renderer on a graphic overlays.

How it works

The sample creates an AGSPoint object and it is added to a AGSGraphicsOverlay object. Next an AGSSimpleRenderer object is created from an AGSSimpleMarkerSymbol and passed to the AGSGraphicsOverlay's renderer property. Finally the AGSGraphicsOverlay is added to the AGSMapView's list of graphic overlays. This is repeated for lines and polygons.


In this topic
  1. Description