AnsweredAssumed Answered

Removing duplicates from an array

Question asked by joepub on Nov 3, 2014
Latest reply on Nov 10, 2014 by joepub

Robert, et al

 

On further testing (click on the 3rd button "city models") I see that there are duplicates in my object ids which are being used to create the countries layer.  This causing my application to run slow.  A look at the console.log of the featureCollection on line 300 rquery.run(function(error, featureCollection, response) will show what I mean

 

Is there a way to remove the duplicates (so there is only one objectid per country) before the layer is added to my map?

Spec attached

Attachments

Outcomes