clarity-h2020 / map-component

The Map Component is a reusable, flexible and highly configurable Building Block meant to be used throughout CSIS.
https://csis.myclimateservice.eu/
1 stars 1 forks source link

Support for Template Resources #69

Closed p-a-s-c-a-l closed 5 years ago

p-a-s-c-a-l commented 5 years ago

Support for Resources with variables. See also https://github.com/clarity-h2020/csis-helpers-js/issues/8

p-a-s-c-a-l commented 5 years ago

Currently, template resource expansion in Map Component is activated for the $LAYER variable of Background Layers only (taxonomy_term--dp_resourcetype == background-layer), since other resource variables (time_period, emissions_scenario, etc.) are handled by Scenarios/Presets as explained here.

p-a-s-c-a-l commented 5 years ago

Example: The Template Resource Urban Atlas 2012 contains two layer variables ...

grafik

... and is expanded in Map Component to

grafik

p-a-s-c-a-l commented 5 years ago

Basic support for template resources implemented. Discussion continues here.