-
Couldn't load subscription status.
- Fork 64
Description
Use case
Currently, opacity is at layers[{layerId}].parameters.opacity. layers[{layerId}].parameters.* contains fields that are specific to the layer type, specified in packages/schema/src/schema/project/layers. Every schema in that directory contains a opacity property. layers[{layerId}].* contains fields that are generic to all layers, like visible. Those are defined in packages/schema/src/schema/project/jgis.json.
Preferred solution
I think opacity is the exact same type of property as visible -- it's generic to all layers, and their actual functions are in the same category. I think they should be siblings, layer[{layerId}].opacity, layer[{layerId}].visible. They would both be defined only once in packages/schema/src/schema/project/jgis.json.
Alternative solutions
No response