ems-frontend icon indicating copy to clipboard operation
ems-frontend copied to clipboard

Fix 2.1.x/db#69081 group layer visibility range not working

Open NathanHGit opened this issue 2 years ago • 0 comments

Description

Added a parent layer variable to the layer component which contains the properties of the layer group. When zooming, it will check its maximum and minimum values to set the visibility of the layer.

Useful links

Ticket: 69081 - DB - Group Layer visibility range not working

Type of change

  • [X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

I tried the zoom function on a personalized map composed of:

  • 1 group layer, min zoom: 4, max zoom: 10
  • layer 1, belongs to the group layer, min zoom 6, max zoom 9
  • layer 2, belongs to the group layer, min zoom 2, max zoom 18

Screenshots

peek

Checklist:

( * == Mandatory )

  • [X] * I have set myself as assignee of the pull request
  • [X] * My code follows the style guidelines of this project
  • [X] * Linting does not generate new warnings
  • [X] * I have performed a self-review of my own code
  • [X] * I have put the ticket for review, adding the oort-frontend team to the list of reviewers
  • [X] * I have commented my code, particularly in hard-to-understand areas
  • [X] * I have put JSDoc comment in all required places
  • [X] * My changes generate no new warnings
  • [X] * I have included screenshots describing my changes if relevant
  • [X] * I have selected labels in the Pull Request, according to the changes with code brings
  • [ ] I have made corresponding changes to the documentation ( if required )
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

NathanHGit avatar Aug 09 '23 11:08 NathanHGit