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

MAPSJS-2709 Can toggle tile wrapping enabled #1759

Merged
merged 1 commit into from
Aug 12, 2020
Merged

MAPSJS-2709 Can toggle tile wrapping enabled #1759

merged 1 commit into from
Aug 12, 2020

Conversation

nzjony
Copy link
Member

@nzjony nzjony commented Aug 12, 2020

No description provided.

@codecov
Copy link

codecov bot commented Aug 12, 2020

Codecov Report

Merging #1759 into master will decrease coverage by 0.24%.
The diff coverage is 20.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1759      +/-   ##
==========================================
- Coverage   64.58%   64.34%   -0.25%     
==========================================
  Files         281      281              
  Lines       25512    25516       +4     
  Branches     5746     5747       +1     
==========================================
- Hits        16478    16418      -60     
- Misses       9034     9098      +64     
Impacted Files Coverage Δ
@here/harp-mapview/lib/MapView.ts 66.24% <20.00%> (-1.46%) ⬇️
@here/harp-mapview/lib/CameraMovementDetector.ts 61.97% <0.00%> (-28.17%) ⬇️
@here/harp-geometry/lib/SubdivisionModifier.ts 78.02% <0.00%> (-6.60%) ⬇️
...ere/harp-mapview/lib/composing/LowResRenderPass.ts 40.38% <0.00%> (-3.85%) ⬇️
...here/harp-mapview/lib/text/TextElementsRenderer.ts 68.91% <0.00%> (-1.11%) ⬇️
...vectortile-datasource/lib/VectorTileDataEmitter.ts 60.04% <0.00%> (-0.46%) ⬇️

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 3b2ea45...6e2f86e. Read the comment docs.

@nzjony nzjony merged commit b967f3c into master Aug 12, 2020
@nzjony nzjony deleted the MAPSJS-2709 branch August 12, 2020 06:53
set tileWrappingEnabled(enabled: boolean) {
if (enabled !== this.m_tileWrappingEnabled) {
this.m_tileWrappingEnabled = enabled;
this.m_visibleTiles = this.createVisibleTileSet();
Copy link
Contributor

Choose a reason for hiding this comment

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

You should check if the Projection is Planar before creating an new tile set, for the spherical projection the tileWrapping property should not change anything

Copy link
Member Author

Choose a reason for hiding this comment

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

Opps, missed your comment, thanks, I will fix!

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.

None yet

3 participants