Packagecom.esri.ags.tasks.geoEnrichmentClasses
Classpublic class IntersectingGeographies
InheritanceIntersectingGeographies Inheritance StudyAreaOptions Inheritance Object

Since : ArcGIS API 3.5 for Flex

The study area is created with the geographies intersecting the passed in geometry from specified layers.

For example you may want to have enrich data for the county where the user clicked on the map.

Default MXML Propertylevels

View the examples

See also

Compare Infographics


Public Properties
 PropertyDefined By
  levels : Array
The layers from which intersecting geographies should be used as study areas.
IntersectingGeographies
Public Methods
 MethodDefined By
  
toJSON(key:String = null):Object
[override] Convert this IntersectingGeometries to a JSON object.
IntersectingGeographies
Property Detail
levelsproperty
public var levels:Array

The layers from which intersecting geographies should be used as study areas.

See also

Method Detail
toJSON()method
override public function toJSON(key:String = null):Object

Convert this IntersectingGeometries to a JSON object. If you need a JSON formatted string, you can pass this IntersectingGeometries directly to JSONUtil.encode().

Parameters

key:String (default = null) — Unused but required for compatibility with JSON.stringify().

Returns
Object — JSON object

See also

Examples
One point intersecting the counties layer.
 var options:IntersectingGeographies = new IntersectingGeographies();
 options.levels = [ new GeographyLevel("US", null, "Admin3") ];
 
 var studyArea:GeometryStudyArea = new GeometryStudyArea();
 studyArea.geometry = new WebMercatorMapPoint(-122.435, 37.785);
 studyArea.options = options;