mapbox / mapbox/mapbox-maps-android
Support of data expressions for lineCap in a LineLayer
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
## New Feature
I have a geojson containing multiple line features with line-cap values in each feature properties and I would like to be able to set it on my map layer.
Currently, this doesn't work :
`lineCap = LineCapValue(Expression.get("lineCap", style))`
(In my case, the property `lineCap` is inside `style` in the feature properties)
## Why
It would make it possible to make a layer on the map corresponding to more properties from the geojson and therefore be a better representation of a feature.
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.
Research direction
Start by locating the LineLayer lineCap property and the Expression.get("lineCap", style) usage described in the issue. Trace how data expressions are handled for line-cap values, then verify that line features can supply per-feature values from their style properties and that the existing line-cap behavior remains supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100