Summary/Description
We need to build out controls for the the legend configuration. This will replace the legend block in our current JSON Blob control.
"legend": {
"title": "Maximum Wind Gusts (mph)"
}
title control: text entry (used in the GeoSet Map legend)
name control: text entry
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
- legend config works as expected.
- legend state is derived from controls, not parsed JSON.
- Update docs
Wiki Page:
https://github.com/raft-tech/GeoSet/wiki/GeoSet-Map-Layer#geojson-config
Summary/Description
We need to build out controls for the the legend configuration. This will replace the legend block in our current JSON Blob control.
title control: text entry (used in the GeoSet Map legend)
name control: text entry
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:
https://github.com/raft-tech/GeoSet/wiki/GeoSet-Map-Layer#geojson-config