Skip to content

measure tool support config decimalPlaces #1910

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

Merged
merged 2 commits into from
Mar 15, 2023
Merged

Conversation

deyihu
Copy link
Collaborator

@deyihu deyihu commented Mar 15, 2023

fix #1909

@codecov-commenter
Copy link

codecov-commenter commented Mar 15, 2023

Codecov Report

Merging #1910 (2376cb4) into master (5acf2e9) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master    #1910      +/-   ##
==========================================
- Coverage   84.80%   84.72%   -0.09%     
==========================================
  Files         161      161              
  Lines       17281    17283       +2     
==========================================
- Hits        14656    14643      -13     
- Misses       2625     2640      +15     
Impacted Files Coverage Δ
src/map/tool/AreaTool.js 96.36% <100.00%> (+0.06%) ⬆️
src/map/tool/DistanceTool.js 94.44% <100.00%> (+0.03%) ⬆️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@fuzhenn
Copy link
Member

fuzhenn commented Mar 15, 2023

小数点后位数比较正宗的说法是 decimalPlaces,参考:
https://learn.microsoft.com/en-us/dynamics-nav/decimalplaces-property
所以可以把options.decimalsLength改为options.decimalPlaces

@deyihu deyihu changed the title measure tool support config The length of the decimal measure tool support config decimalPlaces Mar 15, 2023
@fuzhenn fuzhenn merged commit a55ea4e into maptalks:master Mar 15, 2023
@deyihu deyihu deleted the 1909 branch March 15, 2023 08:14
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

Successfully merging this pull request may close these issues.

measure tool support config The length of the decimal
3 participants