[mapguide-users] Filter features in the viewer

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Wed May 20 03:03:24 EDT 2009


You must set the filter on the RuntimeLayer, not the LayerDefinition.
Also, look in the server log for clues.
There is a quirk in MapGuide, that it will render the entire layer 
without filters, if the filter fails.
I'm not sure you get a log message in that case, but start out with a 
simple filter like:
ID = 3

Regards, Kenneth Skovhede, GEOGRAF A/S



Vittorio Ricchiuto skrev:
>
> Hi,
>
>  
>
> I would filter features in the viewer, how can I do? I filter with the 
> web API by SetFilter, but I do not see the effect on the map 
> although I refresh the map.
>
>  
>
> Thank you for your help.
>
>  
>
> Vittorio.
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20090520/f92d4f68/attachment.html


More information about the mapguide-users mailing list