mapbox / mapbox/mapbox-navigation-android-examples

Custom waypoint - Android

Open
#109 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

jira-sync-complete
Dominant language
Kotlin
Stars
65
Forks
56
Avg merge
1d 4h
Merged PRs (30d)
2

Description

Help, I need customize icons for the destinationPoint and middleWaypoint like IOS SDK
https://docs.mapbox.com/ios/navigation/examples/custom-waypoint/

Android docs
`withRouteLineResources(
RouteLineResources.Builder()
.destinationWaypointIcon(R.drawable.marker_pin_destination)
.build()
)`
but this code change the icon for all waypoints.

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 with the Android RouteLineResources.Builder entry point and compare its waypoint icon options with the linked iOS custom-waypoint example. The work is done when destinationPoint and middleWaypoint can use distinct configurable icons instead of one icon for all waypoints.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.