Select to view content in your preferred language

PictureFillSymbol doesn't appear with FeatureLayer

139
2
3 weeks ago
WoraminSat
Emerging Contributor

Hi,

I have an issue with Polygon feature with PictureFillSymbol such as striped , dotted when using FeatureLayer.


(The picture below I tested from ArcGIS Online Map Viewer but got the same issues in my development environment)

This is the correct displayed example when I add whole map service as MapImageLayer. PictureFillSymbol with striped or dotted can display correctedly

WoraminSat_0-1745463404634.png

However, when I add only sublayer as FeatureLayer , the polygon with PictureFillSymbol with striped or dotted pattern doesn't appear correctly

WoraminSat_1-1745465292901.png


Do I have to set any properties to make FeatureLayer display correctly? Please help me resolved this.

 

0 Kudos
2 Replies
Edvinas_S
Esri Contributor

If you go to the URL of the sublayer, does it have "Drawing Info" defined? Maybe it's only defined in the parent layer.

I found a sublayer in esri samples: https://sampleserver6.arcgisonline.com/arcgis/rest/services/PoolPermits/MapServer/0 If I add it to a map, it's symbols match the Drawing Info.

Edvinas_S_0-1745572591286.png

 

0 Kudos
WoraminSat
Emerging Contributor

I checked a sublayer in my map services. There are drawing info that has a diagonal (striped) or dotted pattern

WoraminSat_0-1745595425642.png

 

0 Kudos