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

MINOR: Schedule view update to render POI icon #2044

Merged
merged 1 commit into from
Jan 14, 2021
Merged

Conversation

germanz
Copy link
Contributor

@germanz germanz commented Jan 13, 2021

In case POI icon is registered as HTMLCanvasElement in the MapViewImageCache it is not immediately "ready", hence we
need to schedule a second frame to render it correctly.

Signed-off-by: German Zargaryan [email protected]

Thank you for contributing to harp.gl!

Before requesting a pull request, please remember to check the following documents:

If you are adding new functionality we would highly appreciate if you can describe what is the capability you are adding and even better if you can add some examples. Please also remember to add tests for it.

CI Check

Our bots will check whether your PR can be directly integrated into the mainline. We have some internal integration tests running on the background, our bots will inform you of the next steps and someone from our team will take a look and help if needed!

And please do not forget to sign-off your commit! You can read more about DCO here. But, in short, you just need to use git commit -s or append --signoff when you are committing to the repo.

Happy contributing!

In case POI icon is registered as HTMLCanvasElement in the MapViewImageCache it is not immediately "ready", hence we
need to schedule a second frame to render it correctly.

Signed-off-by: German Zargaryan <[email protected]>
@codecov
Copy link

codecov bot commented Jan 13, 2021

Codecov Report

Merging #2044 (08a1d26) into master (9467ecc) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2044      +/-   ##
==========================================
- Coverage   66.62%   66.61%   -0.02%     
==========================================
  Files         297      297              
  Lines       26330    26331       +1     
  Branches     5949     5949              
==========================================
- Hits        17543    17541       -2     
- Misses       8787     8790       +3     
Impacted Files Coverage Δ
...here/harp-mapview/lib/text/TextElementsRenderer.ts 72.22% <0.00%> (-0.09%) ⬇️
@here/harp-mapview/lib/MapView.ts 73.27% <0.00%> (-0.17%) ⬇️

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 9467ecc...08a1d26. Read the comment docs.

@germanz germanz merged commit b436523 into master Jan 14, 2021
@germanz germanz deleted the poiIconInitialRender branch January 14, 2021 09:27
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