AnsweredAssumed Answered

Feature symbol not displaying correctly

Question asked by teknorix on Mar 3, 2020
Latest reply on Mar 4, 2020 by rscheitlin

I am using ArcGIS Javascript API version 3.31 for my desktop web application, we have a Feature Service layer of type esriGeometryPolyline.
The issue is that the arrow symbol from the layer, do not render properly when the layer is added to the map, instead thick lines display on the map.

The image below displays the rendering of the layer having an arrow symbol on the map.
Layer not rendering arrow on map
                                                                       (Fig1: NotWorkingLayer.png)

however, we have another feature service layer, having an arrow symbol, which works perfectly fine with the map.


Layer rendering arrow on map
                                                                        (Fig2: WorkingLayer.png)


code to add feature layer on map:
var serviceUrl='URL to the service'
var featureLayer = new this.esri.FeatureLayer(serviceUrl, {
url: serviceUrl
mode: this.esri.FeatureLayer.MODE_SNAPSHOT,
outFields: ["*"]
map.addLayers([featureLayer ]);


Please find attached the layer samples.