mapbox / mapbox/mapbox-plugins-ios

Conflict between congestion colors in Traffic plugin with MapboxNavigation

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

Nobody has claimed this yet.

plugin: traffic
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.