Select to view content in your preferred language

point symbols correct in flexviewer1.3 but wrong in flexviewer2.1

702
4
09-23-2010 10:53 AM
WillHughes1
Frequent Contributor
I created a map service from ArcMap 9.3.1, which contains two layers - fire hydrants.
The symbols for the hydrants are red and green hydrants. When I check the map service in the ArcGIS JavaScript they display correctly. When I bring the service into the new flexviewer2.1 the hydrants display as black dots. So I went back and added the map service to the older version of the flexviewer1.3, and they display correctly as red and green hydrants.

Any ideas?

This layer is joined on a standalone table. The join is not working correctly either. It should just be displaying where records match but it displays all records in the fc.

Thanks.

Will
Tags (2)
0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
Will,

   How are you adding this service into your config.xml? Is your ArcGIS Server still 9.3 or 10?
0 Kudos
WillHughes1
Frequent Contributor
I got it to work finally.

Originally, I was using the pre-compiled 2.1 flexviewer and I added map services as type="feature".

I downloaded the src files for the 2.1 flexviewer and then added the map service as type="dynamic", and now the hydrants are displaying as the correct symbol and colors.

The join appears to be working as it is in ArcMap.

Is this a problem with the pre-compiled 2.1 flexviewer? I am not sure.

Will
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Will,

   No it has nothing to do with the compiled or uncompiled version it has to do with how you added it as a featurelayer type initially which requires you to specify symbology for the features if you are not using a ArcGIS Server 10. When you added it as dynamic it uses the symbology for the server whither it is 9.3 or 10 server.
0 Kudos
WillHughes1
Frequent Contributor
Thanks for the info.
We are using 9.3.1 ArcGIS Server.
I added it as a feature type and did not specify the symbology, so that is why I got the black dots.
Thanks for the quick responses.

Will
0 Kudos