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

1.5.1 changes to Util.formatNum break many features #6873

Closed
desean1625 opened this issue Oct 29, 2019 · 2 comments
Closed

1.5.1 changes to Util.formatNum break many features #6873

desean1625 opened this issue Oct 29, 2019 · 2 comments

Comments

@desean1625
Copy link
Contributor

var line = L.polyline([[0,-7.993322e-10],[10,20],[20,30]]);
L.geoJson(line.toGeoJSON());//errors on NaN
L.Util.formatNum(-7.993322e-10); //Returns NaN

Please publish a patch to revert of this commit.

#6670
Environment

  • Leaflet version: 1.5.1
  • Browser (with version):
  • OS/Platform (with version):
@cherniavskii
Copy link
Sponsor Collaborator

Hi @desean1625
I'm going to publish a patch later this week.
Sorry for the delay!

@cherniavskii
Copy link
Sponsor Collaborator

Released in 1.6.0

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