Hoppa till huvudinnehållet

What is the proper way to display line graphics in a workflow?

Kommentarer

2 kommentarer

  • Kevin Penner
    Hi Josh,

     

    The Graphics layers are not added to the layer list. The renderer you are specifying looks correct. Have you confiremed that they have geometries?

     

    The following renderer is foolproof for testing.

     

    New ESRI.ArcGIS.Client.SimpleRenderer() With { .Symbol = new ESRI.ArcGIS.Client.Symbols.SimpleLineSymbol(System.Windows.Media.Colors.Cyan, 2.0) With { .Style = ESRI.ArcGIS.Client.Symbols.SimpleLineSymbol.LineStyle.Solid } }

     

    -Kevin
    0
  • Permanently deleted user
    Thanks for double checking our renderer code. It turns out the problem was way back in a previous step where we were using a QueryLayer activity and forgot to put in a Spatial Reference.  Once we put in the Web Mercator there the graphics showed up!  So it would seem that it was adding the features to the graphics layer only they were out in the ocean somewhere instead of on top of the features we were expecting to see.

     

    _img_ alt="Green graphics showing now" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000fxyq&feoid=Body&refid=0EMf2000000kA4j" _/_img_
    0

Du måste logga in om du vill lämna en kommentar.