Opened 12 years ago

Closed 12 years ago

#2148 closed enhancement (fixed)

MaestroAPI: change AddLayer methode of MapDefinition

Reported by: gBecker Owned by: jng
Priority: low Milestone: Maestro-5.0
Component: Maestro Version: 2.4.0
Severity: trivial Keywords:
Cc: External ID:

Description

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)

Change History (1)

comment:1 by jng, 12 years ago

Resolution: fixed
Status: newclosed

Fixed r7171

Note: See TracTickets for help on using tickets.