MapLayer layer = (MapLayer)layers.remove(index); return layer;
return (MapLayer)layers.remove(index);
    public MapLayer removeLayer(int index) {        MapLayer layer = (MapLayer)layers.remove(index);        return layer;    }