Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Events

onInitializationFailed

onInitializationFailed: function

Occurs when initialization of this object fails.

Type declaration

    • (error: Error): void
    • Parameters

      • error: Error

      Returns void

onInitialized

onInitialized: function

Occurs when initialization succeeds with a response from the REST endpoint. Depending on the API, this response may actually be an error message served as a correct HTTP response.

Type declaration

    • (sender: any): void
    • Parameters

      • sender: any

      Returns void

Properties

Private _initializing

_initializing: boolean

bingProperties

bingProperties: any

The parameters supplied for creation of a Bing geocoder through the connection string. This object will be null for any GeocodingEndpoint which is not a Bing geocoder.

displayName

displayName: string

The display name of the GeocodingEndpoint.

extensions

extensions: Extension[]

The extensions of the GeocodingEndpoint. The extensions are defined by the administrator on the server.

featureZoomScale

featureZoomScale: number

Feature Zoom Scale for this geocoding service.

geocoderToken

geocoderToken: string

The security token that must be provided when requesting the service from ArcGIS Server, if the geocoderType of this GeocodingEndpoint is 'ArcGisGeocoder'. If this is a Bing geocoder, this value will be null.

geocoderType

geocoderType: string

The type of GeocodingEndpoint, representing by a value from GeocodingEndpointType.

geocoderUrl

geocoderUrl: string

The URL of the geocoder service published by ArcGIS Server, if the geocoderType of this GeocodingEndpoint is 'ArcGisGeocoder'. If this is a Bing geocoder, this value will be null.

globalSearchKey

globalSearchKey: string

The global search key of GeocodingEndpoint.

iconUri

iconUri: string

Icon Uri for this geocoding service.

id

id: string

The ID used to reference the GeocodingEndpoint.

includeInGlobalSearch

includeInGlobalSearch: boolean

Whether or not this particular geocoder should be invoked when a user performs a global search operation.

initializationFailure

initializationFailure: Error

The exception that occurred if the object could not be initialized.

isDefaultBatchGeocoder

isDefaultBatchGeocoder: boolean

Whether or not this particular geocoder is the default for batch geocoding.

isDefaultReverseGeocoder

isDefaultReverseGeocoder: boolean

Whether this geocoding endpoint is the default endpoint for reverse geocode operations.

isInitialized

isInitialized: boolean

Whether or not the object was successfully initialized.

parameters

The geocoding endpoint parameters of GeocodingEndpoint.

properties

properties: any

The properties of the GeocodingEndpoint. The properties are defined by the administrator on the server.

site

site: Site

The Site that the GeocodingEndpoint belongs to.

url

url: string

The URL that this resource was initialized from.

Methods

Private _configureObject

Private _initializationFailedHandler

  • _initializationFailedHandler(err: Error): void

Private _initializedHandler

  • _initializedHandler(sender: any): void

Private _restErrorHandler

  • _restErrorHandler(error: Error): void

Private _restLoadHandler

  • _restLoadHandler(deepInitialize: boolean, result: any): void

doWhenInitialized

  • doWhenInitialized(callback: function): void
  • doWhenInitialized(scope: any, callback: function): void
  • Parameters

    Returns void

  • Performs a callback function when this instance has been initialized. If this instance is already initialized when this function is called, the callback function will execute immediately.

    Parameters

    • scope: any

      The scope to using when executing the callback - i.e. the value of the 'this' variable in the callback function. This parameter may be ommitted in which cased the first parameter will be used as the callback function.

    • callback: function

      The callback function to execute when this instance has been initialized.

    Returns void

initialize

  • initialize(obj?: any): void
  • Initializes the {@link geocortex.essentials.AsyncInitializable}. This is an asynchronous method, you may subscribe to the onInitialized and onInitializationFailed events for completion information.

    Parameters

    • Optional obj: any

    Returns void