[Mapguide-trac] [mapguide-trac] #2148: MaestroAPI: change AddLayer methode of MapDefinition
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Oct 15 02:39:11 PDT 2012
#2148: MaestroAPI: change AddLayer methode of MapDefinition
---------------------------+------------------------------------------------
Reporter: gBecker | Owner: jng
Type: enhancement | Status: new
Priority: low | Milestone: Maestro-5.0
Component: Maestro | Version: 2.4.0
Severity: trivial | Keywords:
External_id: |
---------------------------+------------------------------------------------
Jackie, due to ticket #1941 you changed the AddLayer methode of the
MapDefinition class. I think that in most classes of the .NET Framework
adding an object to a collection means to append this object at the end
of the collection. For new users of the MaestroAPI this could cause some
trouble
So, wouldn't it be a better approach to make another InsertLayer methode
for the case of #1941:
public IMapLayer InsertLayer(int idx, string groupName, string layerName,
string resourceId)
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2148>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list