Custom Identify
I'd like to create some kind of tool/button that identifies the layers in one map service only. I still need the regular identify tool to work on other layers so I can't simply make those the only identifiable layers. Has anyone done something like this? I'm assuming I need a workflow but am open to any suggestions.
0
-
Yes, this is a classic use case for a simple selection workflow.
1. Get Map Service Info for you layer
2. Capture Geometry to use the geometry type you want your users to use
- Running the external AddStatus command to display a capture message and RemoveStatus command after the geometry is captured is a nice UX tip.
3. Query Task your layer using the captured geometry
4. Select Features from your Query Task's feature set0
Please sign in to leave a comment.
Comments
1 comment