[mapguide-users] Legend and runtime Layer filter

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Sat Jan 31 11:28:24 EST 2009


That is unfortunately a long standing bug:
http://trac.osgeo.org/mapguide/ticket/167

You must manually itterate all layers in the layerdefinition,
and add the information to the runtime map after startup.

Regards, Kenneth Skovhede, GEOGRAF A/S



Matteo skrev:
> Hi All,
>   I have some Layer Groups that are hidden when Map is load. When I active
> the layer group I apply a filter runtime (change the layerdefinition of the
> layers) to the Layers of group, set the legend visibility of group at true,
> and refresh the map. I see the objects in the map but I don't see the group
> in the legend.
> If I don't set a filter to the layers I see the group in the legend. 
> Why?
> Can you help me?
>
> Thanks
> Matteo 
>   


More information about the mapguide-users mailing list