Select to view content in your preferred language

FeatureFilter with distinct/unique values

309
0
04-20-2022 06:05 AM
PauloRicca
New Contributor II

Dear community,

We're using a feature layer that has many (up to a couple hundreds) features in the same locations (and also sharing the value of one of the attributes - location_id). We're using FeatureFilter to filter through the features and ideally would like to show only a single marker for each of the features on the same locations (or same value on the location_id attribute). I haven't found a way of doing this so maybe there is a hack or an attribute I'm not aware of?

Simply showing all markers wouldn't work here because our markers have drop shadows and the overlapped hundreds of points show the shadow as a big black block, which is what we're trying to avoid.

I've tried using featureReduction with a very small radius, in order to only show one marker per location, but unfortunately this was much slower (about 3x slower) and sometimes shows rendering artefacts.

Any help very much appreciated and thanks in advance!

Paulo

0 Kudos
0 Replies