Skip to content

Correct Map3D layer readout alignment #883

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

Merged
merged 7 commits into from
Mar 16, 2022

Conversation

shadab-skhan
Copy link
Contributor

@shadab-skhan shadab-skhan commented Mar 14, 2022

Correct Map3D layer readout alignment
Changed Icon
Fix #829

@shadab-skhan shadab-skhan added bug Something isn't working AspenTech Task owned by AspenTech map-component Issues related to the map component. labels Mar 14, 2022
@shadab-skhan shadab-skhan requested a review from nilscb March 14, 2022 07:32
@shadab-skhan shadab-skhan self-assigned this Mar 14, 2022
@shadab-skhan shadab-skhan changed the title Map3d Correct Map3D layer readout alignment Mar 14, 2022
@codecov-commenter
Copy link

codecov-commenter commented Mar 14, 2022

Codecov Report

Merging #883 (274a5c4) into master (4b73bec) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #883   +/-   ##
=======================================
  Coverage   73.04%   73.04%           
=======================================
  Files          74       74           
  Lines        1781     1781           
  Branches      286      286           
=======================================
  Hits         1301     1301           
  Misses        460      460           
  Partials       20       20           
Impacted Files Coverage Δ
react/src/lib/components/DeckGLMap/redux/types.ts 100.00% <ø> (ø)

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

Copy link
Collaborator

@hkfb hkfb left a comment

Choose a reason for hiding this comment

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

Not sure if it's related, but I get this error when picking the map3D surface:

Uncaught TypeError: Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
    at _nonIterableRest (main.iframe.bundle.js:10130)
    at _slicedToArray (main.iframe.bundle.js:10128)
    at getMapProperty (main.iframe.bundle.js:10372)
    at TerrainMapLayer.getPickingInfo (main.iframe.bundle.js:10356)
    at getLayerPickingInfo (vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:14903)
    at vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:14874
    at Array.forEach (<anonymous>)
    at processPickInfo (vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:14864)
    at DeckPicker._pickClosestObject (vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:11992)
    at DeckPicker.pickObject (vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:11822)

@shadab-skhan
Copy link
Contributor Author

Not sure if it's related, but I get this error when picking the map3D surface:

Uncaught TypeError: Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
    at _nonIterableRest (main.iframe.bundle.js:10130)
    at _slicedToArray (main.iframe.bundle.js:10128)
    at getMapProperty (main.iframe.bundle.js:10372)
    at TerrainMapLayer.getPickingInfo (main.iframe.bundle.js:10356)
    at getLayerPickingInfo (vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:14903)
    at vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:14874
    at Array.forEach (<anonymous>)
    at processPickInfo (vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:14864)
    at DeckPicker._pickClosestObject (vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:11992)
    at DeckPicker.pickObject (vendors-node_modules_deck_gl_aggregation-layers_dist_esm_index_js-node_modules_deck_gl_json_d-eadb95.iframe.bundle.js:11822)

I didn't get this error, I have made a small change, maybe you can try again, and if this error still persists we will discuss.

@shadab-skhan shadab-skhan requested a review from hkfb March 16, 2022 04:41
@shadab-skhan shadab-skhan merged commit c713add into equinor:master Mar 16, 2022
@shadab-skhan shadab-skhan deleted the map3d branch April 13, 2022 09:29
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
Archived in project
Development

Successfully merging this pull request may close these issues.

Readout columns are misaligned
3 participants