Interface
Record of the ArcGIS queriable data source.
Properties
Property | Type | Notes |
---|---|---|
(deep?: boolean) => FeatureDataRecord | Create a clone of the data record object.
Use shallow clone by default. If | |
A reference of the data source object that has this record. | ||
IFeature | Graphic | The feature returned from query ArcGIS REST APIs or the ArcGIS Maps SDK for JavaScript Graphic object | |
() => {} | The data is a plain object. The format is {key: value}, and the key is "jimuFieldName". | |
getFieldValue inherited | (jimuFieldName: string) => any | Return the value of a specific field. |
getFormattedData inherited | (intl: IntlShape) => any | Return formatted record. |
(jimuFieldName: string, intl: IntlShape) => string | Return the formatted value of a specific field. | |
() => IGeometry | Return geometry of the record. | |
() => string | Return ID of the record. | |
boolean | Whether the feature has full precision geometry. Default is true. If a client-side query is enabled in the map widget, it may be false. | |
(id: string) => void | Set ID of the record. | |
() => IFeature | Graphic | Return the data in JSON format, which is used to serialize data, and the key is "jimuFieldName". |
clone
Interface Propertyclone: (deep?: boolean) => FeatureDataRecord
Create a clone of the data record object.
Use shallow clone by default. If deep
is true
, will use deep clone.
Type declaration
function(deep?: boolean): FeatureDataRecord
Parameters
Parameter | Type |
---|---|
deep | boolean |
Returns
FeatureDataRecord
dataSource
Interface PropertydataSource: ArcGISQueriableDataSource
A reference of the data source object that has this record.
feature
Interface Propertyfeature: IFeature | Graphic
The feature returned from query ArcGIS REST APIs or the ArcGIS Maps SDK for JavaScript Graphic object
getData
Interface PropertygetData: () => {}
The data is a plain object. The format is {key: value}, and the key is "jimuFieldName".
The data before mapping use this schema: {fieldName: value}. We need to return this schema: {jimuFieldName: value}.
Type declaration
function(): {}
Returns
{}
getFieldValue
getFieldValue: (jimuFieldName: string) => any
Return the value of a specific field.
Type declaration
function(jimuFieldName: string): any
Parameters
Parameter | Type |
---|---|
jimu | string |
Returns
any
getFormattedData
getFormattedData: (intl: IntlShape) => any
Return formatted record.
Type declaration
function(intl: IntlShape): any
Parameters
Parameter | Type |
---|---|
intl | IntlShape |
Returns
any
getFormattedFieldValue
Interface PropertygetFormattedFieldValue: (jimuFieldName: string, intl: IntlShape) => string
Return the formatted value of a specific field.
Type declaration
function(jimuFieldName: string, intl: IntlShape): string
Parameters
Parameter | Type |
---|---|
jimu | string |
intl | IntlShape |
Returns
string
getGeometry
Interface PropertygetGeometry: () => IGeometry
Return geometry of the record.
Type declaration
function(): IGeometry
Returns
IGeometry
getId
Interface PropertygetId: () => string
Return ID of the record.
Type declaration
function(): string
Returns
string
hasFullGeometry
Interface PropertyhasFullGeometry: boolean
Whether the feature has full precision geometry. Default is true. If a client-side query is enabled in the map widget, it may be false.