[mapguide-users] RE: Filtering layers in php application

Chris Claydon chris.claydon at autodesk.com
Fri Jan 30 11:48:45 EST 2009


In the web tier API, the MgMap object has a GetLayerGroups() method that should allow you to determine the list of layer groups. Building a UI for selecting a group would probably be very similar to the existing layer filter. MgLayer has a GetGroup() method that would allow you to determine if a given layer is in the group that you want.

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Arnaud De Groof
Sent: Friday, January 30, 2009 6:00 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Filtering layers in php application

Hi,

I want to customize different applications from the "phpviewersample" like "Theme layer" and "Query". In fact, my layout includes an important quantity of layers and these two applications are not pertinent for all the layers (and features). So, is it possible to limit the layers (features) visible for these applications? Moreover, is it also possible to specify a map layer group?

Thanks.

Arnaud De Groof
________________________________
E-MAIL DISCLAIMER

The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden.

SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free.
Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail.

SPACEBEL denies all liability where E-mail is used for private use.

SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system.

________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090130/81827ff5/attachment.html


More information about the mapguide-users mailing list