Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

MINOR: Relates to #2019, fix broken storageLevelOffset #2047

Merged
merged 1 commit into from
Jan 14, 2021
Merged

MINOR: Relates to #2019, fix broken storageLevelOffset #2047

merged 1 commit into from
Jan 14, 2021

Conversation

nzjony
Copy link
Member

@nzjony nzjony commented Jan 14, 2021

storageLevelOffset was not passed through to DataSource correctly.

@@ -63,6 +63,7 @@ export interface DataSourceOptions {
maxDisplayLevel?: number;
/**
* Storage level offset applied to this `DataSource`.
* @default 0
Copy link
Member

@robertoraggi robertoraggi Jan 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't the default "datasource dependent"? e.g. in HereWebTileDataSource.ts the default seem to be -1.
Also, the correct tag is @defaultValue https://api-extractor.com/pages/tsdoc/tag_defaultvalue/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I refer to the DataSource class itself, which defaults to 0. But I can remove if you prefer?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed it.

@codecov
Copy link

codecov bot commented Jan 14, 2021

Codecov Report

Merging #2047 (e05120b) into master (b436523) will increase coverage by 0.09%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2047      +/-   ##
==========================================
+ Coverage   66.53%   66.62%   +0.09%     
==========================================
  Files         297      297              
  Lines       26331    26331              
  Branches     5949     5950       +1     
==========================================
+ Hits        17519    17543      +24     
+ Misses       8812     8788      -24     
Impacted Files Coverage Δ
...rp-webtile-datasource/lib/HereWebTileDataSource.ts 54.36% <100.00%> (ø)
...here/harp-mapview/lib/text/TextElementsRenderer.ts 72.22% <0.00%> (+0.67%) ⬆️
@here/harp-mapview/lib/MapView.ts 73.44% <0.00%> (+0.84%) ⬆️
@here/harp-mapview/lib/CameraMovementDetector.ts 92.95% <0.00%> (+11.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b436523...e05120b. Read the comment docs.

@nzjony nzjony merged commit 832f016 into master Jan 14, 2021
@nzjony nzjony deleted the 2019 branch January 14, 2021 12:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants