Select to view content in your preferred language

Feature Blurb Widget

774
0
12-28-2010 12:40 PM
ReneRubalcava
Esri Frequent Contributor
Have you ever had a user ask if they could just label an item on the map by some arbitrary attribute without manually typing anything in? No? Damn, well I have, sucks for me.

Anyway, I had this tool already built as a standalone component, but decided to throw it into a widget so we could use it in a generic Flexviewer app that we have.

http://www.arcgis.com/home/item.html?id=c09a6d1fd0514b36a761a29b11b60047

It basically works like this.
Select a service from the Map.
Select a layer from the selected Service.
Select a field from that layer.
Click add label and click on a feature in the layer.
To get back to a different Service or Layer, click on the corresponding buttons above the list.

The tool uses the IdentifyTask so that I could use the tolerance capabilities for point features (big deal for me), so it only works with Services that support Identify. So no FeatureServer services, sorry.
If I get around to it, I might be able to add QueryTask functionality for those special use cases, if it seems like a big deal for folks.
Tags (2)
0 Kudos
0 Replies