mapbox / mapbox/mapbox-plugins-ios
Conflict between congestion colors in Traffic plugin with MapboxNavigation
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 7
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
You used green color for both low and moderate congestions in MBXTrafficPlugin.m in setupPropertiesFor method. You also show heavy congestion with orange color and severe congestion with red color. I compared these colors with the colors in DayStyle.swift in MapboxNavigation; low: #77C344(green) , moderate: #F3A64F(orange), heavy: #E93340(red), severe: #8A0F38(very dark red). There is a conflict between them. Did you do that on purpose?
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
Inspect setupPropertiesFor in MBXTrafficPlugin.m and compare its congestion colors with DayStyle.swift in MapboxNavigation. Confirm the intended mapping for low, moderate, heavy, and severe congestion; done means the four levels use a consistent, non-conflicting color scheme.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c, swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100