Skip to content

example to use Arcade in a customized identify config file #961

@ERS-Long

Description

@ERS-Long

Hi Tim,

Please see what is the issue with this function when i switched the Identify code to use Arcade.

I have a customized identify config code, the structure is something like

=================================================================
define([a set of dojo modules],
function (a set of names)
{
var formatters = {
myIdentify_Method1: function(identifyResults) {
//code here to prepare all the logic
//
//the problem is this function never got called
}
};

return {
map: true,
mapClickMode: true,
mapRightClickMenu: true,
identifyLayerInfos: true,
identifyTolerance: 10,
draggable: true,
returnFieldName: true,
returnUnformattedValues: true,

identifies : {
layer1: {
0: {
title: 'Gauges',
useExpression: false,
content: formatters.myIdentify_Method1
}
}
}
})

Please help, Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions