unep-grid / mapx

MapX
https://app.mapx.org
Other
87 stars 24 forks source link

Composite views #961

Open thomaspiller opened 1 year ago

thomaspiller commented 1 year ago

In some cases, the combination of multiple views is necessary to provide users with a meaningful/complete information (e.g. phenomenon is described/explained by several factors or different types of geometry). I therefore propose to create a system in MapX to create composite views.

Two approaches are possible:

  1. Creation of custom code views on a case-by-case basis. The logic would be implemented by the developer of the custom view using MapX helper functions.
  2. Creation of a new type of view "composite" which would allow publishers to select the views to combine as well as the order of display in the map. Basically, composite views would act as a pilot of the data catalog. They would automatically activate the configured views in the catalog, put them in the right order and activate the Filter activated views option. We could even imagine configuring several composites in the same view.
antobenve commented 1 year ago

Good idea. I've always thought it would be a good feature. It would even be more interesting if we could assign read accesses to the "maps" that overwrite the read accesses of the views that make it up. For instance, we could have a public map showing views that are not public. This will help keeping the catalogue clean.