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

Change layer's position by drag and drop #36

Closed
28 tasks
mimoham24 opened this issue Jul 26, 2021 · 0 comments
Closed
28 tasks

Change layer's position by drag and drop #36

mimoham24 opened this issue Jul 26, 2021 · 0 comments

Comments

@mimoham24
Copy link
Contributor

mimoham24 commented Jul 26, 2021

Leader

@HideBa

User story

Currently, once you add a Layer, you can only change its position once you have changed its latitude and longitude from the Property window. In this case, the user needs to know the latitude and longitude. If not, the user has to get the latitude and longitude from Google Earth and enter it again from the Input field. By implementing this feature, the user can change the position of the layer by dragging and dropping, which makes it easier to adjust the layer.

Requirements

  • Can change the layer's position by drag and drop
  • Can't drop outside of the canvas
  • If the layer is linked to the dataset, it should overwrite the value by dragging and dropping
  • write document
    • Front-end
    • Back-end

Testing list

  • Editor
    Press "left" key down and hold 1 sec
    • Screen covered with blue overlay
    • cursor becomes "grab"
    • Layer which is in the US is draggable
    • Layer whose height is 1000000 is draggable
    • The earth can't be rotated while the layer is being dragged
      When the layer is being dropped
    • The layer's property updates
    • The layer drops down where it has been
    • The layer which is in the folder should also be draggable
    • The layer which is a member of LinkedLayerFolder should also be draggable
    • The layer which receives the position value from its parent should have overwritten value and its color changes yellow from blue
    • If it's extruded and has a vertical line, it should follow to the layer
      When the layer is being dropped out of the earth
    • The layer should go back to where it was originally
    • The layer's property value shouldn't change
      After a couple of layers are dragged and dropped
    • FPS shouldn't differ from before
    • The earth should be rotated
      Behavior shouldn't be changed with this feature
    • When the layer is clicked
      • indicator will be shown
      • if it has the infobox, infobox should be shown
      • if its type is 'photooverlay', photo-overlay should be played
  • Published page
    • Any layers aren't draggable

Completion condition

  • All PRs were passed CI, code-reviewed, and merged
  • Tested on staging env
  • Released in the production env
  • A demonstration was held
@HideBa HideBa closed this as completed Oct 27, 2021
KeisukeYamashita pushed a commit that referenced this issue Aug 13, 2022
* fix: layer encoding

* refactor: enhance code
pyshx pushed a commit that referenced this issue Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants