[mapguide-users] MapGuide 4.0 Beta 1

Patrik Johansson mapguide at morkl.se
Fri Apr 7 04:57:34 PDT 2023


 Hi,

This problem occurs when there are layers in the map with Show In Legend =
false. It tries to hide the layers in the legend but fails when there's
nothing to hide.

A patch for Web\www\fusion\widgets\Legend.js is attached.

After applying the change, I rebuilt fusionSF-compressed.js using the tools
and instructions from here:
https://trac.osgeo.org/mapguide/wiki/Release/3.1.2/Notes#Fusionbuildtools
The generated file looks right to me, so it seems like those scripts still
work for this version.

Best regards,
Patrik Johansson

On Fri, Apr 7, 2023 at 1:01 PM Dan Nilsson <Dan.Nilsson at tyrens.se> wrote:

> Hi!
>
>
> Test with MapGuide OpenSource 4.0 Beta 1 on my virtual machine (Windows 11 x64).
>
> Configured with IIS and using .Net.
>
>
> MapGuide version: 4.0.0.10048
>
> I get this error when I open my map.
>
> Number of layers: 1033 (and it's growing...)
>
>
>
> If I reduce number of layers it works fine without any error:
>
>
>
> Med vänlig hälsning
>
> *Dan Nilsson *
> Projektledare
> ------------------------------
>
>
> Box 27
> 291 21 Kristianstad
> Besök: Östra Boulevarden 56
> Tel vx 010 452 20 00
> Direkt 010-452 27 18 Mob 070-750 17 01
> www.tyrens.se
>
> <http://www.facebook.com/tyrensab>  <https://twitter.com/tyrens_ab>
> <http://www.linkedin.com/company/tyrens-ab>
> <https://www.instagram.com/tyrens_ab/>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20230407/938edcf6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fusion_legend_hideemptygroup.patch
Type: application/octet-stream
Size: 477 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20230407/938edcf6/attachment.obj>


More information about the mapguide-users mailing list