Hi!

Thanks a lot for your help, Patrik!

After the change of Legend.js and and creating a updated 
fusionSF-compressed.js, I'm able to load the full map with 1033 layers withot 
any error!



Med vänlig hälsning

Dan Nilsson
Projektledare
________________________________
[http://www.tyrens.se/media/2521/tyrens_tm.png]

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.tyrens.se/>

[http://www.tyrens.se/media/2021/facebook.png]<http://www.facebook.com/tyrensab>
  [http://www.tyrens.se/media/2019/twitter.png] <https://twitter.com/tyrens_ab> 
  [http://www.tyrens.se/media/2020/linkedin.png] 
<http://www.linkedin.com/company/tyrens-ab>   
[http://www.tyrens.se/media/2022/instagram.png] 
<https://www.instagram.com/tyrens_ab/>
________________________________
Från: mapguide-users <mapguide-users-boun...@lists.osgeo.org> för Patrik 
Johansson <mapgu...@morkl.se>
Skickat: den 7 april 2023 13:57
Till: MapGuide Users Mail List <mapguide-users@lists.osgeo.org>
Ämne: Re: [mapguide-users] MapGuide 4.0 Beta 1

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender. Report if suspicious.

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.nils...@tyrens.se<mailto:dan.nils...@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
________________________________
[X]

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.tyrens.se/>

[X]<http://www.facebook.com/tyrensab>  [X] <https://twitter.com/tyrens_ab>   
[X] <http://www.linkedin.com/company/tyrens-ab>   [X] 
<https://www.instagram.com/tyrens_ab/>
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org<mailto:mapguide-users@lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to