Skip to content
New issue

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

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

Already on GitHub? # to your account

Improve reset() method for Model #148

Closed
syt123450 opened this issue Dec 1, 2018 · 1 comment
Closed

Improve reset() method for Model #148

syt123450 opened this issue Dec 1, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@syt123450
Copy link
Member

syt123450 commented Dec 1, 2018

reset() method for Model now can:

  • clear layer data
  • reset camera

Improve reset() method, when this method called, close layer if layer is open.

@syt123450 syt123450 added the enhancement New feature or request label Dec 1, 2018
@syt123450 syt123450 self-assigned this Dec 1, 2018
@syt123450
Copy link
Member Author

When reset() method in Model is called, three steps:

  1. reset camera;
  2. clear the layer visualization data;
  3. set all layers to "initStatus", "close" or "open".

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant