[mapguide-users] Upgrading MaestroAPI

Gunter Becker gunter.becker at csogis.de
Tue Nov 22 05:23:29 EST 2011


Hi, 

I try to upgrade my code from MaestroAPI (2.x) to the latest MaestroAPI
(4.0). 
I'm missing some methods/properties. In the former MaestroAPI the following
was possible

MapLayerTypeCollection mapDefLayerColl = mapDef.Layers;
MapLayerGroupTypeCollection mapDefLayerGroupColl = mapDef.LayerGroups;

I've seen that there are now methods like GetLayersForGroup or
GetLayersWithoutGroup, so that with iteration over the Groups collection and
using these method I can get the collection of all layers by myself. 

But I would prefer to have also a methode GetLayers (or a property Layers)
that returns all Layers. Is there any reason that there is no such method?

Thanks, Gunter

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Upgrading-MaestroAPI-tp7019938p7019938.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list