Hi all,
we are trying to build on the example references in the API MapImageLayer - dynamic data layer with table join | ArcGIS API for JavaScript 4.7 that we can successfully execute on our data.
What we are trying to accomplish are two things:
- get access to the entities in the sublayer created with the join
- apply a definitionExpression to subset the entities
in our scenario, we'd like to accomplish these tasks on the var layer = new MapImageLayer
before adding the layer to a map and the map to a view.
We have tried
- layer.when(function)
but it doesn't get resolved until the layer is used in the View
Does anyone have a suggestion on how to accomplish this ?
thanks in advance
Massimo