Select to view content in your preferred language

FeatureLayer Rendering issues

902
1
10-20-2010 05:36 AM
LanceCrumbliss
Frequent Contributor
hello all,

using 2.1...

polygon featurelayers that have a renderer defined in the published service sometimes (more often than not, actually) incorrectly render.  the issue is the fill: it renders the solid black when rendered in the silverlight application.

attached is an example, and below is it's REST endpoint information.  is this a bug?

{
  "id" : 21, 
  "name" : "Counties", 
  "type" : "Feature Layer", 
  "description" : "", 
  "definitionExpression" : "", 
  "geometryType" : "esriGeometryPolygon", 
  "copyrightText" : "", 
  "parentLayer" : null, 
  "subLayers" : [], 
  "minScale" : 0, 
  "maxScale" : 0, 
  "defaultVisibility" : true, 
  "extent" : {
    "xmin" : -10672593.9493901, 
    "ymin" : 3336066.8387425, 
    "xmax" : -10429271.1078693, 
    "ymax" : 3534962.73832821, 
    "spatialReference" : {
      "wkid" : 102113
    }
  }, 
  "hasAttachments" : false, 
  "htmlPopupType" : "esriServerHTMLPopupTypeNone", 
  "drawingInfo" : {"renderer" : 
    {
      "type" : "simple", 
      "symbol" : 
      {
        "type" : "esriSFS", 
        "style" : "esriSFSSolid", 
        "color" : null, 
        "outline" : 
        {
          "type" : "esriSLS", 
          "style" : "esriSLSSolid", 
          
          "color" : [
            255, 
            0, 
            197, 
            255
          ], 
          "width" : 2
        }
      }, 
      "label" : "", 
      "description" : ""
    }, 
    "transparency" : 0, 
    "labelingInfo" : null}, 
  "displayField" : "Name", 
  "fields" : [
    {
      "name" : "OBJECTID", 
      "type" : "esriFieldTypeOID", 
      "alias" : "OBJECTID"}, 
    {
      "name" : "Shape", 
      "type" : "esriFieldTypeGeometry", 
      "alias" : "Shape"}, 
    {
      "name" : "AREA", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "AREA"}, 
    {
      "name" : "PERIMETER", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "PERIMETER"}, 
    {
      "name" : "COUNTIES_", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "COUNTIES_"}, 
    {
      "name" : "COUNTIES_I", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "COUNTIES_I"}, 
    {
      "name" : "CODE", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "CODE"}, 
    {
      "name" : "NAME", 
      "type" : "esriFieldTypeString", 
      "alias" : "NAME", 
      "length" : 15}, 
    {
      "name" : "ZONE_", 
      "type" : "esriFieldTypeSmallInteger", 
      "alias" : "ZONE_"}, 
    {
      "name" : "NAME_LOCAS", 
      "type" : "esriFieldTypeString", 
      "alias" : "NAME_LOCAS", 
      "length" : 15}, 
    {
      "name" : "RRCDIST", 
      "type" : "esriFieldTypeString", 
      "alias" : "RRCDIST", 
      "length" : 3}, 
    {
      "name" : "POPULATION", 
      "type" : "esriFieldTypeInteger", 
      "alias" : "POPULATION"}, 
    {
      "name" : "AREA_SQ_MI", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "AREA_SQ_MI"}, 
    {
      "name" : "LANDAREA_S", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "LANDAREA_S"}, 
    {
      "name" : "WATERAREA_", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "WATERAREA_"}, 
    {
      "name" : "POP_PER_SQ", 
      "type" : "esriFieldTypeSingle", 
      "alias" : "POP_PER_SQ"}, 
    {
      "name" : "Shape_Length", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "Shape_Length"}, 
    {
      "name" : "Shape_Area", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "Shape_Area"}, 
    {
      "name" : "Acres", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "Acres"}, 
    {
      "name" : "Hectares", 
      "type" : "esriFieldTypeDouble", 
      "alias" : "Hectares"}
  ], 
  "typeIdField" : null, 
  "types" : null, 
  "relationships" : [], 
  "capabilities" : "Map,Query,Data"
}
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Thank you for your post. I can see why this is a problem. We'll try to get it fixed in the next release.
0 Kudos