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

Missing shaded layername when not visible in current scale #277

Open
johanhallgrengiszeal opened this issue Apr 18, 2017 · 1 comment
Open

Comments

@johanhallgrengiszeal
Copy link

Hello

I am missing the function that shades a layername when it's not visible i the current scalerange.

  • Is that function not implemented?
  • Could I implemented myself?

Best regards
Johan

@bentrm
Copy link
Member

bentrm commented May 9, 2017

@johanhallgrengiszeal, I don't think this has been implemented yet. This has been the PR that added the feature to GeoExt2, maybe it's a starting point to put this together for GeoExt3 as well.

I assume you can check the resolution of the map view and compare it to the layers minResolution/maxResolution, then carrying over the state to the layers Ext model. I haven't really spend time with this idea so maybe someone else can offer a more elegant solution.

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

2 participants