-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
fix zoom settings #11707
fix zoom settings #11707
Conversation
jenkins, test this |
jenkins, test this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With x-pack license trial - max zoom is working only up to 10.
674bdef
to
bf2de09
Compare
when using WMS its now possible to zoom in more than there are zoom levels available ... for example with default basemap.nationalmap.gov there are 16 zoom levels available but you can zoom in past that (and get blank screen). would it be possible to detect the available zoom levels ? |
test fails on upload to S3. jenkins, test this |
@ppisljar It depends on the service if this is possible. Some WMS service advertise the max scale for which it can produce data, but this is an optional parameter and many WMS services do not implement this correctly. It would also require the WMS to imlement CORS, which is not a given. It would be a nice-to-have I agree, but that functionality would be out of scope for this PR. |
could we show an error when we are not getting any data, instead of just white screen ? (and block further zooming in once we reach a level which throws error ?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…lastic#11707) When a user configures a WMS, we should not use the zoom-settings from the manifest. These depend on the user's license level, and are not relevant when using a 3rd party WMS service.
…lastic#11707) When a user configures a WMS, we should not use the zoom-settings from the manifest. These depend on the user's license level, and are not relevant when using a 3rd party WMS service.
…lastic#11707) When a user configures a WMS, we should not use the zoom-settings from the manifest. These depend on the user's license level, and are not relevant when using a 3rd party WMS service.
Closes #11697: when using WMS, there are no restrictions on zoom level (this is a regression in 5.4).