mapbox / mapbox/mapbox-navigation-android

Custom callout view

Open
#1,359 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

Current reference implementation of callouts (https://github.com/mapbox/mapbox-navigation-android/pull/1339) only supports showing either text or a bubbleText. By introducing a base class that only features the point geometry we can easily subclass this to allow showing any custom view/bitmap. This would result in a an api that can handle more use-cases than solely single line text.

cc @mapbox/navigation-android

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 reference implementation in PR 1339 and locating the existing callout API in this repository. Determine how to separate point geometry from rendering so subclasses can provide custom views or bitmaps. Done means the API supports those custom callouts rather than only text or bubbleText.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.