Feature Collection Sample

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data for Desktop

Fearture Collection

The sample shows how to create a feature layer based on a feature collection. A feature collection consists of a layer definition and a feature set. In the sample we create a new feature layer to display the location of geo-enabled flickr feed.

Sample Design

The sample essentially parses the contents of a flickr feed in order to get graphics. The feed is parsed using the JSON parser. Once the graphics are obtained a feature set is created using the list of graphics.

This feature set, along with layer definition is used to create a ArcGISFeatureLayer which is then added to the map.

How to use the sample

Steps:
  1. Launch the sample on your device.
  2. Notice the flicker feed graphics on the map.
5/31/2012