[API](/solutions/geotoolkit/geotoolkit_js/apis/readme) / [geotoolkit](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit) / [map](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map) / [sources](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#sources) / [ArcGISFeature](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#arcgisfeature) / ArcGISFeature

# Class: ArcGISFeature

[sources](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#sources).[ArcGISFeature](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#arcgisfeature).ArcGISFeature

Vector source that allows user to get features from ArcGIS FeatureService server.
Supports ArcGIS version 10.0 and higher.

## Hierarchy

- [`Vector`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector)
↳ **`ArcGISFeature`**


## Table of contents

Constructors
- [new ArcGISFeature(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature.md#new arcgisfeature(options))


Methods
| [addFeatures](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#addfeatures) | [clear](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#clear) | [clearFeatures](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#clearfeatures) |
|  --- | --- | --- |
| [dispose](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#dispose) | [getAnnotationShape](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getannotationshape) | [getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getclassname) |
| [getCopyright](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getcopyright) | [getDataLoader](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getdataloader) | [getGeometryPrecision](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getgeometryprecision) |
| [getGlobalAlpha](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getglobalalpha) | [getInitialCoordinateSystem](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getinitialcoordinatesystem) | [getInitialModelLimits](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getinitialmodellimits) |
| [getLayerSource](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getlayersource) | [getLayers](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getlayers) | [getMapCoordinateSystem](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getmapcoordinatesystem) |
| [getModelLimits](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getmodellimits) | [getProperties](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getproperties) | [getRequestFields](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getrequestfields) |
| [getRequestResolution](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getrequestresolution) | [getScaleRange](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getscalerange) | [getServerData](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getserverdata) |
| [getServerURL](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getserverurl) | [getToken](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#gettoken) | [getTransformerFromMap](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#gettransformerfrommap) |
| [getTransformerToMap](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#gettransformertomap) | [getUniqueField](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getuniquefield) | [getVisibleLayers](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getvisiblelayers) |
| [hasEventListener](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#haseventlistener) | [initLoader](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#initloader) | [isDataLoaded](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#isdataloaded) |
| [isDataReady](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#isdataready) | [isDisposed](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#isdisposed) | [isLoading](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#isloading) |
| [isMultilayerSource](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#ismultilayersource) | [isSilent](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#issilent) | [loadServerData](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#loadserverdata) |
| [loadSourceData](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#loadsourcedata) | [notify](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#notify) | [off](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#off) |
| [on](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#on) | [queryFeatures](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#queryfeatures) | [queryLegend](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#querylegend) |
| [removeFeature](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#removefeature) | [requestData](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#requestdata) | [resetLastQueryParams](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#resetlastqueryparams) |
| [setDataReady](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setdataready) | [setGeometryPrecision](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setgeometryprecision) | [setInitialCoordinateSystem](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setinitialcoordinatesystem) |
| [setMapCoordinateSystem](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setmapcoordinatesystem) | [setProperties](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setproperties) | [setQueryParameter](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setqueryparameter) |
| [setRequestFields](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setrequestfields) | [setRequestResolution](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setrequestresolution) | [setServerURL](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setserverurl) |
| [setSilent](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setsilent) | [setToken](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#settoken) | [setUniqueField](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#setuniquefield) |
| [showLayers](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#showlayers) | [update](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#update) | [getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature#getclassname-1) |


Css Properties
| Name  | Type  | Description |
|  --- | --- | --- |
| `system` | `string` | Initial data coordinate system |
| `url` | `string` | Data server url |


## Contents

Constructors
#### new ArcGISFeature(options)

• **new ArcGISFeature**(`options?`)

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `Optional` `options` | [`Options`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#arcgisfeature#options-1) | options |


#### Overrides

Vector.constructor

Methods
#### addFeatures

▸ **addFeatures**(`features`, `needTransform?`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Notifies source to add features.

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `features` | [`AbstractFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.features.abstractfeature.abstractfeature)[] | features to add |
| `Optional` `needTransform` | `boolean` | true if features should be transformed to the map coordinates |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[addFeatures](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#addfeatures)

#### clear

▸ **clear**(): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Clears all the data.

#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[clear](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#clear)

#### clearFeatures

▸ **clearFeatures**(): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Notifies source to remove all features added.

#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[clearFeatures](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#clearfeatures)

#### dispose

▸ **dispose**(): `void`

Disposes this source, once disposed it should not be used anymore.<br>

#### Returns

`void`

#### Overrides

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[dispose](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#dispose)

#### getAnnotationShape

▸ **getAnnotationShape**(): [`Text`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.scene.shapes.text.text)

Returns annotation's text shape parsed from the server (for singlelayer servers basically)
Should be used asynchronically after loadServerData() method is called

#### Returns

[`Text`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.scene.shapes.text.text)

#### getClassName

▸ **getClassName**(): `string`

#### Returns

`string`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getclassname)

#### getCopyright

▸ **getCopyright**(): `string`

Returns copyright information.

#### Returns

`string`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getCopyright](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getcopyright)

#### getDataLoader

▸ `Protected` **getDataLoader**(): [`AbstractLoader`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.loaders.abstractloader.abstractloader)

Returns server data loader (if exists)

#### Returns

[`AbstractLoader`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.loaders.abstractloader.abstractloader)

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getDataLoader](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getdataloader)

#### getGeometryPrecision

▸ **getGeometryPrecision**(): `number`

Returns number of decimal places in requested geometry values

#### Returns

`number`

#### getGlobalAlpha

▸ **getGlobalAlpha**(): `number`

Returns the server layer's global alpha (for singlelayer servers basically)
Should be used asynchronically after loadServerData() method is called

#### Returns

`number`

#### getInitialCoordinateSystem

▸ **getInitialCoordinateSystem**(): [`AbstractSystem`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.abstractsystem.abstractsystem)

Gets current data initial coordinate system.

#### Returns

[`AbstractSystem`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.abstractsystem.abstractsystem)

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getInitialCoordinateSystem](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getinitialcoordinatesystem)

#### getInitialModelLimits

▸ **getInitialModelLimits**(): [`Rect`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.util.rect.rect)

Returns layer initial extent rectangle

#### Returns

[`Rect`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.util.rect.rect)

#### getLayerSource

▸ **getLayerSource**(`id`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Returns separate feature source for the given layer (for the multilayer server source)
Should be used asynchronically after loadServerData() method is called

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `id` | `string` | required layer id |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

source feature source for sublayer

#### getLayers

▸ **getLayers**(): [`LayerServerData`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map.layers.layerserverdata#layerserverdata)[]

Returns the layers data array (for the multilayer server source)
Should be used asynchronically after loadServerData() method is called

#### Returns

[`LayerServerData`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map.layers.layerserverdata#layerserverdata)[]

#### getMapCoordinateSystem

▸ **getMapCoordinateSystem**(): [`AbstractSystem`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.abstractsystem.abstractsystem)

Gets current map coordinate system.

#### Returns

[`AbstractSystem`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.abstractsystem.abstractsystem)

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getMapCoordinateSystem](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getmapcoordinatesystem)

#### getModelLimits

▸ **getModelLimits**(): [`Rect`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.util.rect.rect)

Returns the current data model limits (presumably loaded from the server if it's settled)

#### Returns

[`Rect`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.util.rect.rect)

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getModelLimits](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getmodellimits)

#### getProperties

▸ **getProperties**(): [`OptionsOut`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#abstractsource#optionsout)

Returns properties

#### Returns

[`OptionsOut`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#abstractsource#optionsout)

properties

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getProperties](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getproperties)

#### getRequestFields

▸ **getRequestFields**(): `string`[] | `"*"`

Returns an array of fields to be requested from server

#### Returns

`string`[] | `"*"`

#### getRequestResolution

▸ **getRequestResolution**(): `number`

Gets the grid size for layer partitioning that is used for server requests

#### Returns

`number`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getRequestResolution](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getrequestresolution)

#### getScaleRange

▸ **getScaleRange**(): `number`[]

Returns scale visible range for the server's layer (for singlelayer servers basically)
Should be used asynchronically after loadServerData() method is called

#### Returns

`number`[]

[minScale, maxScale]

#### getServerData

▸ **getServerData**(): [`JSONObject`](/solutions/geotoolkit/geotoolkit_js/apis/interfaces/geotoolkit.map.sources.connectors.abstractconnector.abstractconnector.jsonobject) | `XMLDocument`

Returns server data loaded from the server
Should be used asynchronically after loadServerData() method is called

#### Returns

[`JSONObject`](/solutions/geotoolkit/geotoolkit_js/apis/interfaces/geotoolkit.map.sources.connectors.abstractconnector.abstractconnector.jsonobject) | `XMLDocument`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getServerData](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getserverdata)

#### getServerURL

▸ **getServerURL**(): `string` | `string`[]

Gets the server url that is currently used for requests

#### Returns

`string` | `string`[]

server url

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getServerURL](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getserverurl)

#### getToken

▸ **getToken**(): `string`

Returns the authorization token (if set, null otherwise)

#### Returns

`string`

#### getTransformerFromMap

▸ **getTransformerFromMap**(): [`Transformer`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.transformer.transformer)

Gets transformer to transform data from map coordinate system

#### Returns

[`Transformer`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.transformer.transformer)

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getTransformerFromMap](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#gettransformerfrommap)

#### getTransformerToMap

▸ **getTransformerToMap**(): [`Transformer`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.transformer.transformer)

Gets transformer to transform data to map coordinate system

#### Returns

[`Transformer`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.transformer.transformer)

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getTransformerToMap](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#gettransformertomap)

#### getUniqueField

▸ **getUniqueField**(): `string`

Gets the unique identifier for the dataset

#### Returns

`string`

field

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getUniqueField](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getuniquefield)

#### getVisibleLayers

▸ **getVisibleLayers**(): `string`[]

Returns the server layer ids that are requested.

#### Returns

`string`[]

layers

#### hasEventListener

▸ **hasEventListener**(`type`, `callback?`): `boolean`

Check if a list of event listeners for this type contains this listener

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `type` | `string` | type of event or property |
| `Optional` `callback` | `Function` | to be called, if null, check if any callback is registered |


#### Returns

`boolean`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[hasEventListener](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#haseventlistener)

#### initLoader

▸ `Protected` **initLoader**(`loader?`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Initializes the loader provided

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `Optional` `loader` | [`AbstractLoader`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.loaders.abstractloader.abstractloader) | loader to use |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[initLoader](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#initloader)

#### isDataLoaded

▸ **isDataLoaded**(): `boolean`

Returns true if server data is already loaded (or no loader provided)

#### Returns

`boolean`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[isDataLoaded](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#isdataloaded)

#### isDataReady

▸ **isDataReady**(): `boolean`

Checks if source (current visible) data is loaded and ready to be rendered

#### Returns

`boolean`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[isDataReady](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#isdataready)

#### isDisposed

▸ **isDisposed**(): `boolean`

Returns whether this object has been disposed

#### Returns

`boolean`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[isDisposed](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#isdisposed)

#### isLoading

▸ **isLoading**(): `boolean`

Checks if some of the requests haven't been finished yet. Returns true if some data is loading, false otherwise.

#### Returns

`boolean`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[isLoading](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#isloading)

#### isMultilayerSource

▸ **isMultilayerSource**(): `boolean`

Returns true if feature source's server contains multiple layers
Should be used asynchronically after loadServerData() method is called

#### Returns

`boolean`

#### isSilent

▸ **isSilent**(): `boolean`

Return true if the event dispatcher doesn't notify any events

#### Returns

`boolean`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[isSilent](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#issilent)

#### loadServerData

▸ **loadServerData**(): `Promise`<[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)&gt;

Returns promise that is loaded when server settings are ready to process

#### Returns

`Promise`<[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)&gt;

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[loadServerData](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#loadserverdata)

#### loadSourceData

▸ **loadSourceData**(): `Promise`<[`AbstractSource`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.abstractsource.abstractsource)&gt;

Returns promise that is resolving when data are ready to process

#### Returns

`Promise`<[`AbstractSource`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.abstractsource.abstractsource)&gt;

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[loadSourceData](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#loadsourcedata)

#### notify

▸ **notify**<`E`&gt;(`type`, `source`, `args?`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Notify listeners

#### Type parameters

| Name | Type |
|  --- | --- |
| `E` | extends `string` |


#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `type` | `E` | event types |
| `source` | [`Vector`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector) | of the event |
| `Optional` `args` | [`EventMap`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#vector#eventmap)[`E`] | arguments of the event |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[notify](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#notify)

#### off

▸ **off**<`E`&gt;(`type?`, `callback?`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Detach listener on event.
Calling .off() with no arguments removes all attached listeners.
Calling .off(type) with no callback removes all attached listeners for specific type.

#### Type parameters

| Name | Type |
|  --- | --- |
| `E` | extends `string` |


#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `Optional` `type` | `E` | type of the event |
| `Optional` `callback` | (`eventType`: `E`, `sender`: [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature), `args`: [`EventMap`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#vector#eventmap)[`E`]) => `void` | function to be called |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[off](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#off)

#### on

▸ **on**<`E`&gt;(`type`, `callback`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Attach listener on event that will be called whenever the specified event is delivered to the target
<p>
If the callback function is already in the list of event listeners for this target,
the function is not added a second time.
</p>
<p>
If a particular anonymous function is in the list of event listeners registered for a
certain target, and then later in the code, an identical anonymous function is given
in an "on" call, the second function will also be added to the list of
event listeners for that target.
</p>

#### Type parameters

| Name | Type |
|  --- | --- |
| `E` | extends `string` |


#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `type` | `E` | type of event or property |
| `callback` | (`eventType`: `E`, `sender`: [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature), `args`: [`EventMap`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#vector#eventmap)[`E`]) => `void` | to be called |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[on](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#on)

#### queryFeatures

▸ **queryFeatures**(`bbox`, `layer`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sends a request for features in given bounding box.

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `bbox` | [`Rect`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.util.rect.rect) | bounding box for features |
| `layer` | [`AbstractFeatureLayer`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.layers.abstractfeaturelayer.abstractfeaturelayer) | layer requesting |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[queryFeatures](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#queryfeatures)

#### queryLegend

▸ **queryLegend**(`callback`): `void`

Creates a server legend from its templates (short info about each layer, such as layer name, type and icon)

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `callback` | (`err`: `Error`, `data?`: [`Legend`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#arcgisfeature#legend) | [`Legend`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#arcgisfeature#legend)[]) => `void` | the result handler |


#### Returns

`void`

#### removeFeature

▸ **removeFeature**(`feature`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Notifies source to remove feature.

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `feature` | [`AbstractFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.features.abstractfeature.abstractfeature) | feature to remove |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[removeFeature](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#removefeature)

#### requestData

▸ **requestData**(`resource`): `void`

Requests data from the resource and parses the response

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `resource` | `string` | resource url for request |


#### Returns

`void`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[requestData](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#requestdata)

#### resetLastQueryParams

▸ `Protected` **resetLastQueryParams**(): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Resets saved last queried limits and layer

#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[resetLastQueryParams](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#resetlastqueryparams)

#### setDataReady

▸ `Protected` **setDataReady**(`isReady`, `err?`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets source (current visible) data ready/not ready, changes the corresponding promise

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `isReady` | `boolean` | true if source data was loaded, false if it needs to be reset |
| `Optional` `err` | `Error` | data loading error (if exists) |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[setDataReady](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#setdataready)

#### setGeometryPrecision

▸ **setGeometryPrecision**(`precision`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets the list of the fields to request from the server (should be set before the server url)

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `precision` | `number` | number of decimal places in requested geometry values |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### setInitialCoordinateSystem

▸ **setInitialCoordinateSystem**(`system`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets the data initial coordinate system.

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `system` | `string` | [`AbstractSystem`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.abstractsystem.abstractsystem) | initial coordinate system |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[setInitialCoordinateSystem](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#setinitialcoordinatesystem)

#### setMapCoordinateSystem

▸ **setMapCoordinateSystem**(`system`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets map coordinate system.

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `system` | `string` | [`AbstractSystem`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.coordinatesystems.abstractsystem.abstractsystem) | map coordinate system |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[setMapCoordinateSystem](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#setmapcoordinatesystem)

#### setProperties

▸ **setProperties**(`properties?`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets properties

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `Optional` `properties` | [`Options`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.map#abstractsource#options) | properties |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[setProperties](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#setproperties)

#### setQueryParameter

▸ **setQueryParameter**(`param`, `value?`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets custom query parameter to add to the data requests

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `param` | `string` | `Record`<`string`, `string` | `number`&gt; | parameter name or custom parameters object (in name -> value format) |
| `Optional` `value` | `string` | `number` | parameter value |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[setQueryParameter](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#setqueryparameter)

#### setRequestFields

▸ **setRequestFields**(`requestFields`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets the list of the fields to request from the server (should be set before the server url)

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `requestFields` | `string`[] | `&amp;quot;*&amp;quot;` | an array of fields to request from server |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### setRequestResolution

▸ **setRequestResolution**(`resolution`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets the grid size for layer partitioning that is used for server requests

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `resolution` | `number` | grid size |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[setRequestResolution](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#setrequestresolution)

#### setServerURL

▸ **setServerURL**(`url`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets the server url to use for requesting

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `url` | `string` | `string`[] | server url |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[setServerURL](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#setserverurl)

#### setSilent

▸ **setSilent**(`bool`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Set silent mode

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `bool` | `boolean` | flag to enable silent mode |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[setSilent](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#setsilent)

#### setToken

▸ **setToken**(`token`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets the authorization token for ArcGIS data server (if needed, null otherwise)

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `token` | `string` | the authorization token for ArcGIS server |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### setUniqueField

▸ **setUniqueField**(`field`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Sets the unique identifier for the features

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `field` | `string` | unique identifier |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[setUniqueField](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#setuniquefield)

#### showLayers

▸ **showLayers**(`id`): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Adds the passed in ID's to the list of layers to show

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `id` | `string` | `number` | (`string` | `number`)[] | id(s) for the layer(s) to show |


#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

#### update

▸ **update**(): [`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

Aborts all the sent requests, resends the last one

#### Returns

[`ArcGISFeature`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.arcgisfeature.arcgisfeature)

this

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[update](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#update)

#### getClassName

▸ `Static` **getClassName**(): `string`

#### Returns

`string`

#### Inherited from

[Vector](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector).[getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.map.sources.vector.vector#getclassname-1)