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

Fix getFeatureInfo emulation for not integer zoom level (Cesium) #1680

Merged
merged 1 commit into from
Apr 4, 2017

Conversation

offtherailz
Copy link
Member

@offtherailz offtherailz commented Apr 4, 2017

The GFI emulation creates a request 101x101 to simulate the request. Anyway it needs a resolution.
Cesium provides a not integer zoom level, and actually doesn't have an hook for resolutions.

This solutions approx the zoom level to get a resolutions from the default resolutions list.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 77.257% when pulling 656f474 on offtherailz:cesium-gfi-fix into 24ac69e on geosolutions-it:master.

@offtherailz offtherailz merged commit b317b47 into geosolutions-it:master Apr 4, 2017
@offtherailz offtherailz deleted the cesium-gfi-fix branch July 18, 2018 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants