camptocamp / GeoMapFish

6 stars 1 forks source link

Configure color of selected objects per theme #76

Open jwkaltz opened 1 year ago

jwkaltz commented 1 year ago

Who requested this new feature?

Canton Graubünden, David Caduff

Is your feature request related to a problem?

Yes: the map is hard to read when an object is selected in some of the themes of canton Graubünden, because the colors used within the themes vary. Starting GMF 2.6, the configuration option "selectedFeatureStyle" can be used to easily customize the color of selected objects, but this then applies to the whole geoportal.

Describe the solution you'd like

The selectedFeatureStyle could be a metadata element which can be configured for each element of the layer tree, and ngeo would take this setting into account to display selected objects.

Additional information or points to watch out for