lizmap-web-client icon indicating copy to clipboard operation
lizmap-web-client copied to clipboard

weird zoom behavior - zoom stops at 14076 value in the scale

Open josemvm opened this issue 2 years ago • 11 comments

What is the bug?

zoom stops at 14076 value in the scale!

lizmap_

in all my project (projection 3763) the map scales are different between 3.4 and 3.5 lwc versions

3.4 - 3.5

141 - ??? 282 - ??? 564 - ??? 1128 - ??? 2257 - ??? 4514 - ??? 9028 - ??? 18056 - 14076 - zoom STOPs here 36112 - 28152 72224 - 56304 144448 - 112608 288895 - 225217 577791 - 450433

Steps to reproduce the issue

try a deep zoom by rectangule over visible features, and zoom in, zoom in... or try from initial map extent zoom in, zoom in, zoom in, ...

i can provide an url if you want to inspect this weird zoom behavior

thanks

Versions

Lizmap Web Client : 3.5.3 Lizmap plugin : 3.7.7 QGIS Desktop : 3.22.6

QGIS server version, only if the section above doesn't mention the QGIS Server version

3.22.6

Operating system

Ubuntu 20.04

Browsers

Firefox

Browsers version

99.0.1

Relevant log output

No response

josemvm avatar May 02 '22 20:05 josemvm

Hi,

I confirm a similar behavior.

zoom stops at 957 with epsg 3857

Versions Lizmap Web Client : 3.5.3 Lizmap plugin : 3.7.7 QGIS Desktop : 3.22.6

QGIS server version, only if the section above doesn't mention the QGIS Server version 3.22.6

Operating system Ubuntu 20.04

geographit avatar Jun 07 '22 15:06 geographit

Can you provide a link to the bug ? Is there a background layer ?

rldhont avatar Jun 07 '22 16:06 rldhont

For info, I have this bug on lizmap 3.5.1 too.

geographit avatar Jun 09 '22 01:06 geographit

@rldhont , yes I have got a background layer allowing deeper zoom level.

geographit avatar Jun 09 '22 01:06 geographit

hi this happens if the user has a startupBaselayer such as google-terrain, which allows a maximum zoom at 14076 value the user can change the base layer to another map and can do zoom in but the zoom value stops at 14076

josemvm avatar Jun 12 '22 18:06 josemvm

This issue is missing some feedbacks. 👻 Please have a look to the discussion, thanks. 🦎

3liz-bot avatar Jul 15 '22 04:07 3liz-bot

This issue is missing some feedbacks. 👻 Please have a look to the discussion, thanks. 🦎

3liz-bot avatar Aug 19 '22 04:08 3liz-bot

this happens if the user has a startupBaselayer such as google-terrain, which allows a maximum zoom at 14076 value the user can change the base layer to another map and can do zoom in but the zoom value stops at 14076

this still happens

josemvm avatar Aug 20 '22 17:08 josemvm

This issue is missing some feedbacks. 👻 Please have a look to the discussion, thanks. 🦎

3liz-bot avatar Sep 20 '22 05:09 3liz-bot

please can someone test it?

josemvm avatar Sep 20 '22 08:09 josemvm

@rldhont sorry, i didn't see this message Can you provide a link to the bug ? yes of course, i can provide an url for you

josemvm avatar Sep 23 '22 14:09 josemvm

@rldhont can you check it, please? thanks

josemvm avatar Oct 18 '22 19:10 josemvm

@josemvm I just try it with release_3_6 and base_layers project provided in tests update with:

  • mapScales from 500 to 500000
  • startupBaselayer as ign-plan which is limited to 4514

I have no issue.

rldhont avatar Nov 03 '22 10:11 rldhont

thanks @rldhont :-)

josemvm avatar Nov 17 '22 15:11 josemvm