Skip to main content

Highlight different features in different color

Comments

2 comments

  • Permanently deleted user
    Hi Yinghong,

     

    There are working examples of "Update Graphics Layer" in the "Workflow_Samples" site that ships with Essentials.

     

    Also, if you would like some information on how to use the JSON renderer, there is some discussion on it here (https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906f2000000kA5DAAU)
    0
  • Permanently deleted user
    Thanks.  I figured out how to use it by searching the forum and the information bit by bit.  Here is what i used and hopefully it will help others:

     

    New ESRI.ArcGIS.Client.SimpleRenderer() With { .Symbol = new ESRI.ArcGIS.Client.Symbols.SimpleFillSymbol() With { .BorderBrush = new System.Windows.Media.SolidColorBrush(system.windows.media.color.fromrgb(0,172,101)), .BorderThickness = 1.0, .Fill = new System.Windows.Media.SolidColorBrush(system.windows.media.color.fromrgb(0,172,101)) With { .Opacity = 0.5 } } }

     

    Also do not use variable for the layer ID instead use a real name, e.g "parcel layer" , so the graphic layer can be cleared out in other workflows.
    0

Please sign in to leave a comment.