ArcGIS Javascript API - Use array of values for breaks in Class Break renderer instead of a range

by Ravi   Last Updated March 14, 2019 20:22 PM

I'm trying to use ClassBreak renderer in ArcGIS API v3.27. I have a dynamic layer with ZIP as one of its fields. I would like to add breaks based on the ZIP value. But the class breaks usually don't follow a format. For example if i have 1 to 100 ZIPs ( just for ease of explanation) ZIP 1,2,5 might be class break 1 where as 3,6,7 might be class break 2 and so on. How do i use these values for class breaks as they don't fall in a particular range.



Related Questions



Using FeatureLayer or ArcGISDynamicMapServiceLayer

Updated August 26, 2016 08:09 AM