[mapguide-users] Maestro API - Layer filter

Kevin Pelgrims Kevin.Pelgrims at realdolmen.com
Wed Aug 31 06:05:31 EDT 2011


Hi list,

I have to modify a layer filter at runtime and noticed the Maestro API should make this a lot easier.
I found this page: http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/ModifyLayerFilter

As I work in C# I translated the code and tried to get it to work, but it seems that page is outdated or wrong somehow.

RuntimeClasses does not seem to exist, but I did find the RuntimeMap class in the Mapping namespace. So I converted to that.
IServerConnection doesn't seem to have the methods GetRuntimeMap, GetLayerDefinition, SaveResourceAs and SaveRuntimeMap.
I found out (in the .chm) that the SaveResourceAs method can be found elsewhere, but I have no idea what to do with the rest.

I guess that page with the sample is outdated? And if so, is there a better resource for this?

Regards,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110831/d245c3ad/attachment.html


More information about the mapguide-users mailing list