mapbox / mapbox/mapbox-gl-directions

clicks setting source and destination

Open
#159 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged enhancement
Dominant language
JavaScript
Stars
255
Forks
130
PR merge metrics
No merged PRs in 30d

Description

/kind of a feature

clicks setting up source and destination
--------------------------------------------
The clicks are directly setting up the user's source and destination but this creates a bad user experience as they are surfing through the map but not trying to go anywhere.

Feature 1
----------
It would be great if there are two needle like A and B markers available beside the geocoders that take source and destination input, which can be drag and dropped by the users if they want to select a specific place or location instead of direct clicking on the location.

Feature 2
-----------
update the location of source in real time using the user's current location.

These features will improve the user experience.

Please update your documentation on how to use it with all the possible inputs it can take and types of the inputs.

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

Review the existing source and destination click behavior, geocoder inputs, and documentation entry points. Clarify the scope and acceptance criteria for draggable A and B markers, real-time source updates from the user's location, and documentation of supported inputs before implementation; done should include agreed behavior for each requested feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.