Filter feature using map image layer

80
1
Jump to solution
a month ago
ZenBahsin
New Contributor II

Hi, let me ask, below is the link for feature by attribute filter using FeatureLayer, I want to ask how to filter feature by attribute with MapImageLayer? the problem is I have tried to use the example above but it can't
thanks

https://developers.arcgis.com/javascript/latest/sample-code/featurefilter-attributes/ 

0 Kudos
1 Solution

Accepted Solutions
BenElan
Esri Contributor

I suggest using a definitionExpression in order to filter a sublayer by attribute. Here is a sample:

https://developers.arcgis.com/javascript/latest/sample-code/layers-mapimagelayer-definitionexpressio...

View solution in original post

0 Kudos
1 Reply
BenElan
Esri Contributor

I suggest using a definitionExpression in order to filter a sublayer by attribute. Here is a sample:

https://developers.arcgis.com/javascript/latest/sample-code/layers-mapimagelayer-definitionexpressio...

View solution in original post

0 Kudos