Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Break the antpath at the +/-180 degree meridian #144

Open
3 of 6 tasks
austenstone opened this issue Jan 18, 2021 · 1 comment
Open
3 of 6 tasks

Break the antpath at the +/-180 degree meridian #144

austenstone opened this issue Jan 18, 2021 · 1 comment

Comments

@austenstone
Copy link

Type:

  • bug
  • feature
  • enhancement
  • question

Environment:

  • OS: Windows
  • Browser: Chrome
  • Library Version: ^1.3.0

I'm going to open a PR:

  • yes
  • no

Description:
The antpath does not break at the meridian resulting in undesired behavior.

Can we have an option the breaks the antpath when it reaches +/- 180 degrees?

image

@Gowee
Copy link

Gowee commented Mar 5, 2021

Not sure whether I fully understand your expected behavior.

How about manually wrapping all longitudes with (lng + 360) % 360 so that the green polyline goes eastwards?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants