Get the index of the layer having the specified name, or -1 if no such layer exists.
(String name)
| 45 | |
| 46 | /** Get the index of the layer having the specified name, or -1 if no such layer exists. */ |
| 47 | public int getIndex (String name) { |
| 48 | return getIndex(get(name)); |
| 49 | } |
| 50 | |
| 51 | /** Get the index of the layer in the collection, or -1 if no such layer exists. */ |
| 52 | public int getIndex (MapLayer layer) { |