sitmun / sitmun-admin-app

Administration application for the SITMUN system.
European Union Public License 1.2
0 stars 0 forks source link

Add the service name to the layer grid #214

Open RicardCots opened 1 month ago

RicardCots commented 1 month ago

Is your feature request related to a problem? Please describe. It would be very useful to have, in the layer grid that displays the layer list, the name of the service to which the layer belongs.

Describe the solution you'd like See image: image

fjlopez commented 1 month ago

I think that the implementation of this is straightforward as the administration has already this information available: the property serviceName provided by the request api/cartographies?projection=view. This new column should be read only.

Excerpt form a real response of the backend.

{
  "_embedded" : {
    "cartographies" : [ {
      "name" : "WMTS Bases - ICGC- Topo",
      "id" : 1,
      "type" : null,
      "description" : null,
      "order" : 0,
      "serviceName" : "ICC - Mapesmultibase",
      "blocked" : false,