enricofer / go2streetview

22 stars 22 forks source link

Add the possibility to diminish the resolution #64

Open giliam opened 2 years ago

giliam commented 2 years ago

Just suggesting to add a small parameter in the LicenseDialog to input the zoom to use. This diminishes or increases the resolution of the google street map panorama displayed.

enricofer commented 2 years ago

Hi I'm testing your PR. The new parameter basically scales UI widgets on webview. Even if this could be useful in some very limited situations (I'm thinking to big size web dialog for presentations", I fear that it is not a feature a bit counter intuitive (for example bigger values cause coarse images ) and self explaining (what is the use case?) So I would propose to remove from licence dialog and transform the parameter to a QgsApplication variable.

giliam commented 2 years ago

I do agree on the counter intuitive part. I can explain my use case: I was using it a lot with a wide screen and the loading time was too big (because of the quality required). "Zooming" like I did lead to lower quality pictures thus faster loading time. Maybe is there another fix but it was the quickest solution I could find.