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

HARP-9982 Disable line clipping by default #1466

Merged
merged 1 commit into from
Jul 21, 2020
Merged

Conversation

ninok
Copy link
Contributor

@ninok ninok commented Apr 16, 2020

We need to disable line clipping since HERE Vector Tiles will soon have a smaller margin.

nzjony
nzjony previously approved these changes Apr 16, 2020
@codecov-io
Copy link

codecov-io commented Apr 20, 2020

Codecov Report

Merging #1466 into master will decrease coverage by 0.29%.
The diff coverage is 40.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1466      +/-   ##
==========================================
- Coverage   60.60%   60.31%   -0.30%     
==========================================
  Files         278      264      -14     
  Lines       24530    24258     -272     
  Branches     5520     5464      -56     
==========================================
- Hits        14867    14631     -236     
+ Misses       9663     9627      -36     
Impacted Files Coverage Δ
...re/harp-datasource-protocol/lib/TechniqueParams.ts 71.66% <ø> (ø)
@here/harp-mapview/lib/MapView.ts 64.03% <35.71%> (-1.80%) ⬇️
...e/harp-mapview/lib/geometry/TileGeometryCreator.ts 58.59% <100.00%> (ø)
@here/harp-mapview/lib/CameraMovementDetector.ts 61.97% <0.00%> (-28.17%) ⬇️
@here/harp-materials/lib/Utils.ts 75.00% <0.00%> (-6.43%) ⬇️
...here/harp-mapview/lib/text/TextElementsRenderer.ts 69.24% <0.00%> (-0.50%) ⬇️
@here/harp-geometry/lib/ClipPolygon.ts 97.05% <0.00%> (-0.38%) ⬇️
@here/harp-mapview/lib/VisibleTileSet.ts 76.32% <0.00%> (-0.26%) ⬇️
@here/harp-test-utils/lib/WebGLStub.ts 100.00% <0.00%> (ø)
... and 37 more

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 c25451b...a70df2c. Read the comment docs.

@nzjony nzjony changed the title MINOR: Disable line clipping by default HARP-9982 Disable line clipping by default Apr 21, 2020

if (tile.levelOffset >= 0) {
if (object._backupRenderOrder !== undefined) {
// We meesed up the render order when this tile was used as fallback.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// We meesed up the render order when this tile was used as fallback.
// We messed up the render order when this tile was used as fallback.


if (tile.levelOffset >= 0) {
if (object._backupRenderOrder !== undefined) {
// We meesed up the render order when this tile was used as fallback.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// We meesed up the render order when this tile was used as fallback.
// We messed up the render order when this tile was used as fallback.

@ninok ninok force-pushed the minor-disable-clipping branch 3 times, most recently from 4ebfeae to 41a4a40 Compare April 28, 2020 07:06
@ninok ninok force-pushed the minor-disable-clipping branch 2 times, most recently from ac5a5f8 to a70df2c Compare May 14, 2020 15:38
@codecov-commenter
Copy link

codecov-commenter commented Jun 9, 2020

Codecov Report

Merging #1466 into master will increase coverage by 0.06%.
The diff coverage is 37.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1466      +/-   ##
==========================================
+ Coverage   63.09%   63.16%   +0.06%     
==========================================
  Files         279      279              
  Lines       25246    25254       +8     
  Branches     5689     5690       +1     
==========================================
+ Hits        15930    15952      +22     
+ Misses       9316     9302      -14     
Impacted Files Coverage Δ
...re/harp-datasource-protocol/lib/TechniqueParams.ts 72.13% <ø> (ø)
@here/harp-mapview/lib/MapView.ts 65.47% <33.33%> (-0.44%) ⬇️
...e/harp-mapview/lib/geometry/TileGeometryCreator.ts 58.01% <100.00%> (ø)
@here/harp-mapview/lib/VisibleTileSet.ts 77.35% <0.00%> (+0.23%) ⬆️
@here/harp-materials/lib/MapMeshMaterials.ts 43.58% <0.00%> (+1.13%) ⬆️
@here/harp-mapview/lib/Tile.ts 85.71% <0.00%> (+5.71%) ⬆️

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 81f178a...e7531b8. Read the comment docs.

@ninok ninok force-pushed the minor-disable-clipping branch 2 times, most recently from 213b3bb to 709c6c5 Compare June 10, 2020 06:43
@ninok ninok force-pushed the minor-disable-clipping branch 2 times, most recently from 9dc239e to 0594929 Compare June 25, 2020 13:16
nzjony
nzjony previously approved these changes Jun 25, 2020
nzjony
nzjony previously approved these changes Jun 25, 2020
nzjony
nzjony previously approved these changes Jul 14, 2020
@ninok ninok merged commit 254ab36 into master Jul 21, 2020
@ninok ninok deleted the minor-disable-clipping branch July 21, 2020 14:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants