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

MINOR: Adds dataSourceName reference in the PickResult #2132

Merged
merged 2 commits into from
Mar 3, 2021

Conversation

germanz
Copy link
Contributor

@germanz germanz commented Mar 3, 2021

Signed-off-by: German Zargaryan 2526045+germanz@users.noreply.github.com

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!

Signed-off-by: German Zargaryan <2526045+germanz@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Mar 3, 2021

Codecov Report

Merging #2132 (2fd8c8f) into master (3edcac6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2132   +/-   ##
=======================================
  Coverage   67.70%   67.70%           
=======================================
  Files         298      298           
  Lines       26374    26376    +2     
  Branches     5969     5970    +1     
=======================================
+ Hits        17856    17858    +2     
  Misses       8518     8518           
Impacted Files Coverage Δ
...e/harp-mapview/lib/geometry/TileGeometryCreator.ts 71.75% <ø> (ø)
@here/harp-mapview/lib/poi/PoiManager.ts 12.85% <ø> (ø)
@here/harp-mapview/lib/text/TextElementBuilder.ts 98.94% <ø> (ø)
...here/harp-mapview/lib/text/TextElementsRenderer.ts 72.11% <ø> (ø)
@here/harp-mapview/lib/PickHandler.ts 82.43% <100.00%> (+0.11%) ⬆️
@here/harp-mapview/lib/text/TextElement.ts 93.67% <100.00%> (+0.08%) ⬆️

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 3edcac6...935c306. Read the comment docs.

@here/harp-mapview/lib/text/TextElement.ts Outdated Show resolved Hide resolved
@@ -231,6 +233,7 @@ export class TextElementBuilder {
tileOffset,
offsetDirection
);
textElement.dataSourceName = dataSourceName;
Copy link
Collaborator

Choose a reason for hiding this comment

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

pass it to the constructor to able to make it readonly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@germanz germanz merged commit 773cd66 into master Mar 3, 2021
@germanz germanz deleted the picking-source-name branch March 3, 2021 15:53
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