Hello,
I am creating a ShapeFileFeatureLayer. The shapefile has a column, named TYPE, with values of either 1 or 2. When I draw the lines in the shapefile, I want the lines to draw with different line styles, based on their type value being 1 or 2. How can I do this?
Also, I notice when I run .QueryTools.GetColumns on the ShapeFileFeatureLayer, it returns the column. However, if I run GetAllFeatures, and loop the features, none of them have a column value. Not sure if this is something I need to worry about or not.
Thanks for your help,
Dib
Drawing based on column value
Never mind, I found the sample project that showed how to do it.
wiki.thinkgeo.com/wiki/Map_Suite_Desktop_Edition_Styles_Samples#ValueStyle_with_Countries
Hi Dib,
I am glad to know we have a sample can solve your problem.
Any question please let us know.
Regards,
Don