bramus / bramus/react-native-maps-directions

Marker and direction don't match location

Open
#122 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
210
PR merge metrics
No merged PRs in 30d

Description

Hi. I don't know why the markers draw by `latlong` and the directions draw by `waypoints` don't match location. As the doc, I remove the first point and last point of `latlong` to provide `waypoints` for directions. The marker is not in line

![image](https://user-images.githubusercontent.com/11483168/74076791-2ca26980-4a4d-11ea-9130-caea77e2274d.png)

This is my code:
```

{locations.map(item => (

))}
{locations.length > 0 && (

)}

```

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository file or test is named. Start by reproducing the provided React Native example and compare the Marker coordinates with the origin, waypoints, and destination passed to MapViewDirections; done means explaining and correcting the mismatch so the markers and rendered route align.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.