Opened 13 years ago

Closed 13 years ago

#1851 closed enhancement (duplicate)

Allow runtime layer/group access by name through specialized collections

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

Description

In Maestro 2.1, such code was possible

map.Layers["Parcels"]

or

map.Groups["Base Layer Group"]

This was due to the Layers and Groups properties being specialized collections.

In the move to 3.0, this pattern was no longer possible. Accessing layers by name now requires a full loop through the layers collection.

This ticket will reinstate the specialized layer/group collections making the above code pattern once again possible.

Change History (1)

comment:1 by jng, 13 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #1852

Note: See TracTickets for help on using tickets.