Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: update Position type document with correct coordinate order #3545

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

tanlethanh
Copy link
Contributor

Description

I revised the doc comment of type Position because it caused confusing for me when using coordinate props of MapMarker. The current comment indicated latitude and longitude so I put the values as [latitude, longitude] which resulted in a crash in my Android app without any error. I was stuck for a while and later discovered that when running iOS app, it showed exceeded value range of longitude. I hope this minor update might help Maps newbies save their time on this one.

Checklist

  • I've read CONTRIBUTING.md

@tanlethanh tanlethanh temporarily deployed to CI with Mapbox Tokens June 25, 2024 06:56 — with GitHub Actions Inactive
@tanlethanh tanlethanh temporarily deployed to CI with Mapbox Tokens June 25, 2024 06:56 — with GitHub Actions Inactive
@tanlethanh tanlethanh temporarily deployed to CI with Mapbox Tokens June 25, 2024 06:56 — with GitHub Actions Inactive
@tanlethanh tanlethanh temporarily deployed to CI with Mapbox Tokens June 25, 2024 06:56 — with GitHub Actions Inactive
@tanlethanh tanlethanh temporarily deployed to CI with Mapbox Tokens June 25, 2024 06:56 — with GitHub Actions Inactive
@tanlethanh tanlethanh temporarily deployed to CI with Mapbox Tokens June 25, 2024 06:56 — with GitHub Actions Inactive
@tanlethanh tanlethanh temporarily deployed to CI with Mapbox Tokens June 25, 2024 06:56 — with GitHub Actions Inactive
@mfazekas mfazekas merged commit bdb97cb into rnmapbox:main Jun 26, 2024
11 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants