Zum Hauptinhalt gehen

Sample ESRI.ArcGIS.Client.SimpleRenderer?

Kommentare

4 Kommentare

  • Berend Veldkamp
    Could you explain in a bit more detail what it is you want to achieve?
    0
  • Patrick Kelleher
    I have different feature sets that I'm getting from a query task, some line, and some polygons and want to be able to render the graphics differently. For example, ssMainsFeatureSet (line geometry) = thick bright red, and ssBasinsFeatureSet (polygon geometry) = Yellow fill, Blue outline, 50% transparent
    0
  • Scott Daniel
    Here's one I created for a polygon layer:

     

    {

     

      "type": "simple",

     

      "symbol":

     

      {

     

        "type": "esriSFS",

     

        "style": "esriSFSNull",

     

        "color": [0,0,0,0],

     

          "outline": {

     

           "type": "esriSLS",

     

           "style": "esriSLSSolid",

     

           "color": [255,255,0,255],

     

           "width": 1.4

     

        }

     

      }

     

    }

     

     
    0
  • Patrick Kelleher
    Thank-you, this is what I was looking for.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.