Summary/Description
We need to build out controls for the Global Layer Styling. This will replace the global styling block in our current JSON Blob control.
"globalColoring": {
"fillColor": [40, 147, 179, 255],
"fillPattern": "solid",
"lineStyle": "solid",
"strokeColor": [0, 0, 0, 255],
"strokeWidth": 2
},
fillColor control: RGBA selector or text entry fields
fillPattern control: dropdown selection
lineStyle control: dropdown selection
strokeColor: RGBA selector or text entry fields
strokeWidth: number dropdown selector with a range
pointType control: text entry or selector
etc...
Motivation/Context
The JSON blob has been useful as a fast prototyping surface, but it is now carrying too much product behavior: category coloring, metric coloring, point sizing, legends, text overlay, styling, defaults, maybe more. That makes it hard for users, hard to validate, and easy for MVT/non-MVT behavior to drift.
Acceptance
- globalColor styling works as expected.
- Controls map cleanly into visualConfig / formData; no JSON required for baseline styling.
- Update documentation properly (Wiki, etc...)
Wiki Page for GeoJSON Config:
https://github.com/raft-tech/GeoSet/wiki/GeoSet-Map-Layer#geojson-config
Summary/Description
We need to build out controls for the Global Layer Styling. This will replace the global styling block in our current JSON Blob control.
fillColor control: RGBA selector or text entry fields
fillPattern control: dropdown selection
lineStyle control: dropdown selection
strokeColor: RGBA selector or text entry fields
strokeWidth: number dropdown selector with a range
pointType control: text entry or selector
etc...
Motivation/Context
The JSON blob has been useful as a fast prototyping surface, but it is now carrying too much product behavior: category coloring, metric coloring, point sizing, legends, text overlay, styling, defaults, maybe more. That makes it hard for users, hard to validate, and easy for MVT/non-MVT behavior to drift.
Acceptance
Wiki Page for GeoJSON Config:
https://github.com/raft-tech/GeoSet/wiki/GeoSet-Map-Layer#geojson-config