Open landryb opened 3 years ago
@landryb it is an old plugin we are still maintaining for some specific deployments. It will be entirely replaced by the StyleEditor in the near future. What you are looking for will be implemented as part of https://github.com/geosolutions-it/MapStore2/issues/6797
ok, thanks ! looked at the aforementioned issue and didnt really see what was about classifying based about unique values of an attribute (eg attribute foo has X unique values -> create X classes), but i trust you on this :)
Fwiw, revisiting this old issue, i've been able to test geosolutions-it/MapStore2#6797 (i think) but that only applies to numeric attributes and automatically creating classes with intervals based on those values.
That doesnt seem to allow automatically creating classes based on string attributes, eg what i'd call a classification.
a bit like #361 - it seems the style editor of mapstore2 only allows classifications to be represented as a color ramp based on a numeric attribute, and if one wants to classify by an attribute, the classes have to be built manually with filters one by one.
looking at the doc/API, it seems the
ThematicLayer
plugin (cf https://mapstore.geo-solutions.it/mapstore/docs/api/plugins#plugins.ThematicLayer) would somehow achieve this - in our project, it's linked injs/plugins.js
but not enabled by default.@tdipisa is it the same as
FloatingLegend
in #361 andThematicLayer
is abandoned/feature is supposed to be inStyleEditor
plugin but hidden ?