Packagecom.esri.ags.tasks
Classpublic class GeometryServiceSingleton
InheritanceGeometryServiceSingleton Inheritance Object

Since : ArcGIS API for Flex 2.3

Creates and configures a single static GeometryService instance. The properties of this class are convenience properties that delegate to the static instance so that it may be declared in MXML.



Public Properties
 PropertyDefined By
  instance : GeometryService
[static] [read-only] The static GeometryService instance.
GeometryServiceSingleton
  proxyURL : String
The URL to proxy the request through.
GeometryServiceSingleton
  requestTimeout : int
The request timeout in seconds.
GeometryServiceSingleton
  showBusyCursor : Boolean
If true, a busy cursor is displayed while a service is executing.
GeometryServiceSingleton
  token : String
Token for accessing a secure task.
GeometryServiceSingleton
  url : String
URL to the ArcGIS Server REST resource that represents a geometry service.
GeometryServiceSingleton
Property Detail
instanceproperty
instance:GeometryService  [read-only]

The static GeometryService instance.


Implementation
    public static function get instance():GeometryService
proxyURLproperty 
proxyURL:String

The URL to proxy the request through.


Implementation
    public function get proxyURL():String
    public function set proxyURL(value:String):void
requestTimeoutproperty 
requestTimeout:int

The request timeout in seconds. A value less than or equal to zero prevents request timeout.

The default value is -1.


Implementation
    public function get requestTimeout():int
    public function set requestTimeout(value:int):void
showBusyCursorproperty 
showBusyCursor:Boolean

If true, a busy cursor is displayed while a service is executing.

The default value is false.


Implementation
    public function get showBusyCursor():Boolean
    public function set showBusyCursor(value:Boolean):void
tokenproperty 
token:String

Token for accessing a secure task.


Implementation
    public function get token():String
    public function set token(value:String):void
urlproperty 
url:String

URL to the ArcGIS Server REST resource that represents a geometry service.


Implementation
    public function get url():String
    public function set url(value:String):void