Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The layer should always be pickable for the readout panel to show val… #999

Closed
wants to merge 4 commits into from

Conversation

nilscb
Copy link
Collaborator

@nilscb nilscb commented May 19, 2022

…ues when hovering.

@nilscb nilscb requested a review from hkfb May 19, 2022 11:54
@nilscb nilscb added bug Something isn't working AspenTech Task owned by AspenTech map-component Issues related to the map component. labels May 19, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 19, 2022

Codecov Report

Merging #999 (f162517) into master (c1f65d6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #999   +/-   ##
=======================================
  Coverage   40.44%   40.44%           
=======================================
  Files         135      135           
  Lines        6038     6038           
  Branches     1446     1446           
=======================================
  Hits         2442     2442           
  Misses       3570     3570           
  Partials       26       26           
Impacted Files Coverage Δ
.../components/DeckGLMap/layers/terrain/map3DLayer.ts 2.08% <ø> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@@ -311,7 +311,7 @@ export default class Map3DLayer extends CompositeLayer<
>({
mesh: this.state.mesh,
texture: this.state.texture,
pickable: this.props.pickable,
pickable: true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think there is reason to disable picking in some circumstances. But we should be able to enable picking when the onMouseEvent prop is specified and the readout panel is hidden.

@nilscb nilscb marked this pull request as draft May 27, 2022 08:02
@hkfb hkfb closed this Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AspenTech Task owned by AspenTech bug Something isn't working map-component Issues related to the map component.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NGRM] - onMouseEvent will not show the layer's data if the enable picking is set as false
3 participants