[Lizmap] Comparison of Lizmap 3.6.10 and 3.7.3 Speed and display

Arnaud Vandecasteele arnaud.sig at gmail.com
Mon Feb 12 23:09:12 PST 2024


Hi,

Thanks for the explanation.

I haven't notice any speed problems on my side. But the map display is
definitively less smoother than before. It appears like a blink where
before it used to keep the previous tiles and then load them.

To close all the groups you can use this javascript. The version on github
does not work anymore. I will push this version soon :

lizMap.events.on({
     uicreated: () => {
         setTimeout(() => {
              $('.expanded').click()
          }, "0");
     }
});

I don't know why, but without the setTimeout this will not work. So I added
this timeout with a 0 delay.

Regards,

Arnaud

On Tue, Feb 13, 2024 at 10:33 AM G. Wagner, Wagner-IT <info at wagner-it.de>
wrote:

> Supplement, it is also documented under [2]:
>
> „use a QGIS theme and the checkbox at the "Layers" tab in the plugin“
>
>
>
> *Von:* G. Wagner, Wagner-IT <info at wagner-it.de>
> *Gesendet:* Dienstag, 13. Februar 2024 07:29
> *An:* 'Arnaud Vandecasteele' <arnaud.sig at gmail.com>
> *Cc:* 'lizmap at lists.osgeo.org' <lizmap at lists.osgeo.org>
> *Betreff:* AW: [Lizmap] Comparison of Lizmap 3.6.10 and 3.7.3 Speed and
> display
>
>
>
> Hi Arnaud,
>
>
>
> this is not a setting in the plugin, it simply works if you use the QGIS
> themes :)
>
>
>
> Just as the layer settings in QGIS are saved in the respective theme, so
> is the display in Lizmap in the corresponding theme. The first theme (I
> assume alphabetical) can then be activated in the plugin explitzit in the
> plugin („Activate first map theme on startup“ in Layers).
>
> For me [1] this is " Standard". The "Aerial images" group is open for the
> "DOP 2021" topic.
>
> Unfortunately, this does not (yet?) work with the legend display.
>
>
>
> The QGIS themes are great. I once had a separate window programmed for
> this as a "ThemeSelector" plugin by Werner Macho.
>
>
>
> I can't say whether this is documented with the themes and groups. My
> English is very poor and when translating with Deepl & Co. things always
> get lost.
>
> But the earlier javascripts for closing groups are no longer intended for
> version 3.7 [2] and so I looked for an alternative. The Javascript was
> always too time-consuming for me and didn't work properly (so I always
> closed all groups).
>
>
>
> Can you confirm my speed observations?
>
>
>
> Greetings
>
>
>
> Günter
>
>
>
>
>
> [1] https://stadt-herbolzheim7.webgis.biz/
>
> [2] https://github.com/3liz/lizmap-javascript-scripts (UI)
>
>
>
>
>
> *WAGNER-*IT
>
> Ingenieurbüro für Geoinformatik
>
> Günter Wagner
> Carl-Orff-Weg 7
> 79312 Emmendingen
> Tel.:  07641/9621668
> Fax:  07641/915599
> www.wagner-it.de
>
>
>
> *Von:* Arnaud Vandecasteele <arnaud.sig at gmail.com>
> *Gesendet:* Dienstag, 13. Februar 2024 06:31
> *An:* G. Wagner, Wagner-IT <info at wagner-it.de>
> *Cc:* lizmap at lists.osgeo.org
> *Betreff:* Re: [Lizmap] Comparison of Lizmap 3.6.10 and 3.7.3 Speed and
> display
>
>
>
> Hi,
>
>
>
> Not directly related to your post. But I was interested by the new
> functionality you described "controls the settings for groups (open /
> closed) via the QGIS themes.".
>
> But I can't find where it's located in the lizmap plugin. Could you please
> tell me where it is ?
>
> I'm migrating to the 3.7, and I can assure you that this version brings a
> lot of new cool features :)
>
> Regards,
>
> Arnaud
>
>
>
> On Mon, Feb 12, 2024 at 10:30 PM G. Wagner, Wagner-IT via Lizmap <
> lizmap at lists.osgeo.org> wrote:
>
> Hi,
>
>
>
> I actually wanted to stick with version 3.6.x for the time being. It runs
> very stably and I didn't want to burden the (simple) users with the changed
> print function of 3.7.
>
>
>
> But then I realised that 3.7 controls the settings for groups (open /
> closed) via the QGIS themes. That's brilliant and something I've always
> been waiting for. It also works well.
>
> However, there are also displays that I find rather confusing (for the
> user).
>
>
>
> There is a legend image in front of the layer name. This also appears if
> "Disable the legend image" has been selected in the plugin (see "
> Flurstücksinformation" under [1])
>
> Can this legend be suppressed?
>
> I would like to see a display as before under 3.6.10 [2].
>
>
>
> The real disadvantage of 3.7.3 [1] compared to 3.6.10 [2], however, is the
> (subjectively perceived) speed at which the image is built up.
>
> This may also be due to the fact that the symbols for building up an image
> layer have long since disappeared but the image is still not displayed
> completely.
>
> Is this known and will it possibly get even better?
>
>
>
> I am also unable to display the legend of (my own) WMS service
> („ALKIS-Daten 30.11.2023“, „Gebäudeschraffuren“). In the QGIS themes they
> are saved as open.
>
>
>
> And there is probably a small bug in 3.7.3:
>
> The checkbox "Hide checkboxes for groups" (under Layers) has no function
> in my opinion. It is active but the checkboxes for groups are displayed [1]
>
> Should I describe it on Github?
>
>
>
> The projects are identical (only saved in the plugin for the respective
> version). They run on the same server (Ubuntu 20.04.6 LTS with QGIS server
> 3.22.16).
>
> QGIS-Desktop 3.22.16 with Lizmap-Plugin 4.2.0
>
> Lizmap server plugin 2.8.4
>
>
>
> [1]  https://stadt-herbolzheim7.webgis.biz
>
> [2]  https://stadt-herbolzheim.webgis.biz
>
>
>
> Greetings
>
>
>
>
>
> *WAGNER-*IT
>
> Ingenieurbüro für Geoinformatik
>
> Günter Wagner
> Carl-Orff-Weg 7
> 79312 Emmendingen
> Tel.:  07641/9621668
> Fax:  07641/915599
> www.wagner-it.de
>
> _______________________________________________
> Lizmap mailing list
> Lizmap at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/lizmap
>
>
>
> --
>
> --------------------------------------------------------------------
> Arnaud Vandecasteele
>


-- 
--------------------------------------------------------------------
Arnaud Vandecasteele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20240213/ad9feb11/attachment-0001.htm>


More information about the Lizmap mailing list