-
-
Notifications
You must be signed in to change notification settings - Fork 153
BS5: migration follow up #4825
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
base: master
Are you sure you want to change the base?
BS5: migration follow up #4825
Conversation
Fix: update `refresh data` button and fix export
Fix: avoid zoom to initial extent on window resize
fixes 3liz#4332 Currently, if the map allows you to go beyond the min/zoom resolution of a WMTS or XYZ source, Lizmap won't display anything beyond this min/zoom resolution. OpenLayers is able to do resampling. This can be seen when you zoom in progressively. OpenLayers must be forced to use the max zoom of the grid even when the user goes beyond it. The solution is described on stackoverflow https://stackoverflow.com/questions/43538345/how-to-force-load-tiles-for-lower-resolution and is based on `TileGrid`'s `getZForResolution` method https://github.com/openlayers/openlayers/blob/main/src/ol/tilegrid/TileGrid.js#L634 ```js getZForResolution(resolution, opt_direction) { const z = linearFindNearest( this.resolutions_, resolution, opt_direction || 0, ); return clamp(z, this.minZoom, this.maxZoom); } ``` This method is based on the `this.resolutions_` list of grid resolutions. The index of the resolution closest to that in parameter is then set to the min or max zoom value. So if `this.resolutions_` contains 24 values but maxZoom is 19, then when the map is at levels 20, 21, 22, 23 and 24, the grid will limit queries to zoom 19. Funded by FM Projet
Generic method to build scales based on options config.
Fixing tiles resolutions
* Native EPSG:3857 scales * Tiles resolutions
…yers Fix JS XYZ Grid Tile and Tests e2e playwrigth: enhancing base layers tests
…` event. In this case we run permalink
In some project the WMS Extent property of the project is empty. Funded by SETEC
Fix Project properties WMS Extent empty
Update attribute table project and e2e test to check table column order based on QGIS attribute table config.
Tests : Attribute Table config
Fix: allow tiled wms when `singleTile` is `false` and layer is not ca…
Tests - Improve Playwright helper to load a project with error
Show Lizmap modules infos
Tests - Add E2E test about user defined JavaScript warning
* fix typo, improve html for module view * declare Url repositoryAdmin liz global lizUrl * plugin homepage must be non empty to do a link * fix end2end modules line count
form-select
class to <select>a45e995
to
1398917
Compare
The Lizmap project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 2 months and is being automatically marked as "stale". |
The Lizmap project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 2 months and is being automatically marked as "stale". |
Funded by 3Liz