Select to view content in your preferred language

FeatureLayer selections

768
1
09-23-2011 12:58 PM
Labels (1)
TomHart
Deactivated User
I have a selectiononly featurelayer and I am using the esri editor object to select features in this layer using a rectangle as the selection mode.  The layer is a polygon layer. 

In the same map I also have a dynamic map service layer.  This map service layer is the source of the feature layer but contains other layers as well.

After I complete a selection, the polygon features are highlighted in one color.  As I move the mouse over the selected features, they change to a different color.  Any idea why it is doing this and how to stop it?

Thanks
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Did you set symbol or renderer in your WPF application? Or are you using service-defined symbols/renderer? Did you set FeatureLayer.SelectionColor property? By default this is Cyan.

If you created symbols in your app, you may have defined VisualState for Selected and MouseOver, to animate the fill color, check your symbol templates.
0 Kudos