georchestra / mapstore2-georchestra

geOrchestra newest viewer
Other
6 stars 23 forks source link

attribute table - display tooltip on field name hover #639

Open Gaetanbrl opened 1 year ago

Gaetanbrl commented 1 year ago

Description

In addition of #637, some user needs more information about a field (e.g if metadata not exists). We propose an enhancement to display a short text when a user hover attribute field header value.

Thi contribution will allow to use use a new tooltip property like :

{
  "name": "FeatureEditor",
  "cfg": {
    "maxZoom": 21,
    "customEditorsOptions": {
      "rules": [
        {
          "regex": {
            "attribute": "s_r0.6",
            "url": "regex to match a specific url",
            "typeName": "layerName"
          },
          "tooltip": "Scnerio - 60%"
        }
      ]
    }
  }

What kind of improvement you want to add? (check one with "x", remove the others)

Other useful information