Symbol not rendering when loading a Feature Layer from ArcGIS Server 9.3

1405
2
Jump to solution
12-02-2014 11:40 PM
TukangSampah
New Contributor II

Greetings,

As per the title with JS API 3.11 I've tried displaying some feature layers published using ArcGIS Server 10 and 10.22 and their symbols render properly. However trying to display a feature layer from ArcGIS Server 9.31 just renders a big circle point with black outline (see attached image) and only one out of many is shown. Using a dynamic map service layer works though, all features are displayed with the correct symbols.

Any ideas?

Cheers,

Tukang

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Tukang,

   All services from a ArcGIS Server that is earlier than 10.0 do not provide drawingInfos in the service data that returns from ArcGIS Server and thus will NOT display the symbology that is defined in the MXD when using a FeatureLayer. The reason that a ArcGISDynamicMapServiceLayer does is because ArcGIS Server is returning an image and not the actual geometry like the FeatureLayer does. You will have to manually setup the FeatureLayers symbology when using FeatureLayer coming from an ArcGIS Server service that is less than 10.0.

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Tukang,

   All services from a ArcGIS Server that is earlier than 10.0 do not provide drawingInfos in the service data that returns from ArcGIS Server and thus will NOT display the symbology that is defined in the MXD when using a FeatureLayer. The reason that a ArcGISDynamicMapServiceLayer does is because ArcGIS Server is returning an image and not the actual geometry like the FeatureLayer does. You will have to manually setup the FeatureLayers symbology when using FeatureLayer coming from an ArcGIS Server service that is less than 10.0.

TukangSampah
New Contributor II

Thanks Robert, your explanation cleared that up for me.

Regards,

Tukang

0 Kudos