-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to prevent round-off errors, caused by formatNum (#7100)
* GeoJSON.latLngToCoords: do not force default precision value Rely on default value defined in `formatNum` itself. Specify all related docs. Document `precision` argument of `latLngsToCoords` function. * Util.formatNum: allow to skip processing specifying `false` as precision This is most necessary for cases where `formatNum` is called indirectly, e.g. by GeoJSON functions.
- Loading branch information
johnd0e
authored
Nov 3, 2021
1 parent
69f73ed
commit cc9f327
Showing
3 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters