How to set definition Expression with ArcGISMapImageLayer in Runtime SDK for iOS 100.0.0

945
3
06-07-2017 11:51 PM
IshteyaqueAhmad
New Contributor

As there is not variable or method is available with ArcGISMapImageLayer for setting Definition Expression.So how to we set definition Expression for ArcGISMapImageLayer

Tags (1)
0 Kudos
3 Replies
SuganyaBaskaran1
Esri Contributor

Since the map image layer is comprised of one or more sublayers, you can loop through the sublayers and set it on the definitionExpression property there.

Update: 'definitionExpression' is currently not available but will be available on AGSArcGISMapImageSublayer class in the upcoming v100.1 release. 

0 Kudos
IshteyaqueAhmad
New Contributor

Thanks for your reply,

Sublayer of map image layer is still a type of mapImageSublayer which has no property or instance method for setting definition expression.So I am not able to set it.

0 Kudos
SuganyaBaskaran1
Esri Contributor

The property is currently not available, but will be very shortly in the upcoming V100.1 release. I've corrected my original comment. 

0 Kudos