mapbox / mapbox/simplestyle-spec

marker-size as integer

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
296
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Add support for integer pixel size for the marker-size property. Allows implementations to allow user to specify explicit pixel sizes for markers.

```
// OPTIONAL: default "medium"
// specify the size of the marker. sizes
// can be different pixel sizes in different
// implementations
// Value must either an integer pixel size or
// or one of
// "small"
// "medium"
// "large"
"marker-size": "medium",
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the simplestyle-spec repository structure and locating the definition of the marker-size property. Update the specification so marker-size accepts integer pixel sizes as well as "small", "medium", and "large", then check any examples or validation material for consistency.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.