[mapguide-users] Legend and runtime Layer filter
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Mon Mar 23 04:36:15 EDT 2009
Could you just send the filter you are applying?
Regards, Kenneth Skovhede, GEOGRAF A/S
Matteo skrev:
> Hi Kenneth,
> I read with more attention the bug description and there are some
> differences with my problem. In the bug description I read the the problem
> occurs when the check "Display in legend" is set to false. Now I have try to
> set layer visibily and "Display in legend" to true but I have the same
> result.
>
> I think that the problem is the runtime filter.
> If you want to see my code I have a ASP.NET test project to reproduce then
> problem.
>
> Regards,
> Matteo
>
>
>
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>
>> Yes, but since the bug is not yet fixed, it is also present in 2.0.2.
>>
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>>
>> Matteo skrev:
>>
>>> Hi,
>>> thanks for the answer. The bug is about 1.2 version of mapguide but i
>>> work
>>> with 2.0.2 version.
>>> Regards, Matteo
>>>
>>>
>>>
>>> Kenneth Skovhede, GEOGRAF A/S wrote:
>>>
>>>
>>>> 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
>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> mapguide-users mailing list
>>>> mapguide-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090323/e5fc8190/attachment.html
More information about the mapguide-users
mailing list