Select to view content in your preferred language

Setting a definition expression

635
2
Jump to solution
05-02-2014 07:25 AM
DustinHolt
Deactivated User
I'm try to set a simple definition expression, but it's just not working. Can you see what I'm doing wrong?
0 Kudos
1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor
Hi Dustin,

Change the line:

dynamicMapServiceLayer.setLayerDefinitions(layerDefinitions);


to:

operationalLayer.setLayerDefinitions(layerDefinitions);

View solution in original post

0 Kudos
2 Replies
JakeSkinner
Esri Esteemed Contributor
Hi Dustin,

Change the line:

dynamicMapServiceLayer.setLayerDefinitions(layerDefinitions);


to:

operationalLayer.setLayerDefinitions(layerDefinitions);
0 Kudos
DustinHolt
Deactivated User
Thank you sir.
0 Kudos