Legend Attributes
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- json
- Domain
- documentation
Research direction
Start by locating the existing simplestyle-spec attribute definitions and examples in the repository, then compare how optional properties are documented. Add the proposed optional legend-label definition and example consistently with that format, and verify the specification remains clear for legend generation from simplestyle-spec data.
Written by the indexing model from the issue text.
Description
A new 'legend-label' attribute chould be added in order to facilitate the creation of legends from data in the simplestyle-spec format. I'm working on a libraary to take simplestyle-spec data and produce an svg legend on the fly. A legend label attribute could be of use.
// OPTIONAL: default ""
// text to define this object in a legend
//
"legend-label": "Bus Stop",
- Dominant language
- No language data
- Stars
- 296
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapbox/simplestyle-spec
-
More implementations Open
Difficulty 1/5 Under an hour Newbie friendliness 45/100
mapbox/simplestyle-spec#39 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
mapbox/simplestyle-spec#38 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
mapbox/simplestyle-spec#37 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
mapbox/simplestyle-spec#36 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
mapbox/simplestyle-spec#34 ·
All issues in mapbox/simplestyle-spec
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·