[mapguide-users] RE: Maestro API - Layer filter
Kevin Pelgrims
Kevin.Pelgrims at realdolmen.com
Wed Aug 31 09:16:54 EDT 2011
Okay, after some extensive Googling, I found this: http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/Maestro3ApiComparisons
So I'm sure the page is not updated. I tried to convert everything to the new version of the API, but I can't get it to work. Any help from the Meastro API people?
Regards,
Kevin
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kevin Pelgrims
Sent: woensdag 31 augustus 2011 12:06
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Maestro API - Layer filter
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/1e1d2f17/attachment.html
More information about the mapguide-users
mailing list