Packagecom.esri.baserver
Classpublic class SpatialFilter
InheritanceSpatialFilter Inheritance Object
Implements IJsonObject

The SpatialFilter class specify a spatial filter restricting businesses search.

See also

SelectBusinessesParameters


Public Properties
 PropertyDefined By
  analysisExtent : Geometry
Spatial/geographic extent to filter search results with.
SpatialFilter
  boundaries : Boundaries
Data layer with the polygon geometry to filter search results with.
SpatialFilter
  locations : Array
Array of address locations to filter search results with.
SpatialFilter
Public Methods
 MethodDefined By
  
SpatialFilter(filterObject:Object = null)
Creates a new instance of the SpatialFilter class.
SpatialFilter
Property Detail
analysisExtentproperty
analysisExtent:Geometry

Spatial/geographic extent to filter search results with. This parameter expects a value of the Extent or Polygon type.


Implementation
    public function get analysisExtent():Geometry
    public function set analysisExtent(value:Geometry):void

See also

boundariesproperty 
boundaries:Boundaries

Data layer with the polygon geometry to filter search results with.


Implementation
    public function get boundaries():Boundaries
    public function set boundaries(value:Boundaries):void
locationsproperty 
locations:Array

Array of address locations to filter search results with. This array should contain String type items.


Implementation
    public function get locations():Array
    public function set locations(value:Array):void
Constructor Detail
SpatialFilter()Constructor
public function SpatialFilter(filterObject:Object = null)

Creates a new instance of the SpatialFilter class.

Parameters
filterObject:Object (default = null) — An instance of the Geometry or Boundaries or Array of String type.